JunkBox_Win_Lib 1.5.3
|
#include <WinAudioTool.h>
Public Member Functions | |
CWinAudioTool (void) | |
virtual | ~CWinAudioTool (void) |
BOOL | init (void) |
void | free (void) |
IStream * | getIStream (void) |
BOOL | setMediaType (void) |
BOOL | startCapture (void) |
void | stopCapture (void) |
Buffer | getAudioData (void) |
void | getAudioData (Buffer *pbuf) |
BOOL | openOutput (void) |
void | closeOutput (void) |
WAVEFORMATEX | getAudioFormat (void) |
Private Member Functions | |
CWinAudioTool & | operator= (CWinAudioTool &rhs) |
Private Attributes | |
CWinAudioStream * | m_audioStream |
IMediaObject * | m_audioMedia |
IPropertyStore * | m_audioProperty |
IStream * | m_pStream |
Definition at line 40 of file WinAudioTool.h.
CWinAudioTool | ( | void | ) |
Definition at line 17 of file WinAudioTool.cpp.
References CWinAudioTool::init(), CWinAudioTool::m_audioMedia, CWinAudioTool::m_audioProperty, CWinAudioTool::m_audioStream, and CWinAudioTool::m_pStream.
|
virtual |
Definition at line 30 of file WinAudioTool.cpp.
References CWinAudioTool::free().
|
inline |
Definition at line 62 of file WinAudioTool.h.
References CWinAudioStream::closeOutput(), and CWinAudioTool::m_audioStream.
void free | ( | void | ) |
Definition at line 61 of file WinAudioTool.cpp.
References jbxwl::deleteNull(), CWinAudioTool::m_audioMedia, CWinAudioTool::m_audioProperty, CWinAudioTool::m_audioStream, CWinAudioTool::m_pStream, and jbxwl::releaseNull().
Referenced by CWinAudioTool::init(), and CWinAudioTool::~CWinAudioTool().
void getAudioData | ( | Buffer * | pbuf | ) |
Definition at line 101 of file WinAudioTool.cpp.
References CWinAudioTool::m_pStream.
|
inline |
Definition at line 57 of file WinAudioTool.h.
References CWinAudioStream::input(), and CWinAudioTool::m_audioStream.
WAVEFORMATEX getAudioFormat | ( | void | ) |
Definition at line 115 of file WinAudioTool.cpp.
References jbxwl::WinAudioToolBitsPerSample, jbxwl::WinAudioToolChannels, jbxwl::WinAudioToolFormat, and jbxwl::WinAudioToolSamplesPerSec.
Referenced by CWinAudioTool::setMediaType().
|
inline |
BOOL init | ( | void | ) |
Definition at line 41 of file WinAudioTool.cpp.
References CWinAudioTool::free(), CWinAudioTool::m_audioMedia, CWinAudioTool::m_audioStream, CWinAudioTool::m_pStream, CWinAudioStream::QueryInterface(), and CWinAudioTool::setMediaType().
Referenced by CWinAudioTool::CWinAudioTool().
|
inline |
Definition at line 61 of file WinAudioTool.h.
References CWinAudioTool::m_audioStream, and CWinAudioStream::openOutput().
|
inlineprivate |
Definition at line 78 of file WinAudioTool.h.
BOOL setMediaType | ( | void | ) |
Definition at line 72 of file WinAudioTool.cpp.
References CWinAudioTool::getAudioFormat(), CWinAudioTool::m_audioMedia, CWinAudioTool::m_audioStream, CWinAudioTool::m_pStream, and CWinAudioStream::QueryInterface().
Referenced by CWinAudioTool::init().
|
inline |
Definition at line 54 of file WinAudioTool.h.
References CWinAudioTool::m_audioStream, and CWinAudioStream::startCapture().
|
inline |
Definition at line 55 of file WinAudioTool.h.
References CWinAudioTool::m_audioStream, and CWinAudioStream::stopCapture().
|
private |
Definition at line 72 of file WinAudioTool.h.
Referenced by CWinAudioTool::CWinAudioTool(), CWinAudioTool::free(), CWinAudioTool::init(), and CWinAudioTool::setMediaType().
|
private |
Definition at line 73 of file WinAudioTool.h.
Referenced by CWinAudioTool::CWinAudioTool(), and CWinAudioTool::free().
|
private |
Definition at line 70 of file WinAudioTool.h.
Referenced by CWinAudioTool::closeOutput(), CWinAudioTool::CWinAudioTool(), CWinAudioTool::free(), CWinAudioTool::getAudioData(), CWinAudioTool::init(), CWinAudioTool::openOutput(), CWinAudioTool::setMediaType(), CWinAudioTool::startCapture(), and CWinAudioTool::stopCapture().
|
private |
Definition at line 74 of file WinAudioTool.h.
Referenced by CWinAudioTool::CWinAudioTool(), CWinAudioTool::free(), CWinAudioTool::getAudioData(), CWinAudioTool::getIStream(), CWinAudioTool::init(), and CWinAudioTool::setMediaType().