mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 20:27:35 +00:00
14 lines
357 B
Text
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)
|
|
}
|