Audio file for OfflineGraphRenderer.
More...
#include <OfflineGraphRenderer.hpp>
◆ AudioFile()
switchboard::OfflineGraphRenderer::AudioFile::AudioFile |
( |
const std::string & | filePath, |
|
|
const Codec | codec, |
|
|
const uint | numberOfChannels, |
|
|
uint | sampleRate ) |
|
inline |
AudioFile constructor.
- Parameters
-
filePath | File path of the audio file. |
codec | Codec of the audio file. |
numberOfChannels | Number of channels for the audio bus that belongs to the audio file. |
sampleRate | Sample rate for the audio bus that belongs to the audio file. |
◆ numberOfChannels
uint switchboard::OfflineGraphRenderer::AudioFile::numberOfChannels |
Number of channels for the audio bus that belongs to the audio file. For input files, NUM_CHANNELS_UNDEFINED means that the number of channels of the input audio file will be used. For output files, numberOfChannels must not be NUM_CHANNELS_UNDEFINED.
◆ sampleRate
uint switchboard::OfflineGraphRenderer::AudioFile::sampleRate |
Sample rate for the audio bus that belongs to the audio file. For input files, SAMPLE_RATE_UNDEFINED means that the sample rate of the input audio file will be used. For output files, SAMPLE_RATE_UNDEFINED means that the audio graph's processing sample rate will be used.