12#ifndef __AUDACITY_AUDIO_IO_SEQUENCES__
13#define __AUDACITY_AUDIO_IO_SEQUENCES__
36 std::vector<std::shared_ptr<const PlayableSequence>>;
std::vector< std::shared_ptr< RecordableSequence > > RecordableSequences
std::vector< std::shared_ptr< const PlayableSequence > > ConstPlayableSequences
This is defined just to enable dynamic_cast on it.
virtual ~OtherPlayableSequence()
virtual const ChannelGroup * FindChannelGroup() const =0
Find associated ChannelGroup if any.
virtual bool GetSolo() const =0
May vary asynchronously.
virtual bool GetMute() const =0
May vary asynchronously.
~PlayableSequence() override
virtual size_t NChannels() const =0
A constant property.
virtual ~RecordableSequence()
virtual double GetRate() const =0
virtual void InsertSilence(double t, double len)=0
virtual bool Append(size_t iChannel, constSamplePtr buffer, sampleFormat format, size_t len, unsigned int stride, sampleFormat effectiveFormat)=0
Append the sample data to the track. You must call Flush() after the last Append.
virtual void Flush()=0
Flush must be called after last Append.
virtual sampleFormat GetSampleFormat() const =0
virtual void RepairChannels()=0