[maemo-developers] DSP SBC encoder task

From: Brad Midgley bmidgley at gmail.com
Date: Fri Jun 6 23:55:05 EEST 2008
Simon

I have been thinking more about this and I think another approach
could be considered.

It would be easier to plug your work into everything else if you wrote
it up as a patch to the regular sbc.c so it transparently chooses the
soft or dsp codec at runtime. It would work with the alsa plugin, gst,
and eventually pulse without extra work.

Marcel will have to weigh in if it's to be accepted upstream.

In any case, we'd need an override. It could be done with an
environment variable like "SBC_CODEC" with values eg "soft", "dsp",
"auto" with auto the default if it's not set. This does step around
gstreamer a little, but anyway, alsa and pulse don't have the greatest
gstreamer integration to start with...

Brad

More information about the maemo-developers mailing list