#include <renderer.h>
Inheritance diagram for sound_renderer:
Public Methods | |
virtual | ~sound_renderer () |
virtual bool | init (int frequency, bool stereo)=0 |
sound output initialisation | |
virtual bool | write (unsigned short *ptr, int size)=0 |
sound data output | |
virtual bool | stop ()=0 |
stop sound output |
This is the interface for sound output. Only one implementation is available right now : ds_wave_out
Definition at line 38 of file renderer.h.
|
Definition at line 40 of file renderer.h. |
|
sound output initialisation This is called by the mixer when initialisation has to be performed.
Implemented in ds_wave_out. |
|
stop sound output This is called by the mixer when sound output should be stopped.
Implemented in ds_wave_out. |
|
sound data output This is called by the mixer to put data to the output.
Implemented in ds_wave_out. |