Openmoko Bug #1831: please remove dependency between mediaplayer and pulseaudio in 2008.8
Openmoko Public Trac
bugs at docs.openmoko.org
Sun Aug 17 09:49:22 CEST 2008
#1831: please remove dependency between mediaplayer and pulseaudio in 2008.8
---------------------+------------------------------------------------------
Reporter: hedora | Owner: openmoko-devel
Type: defect | Status: new
Priority: normal | Milestone:
Component: unknown | Version:
Severity: normal | Keywords:
Blockedby: | Reproducible:
Blocking: |
---------------------+------------------------------------------------------
mediaplayer is hardcoded to use a pulseaudio sink. In SHR (which does not
use pulseaudio), it should default to an alsasink instead. The difference
is a two line patch, which changes this line in playback.c:
omp_gst_audiosink = gst_element_factory_make("pulsesink", NULL);
to read "pulsesink" instead of "alsasink". (See attachment for the error
message that should change...)
If you'd like to avoid hardcoding this configuration option, I think you
can pass NULL in instead of "pulsesink", and gstreamer will attempt to "do
the right thing", which can be overridden by the user by setting an
environment variable.
Then the dependency between it and pulseaudio can be removed from the
2008.8 package.
Also, I have been told that mediaplayer works under 2008.8 without
openmoko-sound-system2 installed. Consider removing that dependency as
well.
Thanks!
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/1831>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the devel
mailing list