Understanding Volume Control Mechanisms in Qt Multimedia for SGTL5000 Audio Codec
-
Hello,
I am using Qt Multimedia to control the sgtl5000 audio codec's volume. I am intrigued about the process by which Qt Multimedia alters the volume settings.
Upon monitoring the value in the codec's volume register, I've noticed that different values are written to the volume register when I adjust the volume using the amixer command (amixer sset PCM 100%). However, when I attempt to modify the volume using Qt Multimedia, the value in the volume register remains unchanged.
I am seeking clarification on how Qt Multimedia communicates with the audio codec driver to effect volume changes. Understanding this process in greater detail would greatly assist me in optimizing the integration of the audio codec into our system.
Thank you.
-
Hi and welcome to devnet,
Depending on your version of Qt, you will either have the GStreamer or the ffmpeg backend. The volume will be handle through one of them.