AudioServer: Add support for volume control

This commit is contained in:
2026-04-02 15:21:38 +03:00
parent 5647cf24d2
commit bf4831f468
6 changed files with 100 additions and 9 deletions

View File

@@ -40,6 +40,14 @@ namespace LibAudio
SetPin, // parameter: pin number
// response: nothing
// set the active pin of the current device
GetVolume, // parameter: ignored
// response: 10 * volume percentage (uint32_t)
// get the volume of the current device
SetVolume, // parameter: 10 * volume percentage (uint32_t)
// response: nothing
// set the volume of the current device
} type;
uint64_t parameter;