Vuo  2.3.2
Public Attributes | List of all members
VuoAudioFileInternal Struct Reference

Description

Context data for decoding an audio file.

Definition at line 46 of file VuoAudioFile.c.

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.

Definition at line 48 of file VuoAudioFile.c.

◆ audioFileQueue

dispatch_queue_t VuoAudioFileInternal::audioFileQueue

Serializes access to audioFile and decodedChannels.

Definition at line 49 of file VuoAudioFile.c.

◆ decodedChannels

void(* VuoAudioFileInternal::decodedChannels) (VuoList_VuoAudioSamples)

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

Definition at line 58 of file VuoAudioFile.c.

◆ finishedPlayback

void(* VuoAudioFileInternal::finishedPlayback) (void)

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

Definition at line 59 of file VuoAudioFile.c.

◆ headerFrames

SInt64 VuoAudioFileInternal::headerFrames

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

Definition at line 53 of file VuoAudioFile.c.

◆ inputFormat

AudioStreamBasicDescription VuoAudioFileInternal::inputFormat

The audio file's format.

Definition at line 50 of file VuoAudioFile.c.

◆ loop

VuoLoopType VuoAudioFileInternal::loop

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

Definition at line 56 of file VuoAudioFile.c.

◆ outputFormat

AudioStreamBasicDescription VuoAudioFileInternal::outputFormat

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

Definition at line 51 of file VuoAudioFile.c.

◆ playbackTimer

dispatch_source_t VuoAudioFileInternal::playbackTimer

Schedules decoding.

Definition at line 60 of file VuoAudioFile.c.

◆ playbackTimerCanceled

dispatch_semaphore_t VuoAudioFileInternal::playbackTimerCanceled

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

Definition at line 61 of file VuoAudioFile.c.

◆ playing

bool VuoAudioFileInternal::playing

Is the audio file currently playing?

Definition at line 55 of file VuoAudioFile.c.

◆ totalFrameCount

SInt64 VuoAudioFileInternal::totalFrameCount

The number of frames in the audio file.

Definition at line 52 of file VuoAudioFile.c.


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