mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:17:34 +00:00
Services: Move to Userland/Services/
This commit is contained in:
parent
4055b03291
commit
c7ac7e6eaf
170 changed files with 4 additions and 4 deletions
21
Userland/Services/AudioServer/AudioServer.ipc
Normal file
21
Userland/Services/AudioServer/AudioServer.ipc
Normal file
|
@ -0,0 +1,21 @@
|
|||
endpoint AudioServer = 85
|
||||
{
|
||||
// Basic protocol
|
||||
Greet() => (i32 client_id)
|
||||
|
||||
// Mixer functions
|
||||
SetMuted(bool muted) => ()
|
||||
GetMuted() => (bool muted)
|
||||
GetMainMixVolume() => (i32 volume)
|
||||
SetMainMixVolume(i32 volume) => ()
|
||||
|
||||
// Buffer playback
|
||||
EnqueueBuffer(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)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue