Public Member Functions | List of all members
openmsx::WavAudioInput Class Referencefinal

#include <WavAudioInput.hh>

Inheritance diagram for openmsx::WavAudioInput:
Inheritance graph
Collaboration diagram for openmsx::WavAudioInput:
Collaboration graph

Public Member Functions

 WavAudioInput (CommandController &commandController)
 ~WavAudioInput () override
const std::string & getName () const override
 Name used to identify this pluggable. More...
std::string_view getDescription () const override
 Description for this pluggable. More...
void plugHelper (Connector &connector, EmuTime::param time) override
void unplugHelper (EmuTime::param time) override
int16_t readSample (EmuTime::param time) override
 Read wave data. More...
template<typename Archive >
void serialize (Archive &ar, unsigned version)
- Public Member Functions inherited from openmsx::AudioInputDevice
std::string_view getClass () const final override
 A pluggable belongs to a certain class. More...
- Public Member Functions inherited from openmsx::Pluggable
virtual ~Pluggable ()=default
void plug (Connector &connector, EmuTime::param time)
 This method is called when this pluggable is inserted in a connector. More...
void unplug (EmuTime::param time)
 This method is called when this pluggable is removed from a conector. More...
ConnectorgetConnector () const
 Get the connector this Pluggable is plugged into. More...
bool isPluggedIn () const
 Returns true if this pluggable is currently plugged into a connector. More...

Additional Inherited Members

- Protected Member Functions inherited from openmsx::Pluggable
 Pluggable ()
void setConnector (Connector *conn)

Detailed Description

Definition at line 14 of file WavAudioInput.hh.

Constructor & Destructor Documentation

◆ WavAudioInput()

openmsx::WavAudioInput::WavAudioInput ( CommandController commandController)

Definition at line 11 of file

References openmsx::Subject< T >::attach().

◆ ~WavAudioInput()

openmsx::WavAudioInput::~WavAudioInput ( )

Member Function Documentation

◆ getDescription()

std::string_view openmsx::WavAudioInput::getDescription ( ) const

Description for this pluggable.

Implements openmsx::Pluggable.

Definition at line 37 of file

◆ getName()

const string & openmsx::WavAudioInput::getName ( ) const

Name used to identify this pluggable.

Reimplemented from openmsx::Pluggable.

Definition at line 31 of file

◆ plugHelper()

void openmsx::WavAudioInput::plugHelper ( Connector connector,
EmuTime::param  time 

◆ readSample()

int16_t openmsx::WavAudioInput::readSample ( EmuTime::param  time)

◆ serialize()

template<typename Archive >
void openmsx::WavAudioInput::serialize ( Archive &  ar,
unsigned  version 

Definition at line 84 of file

◆ unplugHelper()

void openmsx::WavAudioInput::unplugHelper ( EmuTime::param  time)

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