mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 21:27:36 +00:00
Userland: Use snake case names in .ipc files
This updates all .ipc files to have snake case names for IPC methods.
This commit is contained in:
parent
eb21aa65d1
commit
9e22e9ce88
36 changed files with 296 additions and 287 deletions
|
@ -1,6 +1,6 @@
|
|||
endpoint AudioClient
|
||||
{
|
||||
FinishedPlayingBuffer(i32 buffer_id) =|
|
||||
MutedStateChanged(bool muted) =|
|
||||
MainMixVolumeChanged(i32 volume) =|
|
||||
finished_playing_buffer(i32 buffer_id) =|
|
||||
muted_state_changed(bool muted) =|
|
||||
main_mix_volume_changed(i32 volume) =|
|
||||
}
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
endpoint AudioServer
|
||||
{
|
||||
// Basic protocol
|
||||
Greet() => ()
|
||||
greet() => ()
|
||||
|
||||
// Mixer functions
|
||||
SetMuted(bool muted) => ()
|
||||
GetMuted() => (bool muted)
|
||||
GetMainMixVolume() => (i32 volume)
|
||||
SetMainMixVolume(i32 volume) => ()
|
||||
set_muted(bool muted) => ()
|
||||
get_muted() => (bool muted)
|
||||
get_main_mix_volume() => (i32 volume)
|
||||
set_main_mix_volume(i32 volume) => ()
|
||||
|
||||
// Buffer playback
|
||||
EnqueueBuffer(Core::AnonymousBuffer buffer, i32 buffer_id, int sample_count) => (bool success)
|
||||
SetPaused(bool paused) => ()
|
||||
ClearBuffer(bool paused) => ()
|
||||
enqueue_buffer(Core::AnonymousBuffer buffer, i32 buffer_id, int sample_count) => (bool success)
|
||||
set_paused(bool paused) => ()
|
||||
clear_buffer(bool paused) => ()
|
||||
|
||||
//Buffer information
|
||||
GetRemainingSamples() => (int remaining_samples)
|
||||
GetPlayedSamples() => (int played_samples)
|
||||
GetPlayingBuffer() => (i32 buffer_id)
|
||||
get_remaining_samples() => (int remaining_samples)
|
||||
get_played_samples() => (int played_samples)
|
||||
get_playing_buffer() => (i32 buffer_id)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue