I was wrong in thinking this was a job for the sound system in general. The sound spec already allows for "an app chang[ing] the primary output itself". <https://wiki.ubuntu.com/Sound#primary-output> It's up to the alarm clock to set the primary output to the speaker, in the same way that a phone call sets the primary output to the earpiece. So this should be included in the spec for the alarm clock.
** Changed in: ubuntu-ux Assignee: Matthew Paul Thomas (mpt) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1364647 Title: [Sound] Alarm, Calls should always be played (also) in the speakerphone even when a bluetooth or wired headset is used Status in Clock application for Ubuntu devices: Opinion Status in Ubuntu UX bugs: Triaged Status in pulseaudio package in Ubuntu: Confirmed Bug description: When a bluetooth or wired headset the phone embedded speakerphone should ring anyway as you probably won't wear an headset while sleeping, while you prefer keeping your headset connected all the times. -- SOLUTION -- Calls and Alarms should *always* be played to the speaker phones, as well as in the wired/wireless headset. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-clock-app/+bug/1364647/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp