i_audio_bitstream abstract_type
virtual audio_sample_rate sample_rate() const =0
virtual float amplitude() const =0
virtual void generate_from(audio_channel aChannel, audio_frame_index aFrameFrom, audio_frame_count aFrameCount, float *aOutputFrames)=0
virtual adsr_envelope const & envelope() const =0
virtual bool has_envelope() const =0
virtual void set_sample_rate(audio_sample_rate aSampleRate)=0
virtual audio_frame_count length() const =0
virtual ~i_audio_bitstream()=default
virtual void set_amplitude(float aAmplitude)=0
virtual void set_envelope(adsr_envelope const &aEnvelope)=0
virtual void clear_envelope()=0
virtual void generate(audio_channel aChannel, audio_frame_count aFrameCount, float *aOutputFrames)=0
std::uint64_t audio_frame_index
std::uint64_t audio_frame_count
std::uint64_t audio_sample_rate