24 #ifndef AUDIOPLAYERADAPTER_H
25 #define AUDIOPLAYERADAPTER_H
56 virtual void exit()
override;
68 #endif // AUDIOPLAYERADAPTER_H
void setMuted(bool muted)
Mute the audio player.
Abstract base class for sound-producing software components which transmit data to the AudioPlayerAda...
bool isMuted()
Returns true if the player is muted.
PCMWriterInterface * mPCMWriter
Pointer to PCM writer.
AudioPlayerAdapter()
Constructor, resetting default values.
PCMWriterInterface * getWriter()
Get pointer to the PCM writer.
virtual ~AudioPlayerAdapter()
Destructor without functionality.
virtual void exit() override
Destroy the audio device.
bool mMuted
Flag which is true if the ouput device muted.
void setWriter(PCMWriterInterface *interface)
Connect the audio adapter to a PCM writer interface.
Abstract adapter class for PCM-based audio output drivers.
Abstract base class for audio interfaces.