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

#include <DummyAudioInputDevice.hh>

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

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Definition at line 8 of file DummyAudioInputDevice.hh.

Member Function Documentation

◆ getDescription()

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

Description for this pluggable.

Implements openmsx::Pluggable.

Definition at line 5 of file DummyAudioInputDevice.cc.

◆ plugHelper()

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

Implements openmsx::Pluggable.

Definition at line 10 of file DummyAudioInputDevice.cc.

◆ readSample()

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

Read wave data.

Implements openmsx::AudioInputDevice.

Definition at line 19 of file DummyAudioInputDevice.cc.

◆ unplugHelper()

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

Implements openmsx::Pluggable.

Definition at line 15 of file DummyAudioInputDevice.cc.


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