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

Member Data Documentation

◆ audioFile

ExtAudioFileRef VuoAudioFileInternal::audioFile

Core Audio file decoder.

◆ audioFileQueue

dispatch_queue_t VuoAudioFileInternal::audioFileQueue

Serializes access to audioFile and decodedChannels.

◆ decodedChannels

void(* VuoAudioFileInternal::decodedChannels) (VuoList_VuoAudioSamples)

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

◆ finishedPlayback

void(* VuoAudioFileInternal::finishedPlayback) (void)

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

◆ headerFrames

SInt64 VuoAudioFileInternal::headerFrames

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

◆ inputFormat

AudioStreamBasicDescription VuoAudioFileInternal::inputFormat

The audio file's format.

◆ loop

VuoLoopType VuoAudioFileInternal::loop

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

◆ outputFormat

AudioStreamBasicDescription VuoAudioFileInternal::outputFormat

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

◆ playbackTimer

dispatch_source_t VuoAudioFileInternal::playbackTimer

Schedules decoding.

◆ playbackTimerCanceled

dispatch_semaphore_t VuoAudioFileInternal::playbackTimerCanceled

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

◆ playing

bool VuoAudioFileInternal::playing

Is the audio file currently playing?

◆ totalFrameCount

SInt64 VuoAudioFileInternal::totalFrameCount

The number of frames in the audio file.


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