mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:47:47 +00:00
LibWeb: Expose volume controls through the platform audio plugin
This commit is contained in:
parent
d364d99cb8
commit
d3b8d88598
5 changed files with 16 additions and 0 deletions
|
@ -86,4 +86,9 @@ void AudioCodecPluginLadybird::playback_ended()
|
|||
m_audio_output->suspend();
|
||||
}
|
||||
|
||||
void AudioCodecPluginLadybird::set_volume(double volume)
|
||||
{
|
||||
m_audio_output->setVolume(volume);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue