#include <media/soundrep.h>
Public Member Functions | |
virtual void | play ()=0 |
Static Protected Member Functions | |
static void | check_filename (const char *filename) |
Checks that the filename points to a readable file. |
Different concrete subclasses are defined elsewhere to encapsulate different platform-dependent sound APIs.
Definition at line 43 of file soundrep.h.
void media::sound_rep::check_filename | ( | const char * | filename | ) | [static, protected] |
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 media::esd_sound_rep::esd_sound_rep().