#include <AudioFileInfo.h>
◆ AudioFileInfo()
Constructor.
- Parameters
-
| [in] | pNumChannels | The number of channels |
| [in] | pSampleRateHz | The sample rate (in Hz) |
| [in] | pBytesPerSecond | The number of bytes per second |
| [in] | pByteRate | The byte rate (number of bytes per sample * number of channels) |
| [in] | pBitsPerSample | The number of bits per sample |
◆ ~AudioFileInfo()
◆ BitsPerSample() [1/2]
◆ BitsPerSample() [2/2]
◆ ByteRate() [1/2]
◆ ByteRate() [2/2]
◆ BytesPerSample()
◆ BytesPerSecond() [1/2]
◆ BytesPerSecond() [2/2]
◆ copyAudioFileInfo()
◆ FileSize() [1/2]
◆ FileSize() [2/2]
◆ NumChannels() [1/2]
◆ NumChannels() [2/2]
◆ read() [1/2]
Reads the info from a WAV file.
- Parameters
-
| [in] | pFilename | The name of a WAV file to read from |
- Returns
- An AudioFileResultType object containing error messages on failure, or no errors on success
◆ read() [2/2]
Reads the info from a file stream.
- Parameters
-
| [in] | pInFStream | A file stream object to read the information from. This must be already opened in read and binary mode. |
- Returns
- An AudioFileResultType object containing error messages on failure, or no errors on success
◆ SampleRateHz() [1/2]
◆ SampleRateHz() [2/2]
◆ write()
Writes the info to a file stream.
- Parameters
-
| [in] | pOutFStream | A file stream object to write the information to. This must be already opened in write and binary mode. |
- Returns
- An AudioFileResultType object containing error messages on failure, or no errors on success
◆ mBitsPerSample
◆ mByteRate
◆ mBytesPerSecond
◆ mFileSize
◆ mNumChannels
◆ mSampleRateHz
The documentation for this class was generated from the following files: