#include <media/dummysound.h>
Public Member Functions | |
dummy_sound_rep (const char *filename=0) | |
Construct from a sound file (but all we do is see if the file exists). | |
virtual void | play () |
Play the sound (but this is a no-op for DummySound). | |
Static Protected Member Functions | |
static void | check_filename (const char *filename) |
Checks that the filename points to a readable file. |
Definition at line 44 of file dummysound.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 dummy_sound_rep(), and media::esd_sound_rep::esd_sound_rep().