1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 20:27:35 +00:00
serenity/Servers/AudioServer/AudioServer.ipc
Till Mayer 406aabff23 AudioServer: Added ability to get count of samples in the buffer queue
Now the AClientConnection can get the count of samples still in the
buffer queue.
2019-10-19 20:05:13 +02:00

14 lines
357 B
Text

endpoint AudioServer
{
// Basic protocol
Greet(i32 client_pid) => (i32 server_pid, i32 client_id)
// Mixer functions
GetMainMixVolume() => (i32 volume)
SetMainMixVolume(i32 volume) => ()
// Buffer playback
EnqueueBuffer(i32 buffer_id, int sample_count) => (bool success)
GetRemainingSamples() => (int remaining_samples)
}