1
Fork 0
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:
Timothy Flynn 2023-06-14 12:59:22 -04:00 committed by Andreas Kling
parent d364d99cb8
commit d3b8d88598
5 changed files with 16 additions and 0 deletions

View file

@ -86,4 +86,9 @@ void AudioCodecPluginLadybird::playback_ended()
m_audio_output->suspend();
}
void AudioCodecPluginLadybird::set_volume(double volume)
{
m_audio_output->setVolume(volume);
}
}