2010-05-22 04:47:15 +00:00
|
|
|
class CAudio
|
|
|
|
{
|
2008-09-18 03:15:49 +00:00
|
|
|
public:
|
2010-05-22 04:47:15 +00:00
|
|
|
CAudio (void);
|
2010-06-14 21:14:58 +00:00
|
|
|
~CAudio (void);
|
2008-09-18 03:15:49 +00:00
|
|
|
|
2010-06-14 21:14:58 +00:00
|
|
|
DWORD GetLength ( void );
|
|
|
|
DWORD GetStatus ( void );
|
|
|
|
void LenChanged ( void );
|
|
|
|
void TimerDone ( void );
|
|
|
|
void Reset ( void );
|
|
|
|
void SetViIntr ( DWORD VI_INTR_TIME );
|
|
|
|
|
|
|
|
/* void AiCallBack ( void );
|
2010-05-22 04:47:15 +00:00
|
|
|
void AiSetFrequency ( DWORD Dacrate, DWORD System );
|
|
|
|
void UpdateAudioTimer ( DWORD CountsPerFrame );
|
2010-06-14 21:14:58 +00:00
|
|
|
*/
|
2010-05-22 04:47:15 +00:00
|
|
|
private:
|
2010-06-14 21:14:58 +00:00
|
|
|
DWORD m_CurrentLength;
|
|
|
|
DWORD m_SecondBuff;
|
|
|
|
DWORD m_Status;
|
|
|
|
double m_CountsPerByte;
|
|
|
|
|
|
|
|
/* float m_VSyncTiming;
|
2010-05-22 04:47:15 +00:00
|
|
|
double m_FramesPerSecond;
|
|
|
|
DWORD m_BytesPerSecond;
|
|
|
|
DWORD m_Length;
|
|
|
|
DWORD m_CurrentCount;
|
2010-06-14 21:14:58 +00:00
|
|
|
DWORD m_IntScheduled;*/
|
2010-05-22 04:47:15 +00:00
|
|
|
};
|