1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:37:35 +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

@ -56,4 +56,9 @@ void AudioCodecPluginSerenity::playback_ended()
m_connection->async_clear_buffer();
}
void AudioCodecPluginSerenity::set_volume(double volume)
{
m_connection->async_set_self_volume(volume);
}
}