carb/audio/IAudioUtils.h¶
↰ Parent directory: carb/audio/
General audio utilities.
Source: carb/audio/IAudioUtils.h
Included By¶
carb/audio/AudioUtils.h: Inline utility functions for audio processing.
carb/audio/AudioStreamerUtils.h: Helper classes for streaming data from carb::audio::IAudioPlayback.
Namespaces¶
carb: The main Carbonite namespace.
carb::audio: Audio playback and capture.
Classes¶
carb::audio::AudioImageDesc: A descriptor for IAudioData::drawWaveform().
carb::audio::ConversionDesc: a descriptor of a data type conversion operation.
carb::audio::IAudioUtils: General audio utilities.
carb::audio::OutputStreamDesc: a descriptor for opening an output file stream.
carb::audio::SoundDataSaveDesc: a descriptor of how a sound data object should be written out to file.
carb::audio::TranscodeDesc: A descriptor for transcoding between PCM formats, which is used for the transcodePcm() function.
Typedefs¶
carb::audio::AudioImageFlags: Flags for carb::audio::AudioImageDesc.
carb::audio::ConvertFlags: flags to control the behaviour of a conversion operation.
carb::audio::OutputStreamFlags: base type for all output stream flags.
carb::audio::SaveFlags: Flags used for the saveToFile() function.
carb::audio::TranscodeFlags: Flags that alter the behavior of a pcm transcoding operation.
Variables¶
carb::audio::fAudioImageAlphaBlend: Perform alpha blending when drawing the samples/lines, rather than overwriting the pixels.
carb::audio::fAudioImageMultiChannel: Draw all the audio channels in the image on top of eachother, rather than drawing one individual channel.
carb::audio::fAudioImageNoClear: Don’t clear out the image buffer with the background color before drawing.
carb::audio::fAudioImageNoiseColor: Randomize The colors used for each sample.
carb::audio::fAudioImageSplitChannels: Draw each audio channel as a separate waveform, organized vertically.
carb::audio::fAudioImageUseLines: Draw lines between the individual samples when rendering.
carb::audio::fConvertFlagCopy: convert the sound data object and return a new copy of the data.
carb::audio::fConvertFlagForceCopy: forces an operation to copy or decode the input data into a new sound data object.
carb::audio::fConvertFlagInPlace: convert the sound data object in-place.
carb::audio::fConvertFlagReferenceData: when duplicating a sound data object and no conversion is necessary, this allows the new object to reference the same data pointer as the original object.
carb::audio::fSaveFlagDefault: Default save behavior.
carb::audio::fSaveFlagStripEventPoints: Don’t write the event point information into the file.
carb::audio::fSaveFlagStripMetaData: Don’t write the metdata information into the file.
carb::audio::fSaveFlagStripPeaks: Don’t write the peaks information into the file.
carb::audio::fStreamFlagDisableOnFailure: flag to indicate that the stream should disable itself if an error is encountered writing a buffer of audio to the output.
carb::audio::fStreamFlagFlushAfterWrite: flag to indicate that an output stream should flush its file after each buffer is successfully written to it.