Captures audio data.
More...
#include <OgreOggSoundRecord.h>
| OgreOggSound::OgreOggSoundRecord::OgreOggSoundRecord |
( |
ALCdevice & |
alDevice | ) |
|
| OgreOggSound::OgreOggSoundRecord::~OgreOggSoundRecord |
( |
| ) |
|
Closes capture device, outputs captured data to a file if available.
| bool OgreOggSound::OgreOggSoundRecord::_openDevice |
( |
| ) |
|
|
private |
Initialises a capture device ready to record audio data
| void OgreOggSound::OgreOggSoundRecord::_updateRecording |
( |
| ) |
|
|
private |
Updates recording from the capture device
| const RecordDeviceList& OgreOggSound::OgreOggSoundRecord::getCaptureDeviceList |
( |
| ) |
|
Gets a list of strings describing the capture devices
| bool OgreOggSound::OgreOggSoundRecord::initCaptureDevice |
( |
const Ogre::String & |
devName = "", |
|
|
const Ogre::String & |
fileName = "output.wav", |
|
|
ALCuint |
freq = 44100, |
|
|
ALCenum |
format = AL_FORMAT_STEREO16, |
|
|
ALsizei |
bufferSize = 8820 |
|
) |
| |
| bool OgreOggSound::OgreOggSoundRecord::isCaptureAvailable |
( |
| ) |
|
Returns whether a capture device is available
| void OgreOggSound::OgreOggSoundRecord::startRecording |
( |
| ) |
|
Starts a recording from a capture device
| void OgreOggSound::OgreOggSoundRecord::stopRecording |
( |
| ) |
|
Stops recording from the capture device
| unsigned short OgreOggSound::OgreOggSoundRecord::mBitsPerSample |
|
private |
| ALchar* OgreOggSound::OgreOggSoundRecord::mBuffer |
|
private |
| ALsizei OgreOggSound::OgreOggSoundRecord::mBufferSize |
|
private |
| ALCdevice* OgreOggSound::OgreOggSoundRecord::mCaptureDevice |
|
private |
| ALCcontext* OgreOggSound::OgreOggSoundRecord::mContext |
|
private |
| ALint OgreOggSound::OgreOggSoundRecord::mDataSize |
|
private |
| const ALCchar* OgreOggSound::OgreOggSoundRecord::mDefaultCaptureDevice |
|
private |
| ALCdevice* OgreOggSound::OgreOggSoundRecord::mDevice |
|
private |
| std::ofstream OgreOggSound::OgreOggSoundRecord::mFile |
|
private |
| ALCenum OgreOggSound::OgreOggSoundRecord::mFormat |
|
private |
| ALCuint OgreOggSound::OgreOggSoundRecord::mFreq |
|
private |
| unsigned short OgreOggSound::OgreOggSoundRecord::mNumChannels |
|
private |
| bool OgreOggSound::OgreOggSoundRecord::mRecording |
|
private |
| ALint OgreOggSound::OgreOggSoundRecord::mSamplesAvailable |
|
private |
| ALint OgreOggSound::OgreOggSoundRecord::mSize |
|
private |
| WAVEHEADER OgreOggSound::OgreOggSoundRecord::mWaveHeader |
|
private |
The documentation for this class was generated from the following file: