CLAM-Development  1.4.0
Public Member Functions | Public Attributes
CLAM::AudioDevice::TInfo Struct Reference

This class is used to respond to device information request using the GetInfo method. More...

#include <AudioDevice.hxx>

List of all members.

Public Member Functions

 TInfo ()
 Base constructor, calls to Reset method to clear all the values.
void Reset ()
 Clear all the values of object, setting strings mName and mArch to "" and integer values mNChannels, mSampleRate and mNotifySize to 0.

Public Attributes

std::string mName
std::string mArch
int mNReadChannels
 Number of used Read channels.
int mNWriteChannels
 Number of used Write channels.
int mNChannels
 Number of channels configured in the PCM device.
int mSampleRate
unsigned int mNotifySize

Detailed Description

This class is used to respond to device information request using the GetInfo method.

Definition at line 48 of file AudioDevice.hxx.


Constructor & Destructor Documentation

CLAM::AudioDevice::TInfo::TInfo ( )
inline

Base constructor, calls to Reset method to clear all the values.

Definition at line 64 of file AudioDevice.hxx.

References Reset().


Member Function Documentation

void CLAM::AudioDevice::TInfo::Reset ( void  )
inline

Clear all the values of object, setting strings mName and mArch to "" and integer values mNChannels, mSampleRate and mNotifySize to 0.

Definition at line 68 of file AudioDevice.hxx.

References mArch, mName, mNChannels, mNotifySize, mNReadChannels, mNWriteChannels, and mSampleRate.

Referenced by CLAM::AudioIn::GetDeviceInfo(), CLAM::AudioOut::GetDeviceInfo(), and TInfo().


Member Data Documentation

std::string CLAM::AudioDevice::TInfo::mArch

Definition at line 51 of file AudioDevice.hxx.

Referenced by Reset().

std::string CLAM::AudioDevice::TInfo::mName

Definition at line 50 of file AudioDevice.hxx.

Referenced by CLAM::AudioDevice::GetInfo(), and Reset().

int CLAM::AudioDevice::TInfo::mNChannels

Number of channels configured in the PCM device.

max( mNReadChannels , mNWriteChannels)

Definition at line 59 of file AudioDevice.hxx.

Referenced by CLAM::AudioDevice::GetInfo(), and Reset().

unsigned int CLAM::AudioDevice::TInfo::mNotifySize

Definition at line 61 of file AudioDevice.hxx.

Referenced by Reset().

int CLAM::AudioDevice::TInfo::mNReadChannels

Number of used Read channels.

Definition at line 53 of file AudioDevice.hxx.

Referenced by CLAM::AudioDevice::GetInfo(), and Reset().

int CLAM::AudioDevice::TInfo::mNWriteChannels

Number of used Write channels.

Definition at line 55 of file AudioDevice.hxx.

Referenced by CLAM::AudioDevice::GetInfo(), and Reset().

int CLAM::AudioDevice::TInfo::mSampleRate

Definition at line 60 of file AudioDevice.hxx.

Referenced by CLAM::AudioDevice::GetInfo(), and Reset().


The documentation for this struct was generated from the following file: