Old fashion design for PC-104
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright � 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: LgWaveFile.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of LgWaveFile.h
//----------------------------------------------------------------------------
#ifndef __LG__WAVE__FILE__H__INCLUDED__
#define __LG__WAVE__FILE__H__INCLUDED__
#if _MSC_VER > 1000
#pragma once
#endif
class CLgWaveFile{public: CLgWaveFile(); virtual ~CLgWaveFile();
public: BOOL Load( LPCTSTR pFileName ); void Destroy();
public: BOOL ConvertToPCM();
public: LPWAVEFORMATEX GetFormat() { return m_pWaveFormatEx; } LPSTR GetData() { return m_pWaveData; } INT GetDataLength() { return m_nWaveDataLength; }
private: static void CALLBACK StreamConvertCallback( HACMSTREAM has, UINT uMsg, DWORD dwInstance, LPARAM lParam1, LPARAM lParam2 );
private: LPWAVEFORMATEX m_pWaveFormatEx; LPSTR m_pWaveData; INT m_nWaveDataLength;};
#endif
|