blob: a68beef39a38da6caf7947908d83e3080fb1bb96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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)
}
|