media::sound_rep Class Reference

sound_rep is provides a trivial platform-independent sound interface. More...

#include <media/soundrep.h>

Inheritance diagram for media::sound_rep:

Inheritance graph
[legend]

List of all members.

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.


Detailed Description

sound_rep is provides a trivial platform-independent sound interface.

Different concrete subclasses are defined elsewhere to encapsulate different platform-dependent sound APIs.

Definition at line 43 of file soundrep.h.


Member Function Documentation

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().


The documentation for this class was generated from the following files:

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:56:20 2008 by Doxygen version 1.5.5.