Apple Volume Control

Discussions about USB Audio on XMOS devices
PVS_Bram
Member++
Posts: 21
Joined: Fri Jan 12, 2024 11:20 am

Apple Volume Control

Post by PVS_Bram »

I have an implementation with the XMOS XU316-1024-QF60B largely based on the example XMOS sw_usb_audio example (build config: 1AMi2o2xxxxxx). The implementation works both on Windows and Android including volume control and mute. The problems start with Apple devices. The devices tested are a Macbook and an iPad. The mute control does work but the volume control does not work as expected. Both on the Macbook and the iPad have the volume control but the scaling of the value is totally off. Audio at full blast is loud, as expected, but changing the value to a lower value is way to fast and only the first 20% of the volume scaler is usable. Is there any way to change the scaling for these devices?

The images below shows the Macbook values in dB. Which are way too low at 50% (-37 dB) and changes to a less low value at 0% (-27 dB). The Macbook speakers at 50% are -18,77 dB.
Macbook0.jpg
Macbook50.jpg
MacbookNormalSpeakerdB.jpg
The video on YouTube shows the volume change on the iPad. The sound clearly softens way to fast.
https://youtube.com/shorts/VSI6ZZ0IVzM?feature=share
You do not have the required permissions to view the files attached to this post.