after playing around with the values for a bit, I noticed that the first two hex digits aren't doing anything noticeable (or they affect the volume only very granularly) and the last two actually control the volume.
the volume is represented in two's complement so the bytes for setting the volume (from lowest to highest) goes as follows:
0x0080 -> 0x00ff -> 0x0000 -> 0x007f
although 0x7f is the highest value here, my adapter only had a noticably higher volume up to 0x0f and no difference beyond that.
hopefully this is useful for anyone who wishes to turn this app into a volume slider instead.
tested this on a Pixel 7 Pro on Android 16 with EU variant Apple Dongle.
after playing around with the values for a bit, I noticed that the first two hex digits aren't doing anything noticeable (or they affect the volume only very granularly) and the last two actually control the volume.
the volume is represented in two's complement so the bytes for setting the volume (from lowest to highest) goes as follows:
0x0080 -> 0x00ff -> 0x0000 -> 0x007f
although 0x7f is the highest value here, my adapter only had a noticably higher volume up to 0x0f and no difference beyond that.
hopefully this is useful for anyone who wishes to turn this app into a volume slider instead.
tested this on a Pixel 7 Pro on Android 16 with EU variant Apple Dongle.