Proxy WIP

This commit is contained in:
Vasiliy Doylov 2024-10-27 20:08:20 +03:00
parent de6cf981e9
commit 7f1afd715f
Signed by: NekoCWD
GPG key ID: B7BE22D44474A582
4 changed files with 55 additions and 2 deletions

24
src/callaudiod.vala Normal file
View file

@ -0,0 +1,24 @@
using GLib;
[DBus(name = "org.mobian_project.CallAudio", timeout = 120000)]
public interface CallAudioD : GLib.Object {
[DBus(name = "SelectMode")]
public abstract bool select_mode(uint mode) throws DBusError, IOError;
[DBus(name = "AudioMode")]
public abstract uint audio_mode { get; }
[DBus(name = "EnableSpeaker")]
public abstract bool enable_speaker(bool enable) throws DBusError, IOError;
[DBus(name = "SpeakerState")]
public abstract uint speaker_state { get; }
[DBus(name = "MuteMic")]
public abstract bool mute_mic(bool mute) throws DBusError, IOError;
[DBus(name = "MicState")]
public abstract uint mic_state { get; }
}