Logo Search packages:      
Sourcecode: pwlib version File versions

PSoundChannel::PSoundChannel ( const PString device,
Directions  dir,
unsigned  numChannels = 1,
unsigned  sampleRate = 8000,
unsigned  bitsPerSample = 16 

Create a sound channel. Create a reference to the sound drivers for the platform.

device  Name of sound driver/device
dir  Sound I/O direction
numChannels  Number of channels eg mono/stereo
sampleRate  Samples per second
bitsPerSample  Number of bits per sample

Definition at line 191 of file sound.cxx.

References Open().

  baseChannel = NULL;
  Open(device, dir, numChannels, sampleRate, bitsPerSample);

Generated by  Doxygen 1.6.0   Back to index