Today's findings, I'll just write them down here and create proper
patches later as I'm running out of time:
* for ubuntu-sounds, I recommend we symlink audio-test-signal.ogg ->
phone-incoming-call.ogg. The latter one is the only sound that's long
and clear enough to be heard even with HDMI/digital receivers (that cut
off some of the initial signal).
* the other problem is that speaker-test does not pick up the sound
theme. Whether this is gnome-media's or libcanberra's fault can be
debated, but it was more easily hacked in gnome-media, excerpt from a
patched gvc-speaker-test.c:
static void
gvc_speaker_test_set_theme (ca_context *ca)
{
GtkSettings *s = gtk_settings_get_for_screen(gdk_screen_get_default());
gchar *theme_name = NULL;
if (!s) return;
g_object_get(G_OBJECT(s), "gtk-sound-theme-name", &theme_name,
NULL);
if (theme_name) {
ca_context_change_props(ca, CA_PROP_CANBERRA_XDG_THEME_NAME,
theme_name, NULL);
g_free(theme_name);
}
}
static void
gvc_speaker_test_init (GvcSpeakerTest *speaker_test)
{
GtkWidget *face;
speaker_test->priv = GVC_SPEAKER_TEST_GET_PRIVATE
(speaker_test);
ca_context_create (&speaker_test->priv->canberra);
ca_context_set_driver (speaker_test->priv->canberra, "pulse");
ca_context_change_props (speaker_test->priv->canberra,
CA_PROP_APPLICATION_ID,
"org.gnome.VolumeControl",
NULL);
gvc_speaker_test_set_theme(speaker_test->priv->canberra);
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/736349
Title:
"Test speakers" is silent
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs