1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 20:45:07 +00:00
serenity/Userland/Services/AudioServer/AudioServer.ipc
Timothy 944e5cfb35 Everywhere: Use IPC include syntax
Remove superfluous includes from IPCCompiler's generated output and
add include directives in IPC definitions where appropriate.
2021-07-03 12:16:00 +02:00

20 lines
602 B
Text

#include <LibCore/AnonymousBuffer.h>
endpoint AudioServer
{
// Mixer functions
set_muted(bool muted) => ()
get_muted() => (bool muted)
get_main_mix_volume() => (i32 volume)
set_main_mix_volume(i32 volume) => ()
// Buffer playback
enqueue_buffer(Core::AnonymousBuffer buffer, i32 buffer_id, int sample_count) => (bool success)
set_paused(bool paused) => ()
clear_buffer(bool paused) => ()
//Buffer information
get_remaining_samples() => (int remaining_samples)
get_played_samples() => (int played_samples)
get_playing_buffer() => (i32 buffer_id)
}