neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::i_audio_track Class Reference

#include <i_audio_track.hpp>

Inheritance diagram for neogfx::i_audio_track:
neogfx::i_audio_bitstream neolib::i_reference_counted

Public Types

typedef i_audio_track abstract_type
 
- Public Types inherited from neogfx::i_audio_bitstream
typedef i_audio_bitstream abstract_type
 
typedef void * handle
 

Public Member Functions

virtual ~i_audio_track ()=default
 
- Public Member Functions inherited from neogfx::i_audio_bitstream
virtual ~i_audio_bitstream ()=default
 
virtual audio_sample_rate sample_rate () const =0
 
virtual void set_sample_rate (audio_sample_rate aSampleRate)=0
 
virtual float amplitude () const =0
 
virtual void set_amplitude (float aAmplitude)=0
 
virtual bool has_envelope () const =0
 
virtual adsr_envelope const & envelope () const =0
 
virtual void clear_envelope ()=0
 
virtual void set_envelope (adsr_envelope const &aEnvelope)=0
 
virtual audio_frame_count length () const =0
 
virtual void generate (audio_channel aChannel, audio_frame_count aFrameCount, float *aOutputFrames)=0
 
virtual void generate_from (audio_channel aChannel, audio_frame_index aFrameFrom, audio_frame_count aFrameCount, float *aOutputFrames)=0
 
- Public Member Functions inherited from neolib::i_reference_counted
virtual ~i_reference_counted ()=default
 
virtual void add_ref () const noexcept=0
 
virtual void release () const =0
 
virtual int32_t use_count () const noexcept=0
 
virtual const i_reference_countedrelease_and_take_ownership () const =0
 
virtual i_reference_countedrelease_and_take_ownership ()=0
 
virtual void pin () const noexcept=0
 
virtual void unpin () const =0
 
virtual i_ref_control_blockcontrol_block ()=0
 

Detailed Description

Definition at line 28 of file i_audio_track.hpp.

Member Typedef Documentation

◆ abstract_type

Constructor & Destructor Documentation

◆ ~i_audio_track()

virtual neogfx::i_audio_track::~i_audio_track ( )
virtualdefault

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