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

#include <i_audio_device.hpp>

Inheritance diagram for neogfx::i_audio_device:
neolib::i_reference_counted

Public Types

typedef i_audio_device abstract_type
 

Public Member Functions

virtual ~i_audio_device ()=default
 
virtual i_audio_device_info const & info () const =0
 
virtual audio_data_format const & data_format () const =0
 
virtual void start ()=0
 
virtual void stop ()=0
 
virtual void play (i_audio_bitstream &aBitstream, std::chrono::duration< double > const &aDuration)=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 57 of file i_audio_device.hpp.

Member Typedef Documentation

◆ abstract_type

Constructor & Destructor Documentation

◆ ~i_audio_device()

virtual neogfx::i_audio_device::~i_audio_device ( )
virtualdefault

Member Function Documentation

◆ data_format()

virtual audio_data_format const & neogfx::i_audio_device::data_format ( ) const
pure virtual

◆ info()

virtual i_audio_device_info const & neogfx::i_audio_device::info ( ) const
pure virtual

◆ play()

virtual void neogfx::i_audio_device::play ( i_audio_bitstream aBitstream,
std::chrono::duration< double > const &  aDuration 
)
pure virtual

◆ start()

virtual void neogfx::i_audio_device::start ( )
pure virtual

◆ stop()

virtual void neogfx::i_audio_device::stop ( )
pure virtual

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