#include <media/esdsound.h>
Public Member Functions | |
esd_sound_rep (const char *filename=0) | |
Construct with reference to the named sound file. | |
virtual | ~esd_sound_rep () throw () |
Virtual destructor. | |
virtual void | play () |
Play the sound (in this case using the ESD daemon). | |
Static Protected Member Functions | |
static void | check_filename (const char *filename) |
Checks that the filename points to a readable file. |
Definition at line 56 of file esdsound.h.
void media::sound_rep::check_filename | ( | const char * | filename | ) | [static, protected, inherited] |
Checks that the filename points to a readable file.
Throws an exception in case of any failure.
Definition at line 48 of file soundrep.cc.
References SRC_POS.
Referenced by media::dummy_sound_rep::dummy_sound_rep(), and esd_sound_rep().