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:
parent
d364d99cb8
commit
d3b8d88598
5 changed files with 16 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue