![]() |
2012-03-28
, 18:40
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#23
|
AIUI there's a PA /gstreamer plugin that does the mp3 decoding in DSP for mafw. madiaplayer just delegates the whole mp3 file to mafw to play it.
I dunno if this special plugin directly routes to DA-converter aka soundcard, or this is done the standard way of gstreamer plugin chains where this DSP plugin would stream the plain PCM (aka "wav") audio data to next plugin. IF the latter, then you of course could change the properties of (or the whole) sink plugin.
![]() |
2012-03-28
, 18:44
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#24
|
![]() |
2012-03-28
, 18:45
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#25
|
For volume keys to work you can try using term-app-launcher as htop does.
![]() |
2012-03-28
, 19:13
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#26
|
![]() |
2012-03-28
, 19:26
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#27
|
Yes, the normal way to handle HW keys in MOC would be to modify xterm. Terminal apps rely on terminal to deliver keypresses.
I don't remember which libraries are needed. I found the following debs in apt archives, they are probably needed by moc plugins.
libsamplerate0_0.1.3-1maemo0_armel.deb
libvorbis0a_1.2.3.tk1_armel.deb
libvorbisenc2_1.2.3.tk1_armel.deb
libvorbisfile3_1.2.3.tk1_armel.deb
libogg0_1%3a1.1.3-2.tk2_armel.deb
libresample1_0.1.3-5_armel.deb
libid3tag0_0.15.1b-10maemo1_armel.deb
libmad0_0.15.1b-2.1maemo1_armel.deb
libflac8_1.2.1-1.1maemo3_armel.deb
Installation script follows:
-------------------
tar xzf moc.tar.gz
cd moc
mkdir -p /usr/local/lib/moc/decoder_plugins
mv *.so /usr/local/lib/moc/decoder_plugins
mv mocp /usr/local/bin
ln -s /usr/local/bin/mocp /usr/bin/mocp
mkdir /home/user/.moc
mv config n900_keymap /home/user/.moc
cd ..
rmdir moc
Can't load plugin libmp3_decoder: file not found
Can't load plugin libspeex_decoder: file not found
Can't load plugin libvorbis_decoder: file not found
FATAL_ERROR: The terminal is too small after resizing
The Following User Says Thank You to fpp For This Useful Post: | ||
![]() |
2012-03-28
, 19:39
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#28
|
![]() |
2012-03-28
, 20:47
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#29
|
![]() |
2012-03-28
, 21:51
|
Posts: 18 |
Thanked: 38 times |
Joined on Jan 2012
|
#30
|
The Following User Says Thank You to kirillkk For This Useful Post: | ||
1. I tried to use pactl which configures pulseaudio dynamically (no config files are changed).
2. Adding nonexistent ALSA device doesn't crash pulseaudio.