PTLib  Version 2.14.3
 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 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...
 

Macros

#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)

Function Documentation

PCREATE_PLUGIN_DEVICE ( PSoundChannel  )