We can fix this in the network indicator to have it query the current audio device and add the internal speaker if it is not current. This should allow us to play the alarm tone on both. per diwic
1) pa_context_get_server_info and then pa_server_info->default_sink_name gives you the sink 2) then call pa_context_get_sink_info_by_name for that sink and see if pa_sink_info->active_port is set 3) if so use active_port->name (and active_port->description for a human-readable name) 4) if not, just use sink->name and sink->description change active port to "output-speaker" for the card named "droid_card.primary" Or to both if possible, there is also a "output- speaker+wired_headphone" port There is existing code that is similar for the dialer to set the port and a QML wrapper -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1364647 Title: Can't hear clock alarm when headphones are plugged in but not in your ears To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1364647/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
