DD::Image::AudioReaderI Class Referenceabstract

Public Member Functions

virtual AudioReadInfo audioInfo () const =0
 Fetch audio data.
 
virtual bool audioDecode (size_t startSample, size_t *samplesPerChannel, void *outputBuffer, size_t bufferSize) const =0
 

Detailed Description

Interface for readers which support audio, which can be used in the timeline .

This is in an early stage and is only implemented by r3dReader. May need to be extended for other readers.

Member Function Documentation

virtual bool DD::Image::AudioReaderI::audioDecode ( size_t  startSample,
size_t *  samplesPerChannel,
void *  outputBuffer,
size_t  bufferSize 
) const
pure virtual

Decode audio Note: Currently the samples are expected to be float data with the channels interleaved



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk