Bug 472590 - Output Sound Source does not change
Summary: Output Sound Source does not change
Status: RESOLVED FIXED
Alias: None
Product: kid3
Classification: Applications
Component: general (show other bugs)
Version: 3.9.x
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Urs Fleisch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-24 19:06 UTC by s_decoster
Modified: 2024-02-24 05:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description s_decoster 2023-07-24 19:06:27 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
When I plug in the cable of my headphones in my MacBook Pro (when Kid3 is already running), the sound keeps coming through of the MacBook Pro Speakers, even when I select the External Headphones on my mac.

The opposite is also true. If I start up Kid3 when the headphones are already plugged in, the sound does not switch to the MacBook Pro Speakers when I select them on my mac (sounds keep coming through the headphones).
 
SOFTWARE/OS VERSIONS
macOS: Ventura 13.4.1
Kid 3 version 3.9.4
Comment 1 Urs Fleisch 2023-08-30 10:38:34 UTC
Thanks for the report. I will have a look at it. With Qt 6 it might be possible to implement this in a cross-platform way, there is a class QMediaDevices which will notify the application when the default audio output has changed.
Comment 2 Urs Fleisch 2023-11-29 19:03:10 UTC
I have now implemented a configuration option for the preferred audio output in the "User Actions" tab of the settings. You can test it with kid3-git20231129 from https://sourceforge.net/projects/kid3/files/kid3/development/.
The audio output will be switched if the preferred audio device is configured or plugged in or plugged out. What from this works depends on the backend. On Linux, audio device changes do not seem to be signaled for the ALSA and PulseAudio backends. On Windows, it seems to work fine. I could not test on a Mac, so you will have to tell me if it works.
Comment 3 Urs Fleisch 2024-02-24 05:58:35 UTC
Fixed in version 3.9.5.