1al_set_audio_stream_pan(3) Library Functions Manual al_set_audio_stream_pan(3)
2
3
4

NAME

6       al_set_audio_stream_pan
7

SYNOPSIS

9              #include <allegro5/allegro_audio.h>
10
11              bool al_set_audio_stream_pan(ALLEGRO_AUDIO_STREAM *stream, float val)
12

DESCRIPTION

14       Set  the pan value on a sample instance.  A value of –1.0 means to play
15       the sample only through the left speaker; +1.0 means only  through  the
16       right speaker; 0.0 means the sample is centre balanced.
17
18       Returns  true  on  success,  false on failure.  Will fail if the sample
19       instance is attached directly to a voice.
20

SEE ALSO

22       al_get_audio_stream_playing(3).
23
24
25
26Allegro reference manual                            al_set_audio_stream_pan(3)
Impressum