1al_set_audio_stream_pan(3) Library Functions Manual al_set_audio_stream_pan(3)
2
3
4
6 al_set_audio_stream_pan
7
9 #include <allegro5/allegro_audio.h>
10
11 bool al_set_audio_stream_pan(ALLEGRO_AUDIO_STREAM *stream, float val)
12
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
22 al_get_audio_stream_playing(3).
23
24
25
26Allegro reference manual al_set_audio_stream_pan(3)