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

#include <WavAudioInput.hh>

Inheritance diagram for openmsx::WavAudioInput:
Inheritance graph
[legend]
Collaboration diagram for openmsx::WavAudioInput:
Collaboration graph
[legend]

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)
explicit

Definition at line 11 of file WavAudioInput.cc.

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

◆ ~WavAudioInput()

openmsx::WavAudioInput::~WavAudioInput ( )
override

Member Function Documentation

◆ getDescription()

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

Description for this pluggable.

Implements openmsx::Pluggable.

Definition at line 37 of file WavAudioInput.cc.

◆ getName()

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

Name used to identify this pluggable.

Reimplemented from openmsx::Pluggable.

Definition at line 31 of file WavAudioInput.cc.

◆ plugHelper()

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

◆ readSample()

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

◆ serialize()

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

Definition at line 84 of file WavAudioInput.cc.

◆ unplugHelper()

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

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