#include <soundoutput.h>
Implementation | |
| class | CL_SoundBuffer |
| class | CL_Sound |
| class | CL_SoundBuffer_Session |
Public Member Functions | |
Construction | |
| CL_SoundOutput () | |
| Constructs a sound output object. | |
| CL_SoundOutput (int mixing_frequency, int latency=50) | |
| Constructs a SoundOutput. | |
| CL_SoundOutput (const CL_SoundOutput_Description &desc) | |
| Constructs a SoundOutput. | |
| CL_SoundOutput (const CL_SoundOutput ©) | |
| Constructs a SoundOutput. | |
| virtual | ~CL_SoundOutput () |
Attributes | |
| const CL_String8 & | get_name () const |
| Name of the output device. | |
| int | get_mixing_frequency () const |
| Returns the mixing frequency for the sound output device. | |
| int | get_mixing_latency () const |
| Returns the mixing latency in milliseconds. | |
| float | get_global_volume () const |
| Returns the main volume of the sound output. | |
| float | get_global_pan () const |
| Returns the main panning position of the sound output. | |
Operations | |
| void | stop_all () |
| Stops all sample playbacks on the sound output. | |
| void | set_global_volume (float volume) |
| Sets the main/mixer volume on the sound output. | |
| void | set_global_pan (float pan) |
| Sets the main panning position on the sound output. | |
| void | add_filter (CL_SoundFilter &filter) |
| Adds the sound filter to the sound output. | |
| void | remove_filter (CL_SoundFilter &filter) |
| Remove the sound filter from the session. | |
CL_SoundOutput is the interface to a sound output device. It is used to control the main mixer volume and other global settings.
|
|
Constructs a sound output object.
|
|
||||||||||||
|
Constructs a SoundOutput.
|
|
|
Constructs a SoundOutput.
|
|
|
Constructs a SoundOutput.
|
|
|
|
|
|
Adds the sound filter to the sound output.
|
|
|
Returns the main panning position of the sound output.
|
|
|
Returns the main volume of the sound output.
|
|
|
Returns the mixing frequency for the sound output device.
|
|
|
Returns the mixing latency in milliseconds.
|
|
|
Name of the output device.
|
|
|
Remove the sound filter from the session.
|
|
|
Sets the main panning position on the sound output.
|
|
|
Sets the main/mixer volume on the sound output.
|
|
|
Stops all sample playbacks on the sound output.
|
|
|
|
|
|
|
|
|
|
1.4.6