Classes |
class | Callback |
class | LoaderSourceCallback |
class | CircularBuffer |
class | CocoaCaConverter |
class | FftProcessorImpl |
class | FftProcessor |
class | FftProcessorImplAccelerate |
class | Input |
class | InputExc |
class | InvalidDeviceInputExc |
class | InputImplAudioUnit |
class | Io |
class | Target |
class | Source |
class | Loader |
class | IoException |
class | IoExceptionFailedLoad |
class | IoExceptionSourceNotFound |
class | IoExceptionUnsupportedDataType |
class | IoExceptionUnsupportedDataFormat |
struct | IoRegistrar |
struct | IoRegistrant |
class | Track |
class | OutputImpl |
class | Output |
class | OutputException |
class | OutOfTracksException |
class | TargetOutputImplAudioUnit |
class | OutputImplAudioUnit |
class | TargetOutputImplXAudio |
class | OutputImplXAudio |
struct | BufferT |
struct | BufferListT |
class | PcmBufferT |
class | PcmBufferException |
class | InvalidChannelPcmBufferException |
class | OutOfRangePcmBufferException |
class | LoaderSourceFile |
class | SourceFile |
class | LoaderSourceFileWav |
class | SourceFileWav |
class | LoaderSourceFileWindowsMedia |
class | SourceFileWindowsMedia |
Typedefs |
typedef shared_ptr< class
FftProcessor > | FftProcessorRef |
typedef shared_ptr< InputDevice > | InputDeviceRef |
typedef shared_ptr< class Source > | SourceRef |
typedef shared_ptr< class Target > | TargetRef |
typedef shared_ptr< class Loader > | LoaderRef |
typedef HRESULT(* | LoaderDataCallback )(void *audioData, uint32_t dataSize, void *track, uint64_t sampleTime, uint32_t sampleDuration) |
typedef int32_t | TrackId |
typedef shared_ptr< class Track > | TrackRef |
typedef enum
cinder::audio::ChannelIdentifier | ChannelIdentifier |
typedef BufferT< void > | BufferGeneric |
typedef BufferT< uint8_t > | Buffer8u |
typedef BufferT< int8_t > | Buffer8i |
typedef BufferT< uint16_t > | Buffer16u |
typedef BufferT< int16_t > | Buffer16i |
typedef BufferT< int32_t > | Buffer32i |
typedef BufferT< uint32_t > | Buffer32u |
typedef BufferT< float > | Buffer32f |
typedef shared_ptr< BufferT
< float > > | Buffer32fRef |
typedef BufferListT< void > | BufferList |
typedef BufferListT< float > | BufferList32f |
typedef shared_ptr< BufferList32f > | BufferList32fRef |
typedef PcmBufferT< float > | PcmBuffer32f |
typedef shared_ptr< PcmBuffer32f > | PcmBuffer32fRef |
typedef shared_ptr< class
SourceFile > | SourceFileRef |
typedef shared_ptr< class
LoaderSourceFile > | LoaderSourceFileRef |
typedef shared_ptr< class
SourceFileWav > | SourceFileWavRef |
typedef shared_ptr< class
LoaderSourceFileWav > | LoaderSourceFileWavRef |
typedef shared_ptr< class
SourceFileWindowsMedia > | SourceFileWindowsMediaRef |
typedef shared_ptr< class
LoaderSourceFileWindowsMedia > | LoaderSourceFileWindowsMediaRef |
typedef ComponentDescription | AudioComponentDescription |
Enumerations |
enum | ChannelIdentifier { CHANNEL_FRONT_LEFT = 0,
CHANNEL_FRONT_RIGHT = 1
} |
enum | {
WAV_FORMAT_UNKOWN = 0x000,
WAV_FORMAT_PCM = 0x0001,
WAV_FORMAT_MS_ADPCM = 0x0002,
WAV_FORMAT_IEEE_FLOAT = 0x0003,
WAV_FORMAT_ALAW = 0x0006,
WAV_FORMAT_MULAW = 0x0007,
WAV_FORMAT_DIALOGIC_OKI_ADPCM = 0x0011,
WAV_FORMAT_YAMAHA_ADPCM = 0x0016,
WAV_FORMAT_GSM610 = 0x0031,
WAV_FORMAT_G721_ADPCM = 0x0040,
WAV_FORMAT_MPEG = 0x0050,
WAV_FORMAT_MP3 = 0x0055
} |
Functions |
template<typename T , typename U > |
shared_ptr< Callback< T, U > > | createCallback (T *callbackObj, void(T::*callbackFn)(uint64_t inSampleOffset, uint32_t inSampleCount, BufferT< U > *ioBuffer), bool ownCallbackObj=false, uint32_t aSampleRate=44100, uint16_t aChannelCount=2) |
shared_ptr< float > | calculateFft (Buffer32fRef aBuffer, uint16_t aBandCount) |
SourceRef | load (const std::string &path, std::string extension="") |
| Loads an audio from the file path path. Optional extension parameter allows specification of a file type. For example, "mp3" would force the file to load as a MP3.
|
SourceRef | load (DataSourceRef dataSource, std::string extension="") |
| Loads an audio from dataSource. Optional extension parameter allows specification of a file type. For example, "mp3" would force the file to load as a MP3.
|
void | silenceBuffers (BufferList *aBufferList) |
template<typename T > |
void | deleteBuffer (BufferT< T > *aBuffer) |
template<typename T > |
shared_ptr< BufferListT< T > > | createBufferList (uint32_t sampleCount, uint16_t channelCount, bool isInterleaved) |
template<typename T > |
void | deleteBufferList (BufferListT< T > *aBufferList) |
| REGISTER_AUDIOIO (SourceFileWindowsMedia) class SourceFileWindowsMediaExceptionUnsupportedData |
void | deleteFftBuffer (float *buffer) |
| BOOST_PP_SEQ_FOR_EACH (CREATE_BUFFERLIST_PROTOTYPES,~, AUDIO_DATA_TYPES) template< typename T > PcmBufferT< T > |
template<typename T > |
void | readStreamWithEndianess (IStreamRef aIStream, T *param, bool isBigEndian) |
Variables |
const uint32_t | gRiffMarker = 'FFIR' |
const uint32_t | gRifxMarker = 'XFIR' |
const uint32_t | gWaveMarker = 'EVAW' |
const uint32_t | gDataMarker = 'atad' |
const uint32_t | gFmtMarker = ' tmf' |