1al_set_audio_stream_pan(3)                          al_set_audio_stream_pan(3)
2
3
4

NAME

6       al_set_audio_stream_pan - Allegro 5 API
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 an audio stream.  A value of -1.0 means to play
15       the stream only through the left speaker; +1.0 means only  through  the
16       right speaker; 0.0 means the sample is centre balanced.  A special val‐
17       ue ALLEGRO_AUDIO_PAN_NONE(3) disables panning and plays the  stream  at
18       its original level.  This will be louder than a pan value of 0.0.
19
20       Returns  true  on  success,  false  on failure.  Will fail if the audio
21       stream is attached directly to a voice.
22

SEE ALSO

24       al_get_audio_stream_pan(3), ALLEGRO_AUDIO_PAN_NONE(3)
25
26
27
28Allegro reference manual                            al_set_audio_stream_pan(3)
Impressum