mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00

The client ID is not useful to normal clients anymore, so stop telling everyone what their ID is.
21 lines
593 B
Text
21 lines
593 B
Text
endpoint AudioServer = 85
|
|
{
|
|
// Basic protocol
|
|
Greet() => ()
|
|
|
|
// Mixer functions
|
|
SetMuted(bool muted) => ()
|
|
GetMuted() => (bool muted)
|
|
GetMainMixVolume() => (i32 volume)
|
|
SetMainMixVolume(i32 volume) => ()
|
|
|
|
// Buffer playback
|
|
EnqueueBuffer(Core::AnonymousBuffer buffer, i32 buffer_id, int sample_count) => (bool success)
|
|
SetPaused(bool paused) => ()
|
|
ClearBuffer(bool paused) => ()
|
|
|
|
//Buffer information
|
|
GetRemainingSamples() => (int remaining_samples)
|
|
GetPlayedSamples() => (int played_samples)
|
|
GetPlayingBuffer() => (i32 buffer_id)
|
|
}
|