PTLib  Version 2.18.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sound.h File Reference
#include <ptlib/plugin.h>
#include <ptlib/pluginmgr.h>
#include <ptclib/delaychan.h>
Include dependency graph for sound.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PSound
 A class representing a sound. More...
 
class  PSoundChannel
 Abstract class for a generalised sound channel, and an implementation of PSoundChannel for old code that is not plugin-aware. More...
 
struct  PSoundChannel::Params
 Parameters for opening a sound channel. More...
 
class  PSoundChannelEmulation
 

Macros

#define PSOUND_PCM16   "PCM-16"
 
#define PCREATE_SOUND_PLUGIN_EX(name, InstanceClass, extra)
 
#define PCREATE_SOUND_PLUGIN(name, InstanceClass)   PCREATE_SOUND_PLUGIN_EX(name, InstanceClass, )
 
#define P_NULL_AUDIO_DEVICE   "NullAudio"
 

Functions

 PCREATE_PLUGIN_DEVICE (PSoundChannel)
 

Macro Definition Documentation

#define P_NULL_AUDIO_DEVICE   "NullAudio"
#define PCREATE_SOUND_PLUGIN (   name,
  InstanceClass 
)    PCREATE_SOUND_PLUGIN_EX(name, InstanceClass, )
#define PCREATE_SOUND_PLUGIN_EX (   name,
  InstanceClass,
  extra 
)
Value:
PCREATE_PLUGIN(name, PSoundChannel, InstanceClass, PPlugin_PSoundChannel, \
virtual PStringArray GetDeviceNames(P_INT_PTR userData) const { return InstanceClass::GetDeviceNames((PSoundChannel::Directions)userData); } \
extra)
#define PCREATE_PLUGIN(...)
Definition: plugin.h:141
Abstract class for a generalised sound channel, and an implementation of PSoundChannel for old code t...
Definition: sound.h:267
This is an array collection class of PString objects.
Definition: pstring.h:2365
intptr_t P_INT_PTR
Definition: object.h:2646
#define PSOUND_PCM16   "PCM-16"

Function Documentation

PCREATE_PLUGIN_DEVICE ( PSoundChannel  )