Vuo  1.2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Attributes | List of all members
VuoAudioFileInternal Struct Reference

Description

Context data for decoding an audio file.

Public Attributes

ExtAudioFileRef audioFile
 Core Audio file decoder.
 
dispatch_queue_t audioFileQueue
 Serializes access to audioFile and decodedChannels.
 
AudioStreamBasicDescription inputFormat
 The audio file's format.
 
AudioStreamBasicDescription outputFormat
 The format to which we're asking Core Audio to convert the file.
 
SInt64 totalFrameCount
 The number of frames in the audio file.
 
SInt64 headerFrames
 The number of frames in the audio file's header (to be skipped when playing).
 
bool playing
 Is the audio file currently playing?
 
VuoLoopType loop
 What to do upon reaching the end of the audio file.
 
void(* decodedChannels )(VuoList_VuoAudioSamples)
 The trigger port callback, to be called when a new buffer is ready for playback.
 
void(* finishedPlayback )(void)
 The trigger port callback, to be called when the audio file has reached the end.
 
dispatch_source_t playbackTimer
 Schedules decoding.
 
dispatch_semaphore_t playbackTimerCanceled
 After playbackTimer has been canceled and executed its last decode, this is signaled.
 

Member Data Documentation

ExtAudioFileRef VuoAudioFileInternal::audioFile

Core Audio file decoder.

dispatch_queue_t VuoAudioFileInternal::audioFileQueue

Serializes access to audioFile and decodedChannels.

void(* VuoAudioFileInternal::decodedChannels)(VuoList_VuoAudioSamples)

The trigger port callback, to be called when a new buffer is ready for playback.

void(* VuoAudioFileInternal::finishedPlayback)(void)

The trigger port callback, to be called when the audio file has reached the end.

SInt64 VuoAudioFileInternal::headerFrames

The number of frames in the audio file's header (to be skipped when playing).

AudioStreamBasicDescription VuoAudioFileInternal::inputFormat

The audio file's format.

VuoLoopType VuoAudioFileInternal::loop

What to do upon reaching the end of the audio file.

AudioStreamBasicDescription VuoAudioFileInternal::outputFormat

The format to which we're asking Core Audio to convert the file.

dispatch_source_t VuoAudioFileInternal::playbackTimer

Schedules decoding.

dispatch_semaphore_t VuoAudioFileInternal::playbackTimerCanceled

After playbackTimer has been canceled and executed its last decode, this is signaled.

bool VuoAudioFileInternal::playing

Is the audio file currently playing?

SInt64 VuoAudioFileInternal::totalFrameCount

The number of frames in the audio file.


The documentation for this struct was generated from the following file: