30 #ifndef PTLIB_PWAVFILEDEV_H
31 #define PTLIB_PWAVFILEDEV_H
42 #if defined(P_WAVFILE)
54 PSoundChannel_WAVFile();
55 ~PSoundChannel_WAVFile();
59 virtual bool Open(
const Params & params);
65 virtual bool RawWrite(
const void * data, PINDEX size);
66 virtual bool RawRead(
void * data, PINDEX size);
73 #endif // defined(P_WAVFILE)
75 #endif // PTLIB_PWAVFILEDEV_H
virtual bool RawWrite(const void *data, PINDEX size)
#define PCLASSINFO(cls, par)
Declare all the standard PTLib class information.
Definition: object.h:2164
virtual PString GetName() const
Get the name of the channel.
virtual bool Open(const Params ¶ms)
Open the specified device for playing or recording.
virtual bool RawRead(void *data, PINDEX size)
virtual PBoolean IsOpen() const
Determine if the channel is currently open and read and write operations can be executed on it...
This is an array collection class of PString objects.
Definition: pstring.h:2365
virtual PBoolean Close()
Close the channel.
bool PBoolean
Definition: object.h:174
The character string class.
Definition: pstring.h:108
static PStringArray GetDeviceNames(const PString &driverName, Directions direction, PPluginManager *pluginMgr=NULL)
Definition: sound.h:354