XLine classes

class CDSP_Thread

? ^ 
    extends { CThread, CThread } as public

Tasking control for a backgorund DSP operation.

This class provides a receptacle for an audio stream. Since it is its own thread, it can provide limited read-time processing.

Source:
DSP_Thread.h:14
Author:
Green Lizard Staff
Version:
1.01

Contents

^ 
EntityInherited FromTypeScopeShort Description
~CDSP_Threaddestructor publicundocumented
CDSP_Threadconstructor publicautomatically generated
CDSP_Threadconstructor publicundocumented
DSP_BufferSizestatic attribute publicundocumented
GetEventmethod publicundocumented
GetRecognitionTimemethod publicundocumented
InitInstancemethod publicThe run time entry and exit point.
MuLawToLinearmethod publicMu law, a telephony standard, to linear PCM.
m_AudioBufferattribute publicundocumented
m_Deltaattribute publicundocumented
m_DownSampleSizeattribute publicundocumented
m_Indexattribute publicundocumented
m_MovingAveragesattribute publicundocumented
m_NoiseFloorattribute publicundocumented
m_NumberOfSampleWindowsattribute publicundocumented
m_RecognitionTimeattribute publicundocumented
m_SamplesPerSecondattribute publicundocumented
m_SampleWindowSizeattribute publicundocumented
m_Stateattribute publicundocumented
operator =operator publicautomatically generated
Statesenum publicundocumented

destructor ~CDSP_Thread

? ^  > 
undocumented
Source:
DSP_Thread.h:34
Code:
public ~ CDSP_Thread ( )

constructor CDSP_Thread

? ^  < > 
automatically generated
Source:
DSP_Thread.h
Code:
public CDSP_Thread ( const CDSP_Thread & )

constructor CDSP_Thread

? ^  < > 
undocumented
Source:
DSP_Thread.h:33
Code:
public CDSP_Thread ( int index )

static attribute DSP_BufferSize

? ^  < > 
undocumented
Source:
DSP_Thread.h:17
Code:
public static const long DSP_BufferSize

method GetEvent

? ^  < > 
undocumented
Source:
DSP_Thread.h:51
Code:
public int GetEvent ( void )

method GetRecognitionTime

? ^  < > 
undocumented
Source:
DSP_Thread.h:50
Code:
public float GetRecognitionTime ( void )

method InitInstance

? ^  < > 
The run time entry and exit point.
Source:
DSP_Thread.h:37
Code:
public BOOL InitInstance ( void )

method MuLawToLinear

? ^  < > 
Mu law, a telephony standard, to linear PCM.

Telephony audio compression typically uses mu-law encoding, where four bits are the sample, and three are an exponent, with a sign bit. For Digital Signal Processing, we prefer a linear Pulse Code Modulation with no "companding" (the compression of the signal described above) so we can detect absolute signal levels without respect to the Signal to Noise ratio.

Source:
DSP_Thread.h:48
Code:
public int MuLawToLinear ( unsigned char ulawbyte )

attribute m_AudioBuffer

? ^  < > 
undocumented
Source:
DSP_Thread.h:21
Code:
public char * m_AudioBuffer

attribute m_Delta

? ^  < > 
undocumented
Source:
DSP_Thread.h:31
Code:
public long m_Delta

attribute m_DownSampleSize

? ^  < > 
undocumented
Source:
DSP_Thread.h:31
Code:
public long m_DownSampleSize

attribute m_Index

? ^  < > 
undocumented
Source:
DSP_Thread.h:22
Code:
public int m_Index

attribute m_MovingAverages

? ^  < > 
undocumented
Source:
DSP_Thread.h:23
Code:
public long * m_MovingAverages

attribute m_NoiseFloor

? ^  < > 
undocumented
Source:
DSP_Thread.h:31
Code:
public long m_NoiseFloor

attribute m_NumberOfSampleWindows

? ^  < > 
undocumented
Source:
DSP_Thread.h:26
Code:
public int m_NumberOfSampleWindows

attribute m_RecognitionTime

? ^  < > 
undocumented
Source:
DSP_Thread.h:24
Code:
public float m_RecognitionTime

attribute m_SamplesPerSecond

? ^  < > 
undocumented
Source:
DSP_Thread.h:31
Code:
public long m_SamplesPerSecond

attribute m_SampleWindowSize

? ^  < > 
undocumented
Source:
DSP_Thread.h:31
Code:
public long m_SampleWindowSize

attribute m_State

? ^  < > 
undocumented
Source:
DSP_Thread.h:19
Code:
public States m_State

operator =

? ^  < > 
automatically generated
Source:
DSP_Thread.h
Code:
public CDSP_Thread & operator = ( const CDSP_Thread & )

enum States

? ^  < > 
undocumented
Source:
DSP_Thread.h:18
Code:
public enum States { Stalled ,
Scanning ,
Matching ,
Silence ,
Recognized ,
Stop }

Created Sun May 14 08:06:43 2006.
This documentation was generated automatically by
ccdoc v08r40 2003/05/15 bin_opt_msvc_MSWin32-x86-multi-thread-4.0.
Click here to submit a bug report or feature request for ccdoc.
Click here to return to the top of the page.