Subject: mp3 is playing too fast in ALSA


Author: jopher, 2005-03-01 16:58:20
Hi! I just learned of LAMIP today.

I played an mp3 (lamip foo.mp3) using ALSA output and it's playing too fast. All is OK when I switch to OSS output.

-------
ALSA: Card 0, Device 0, Subdevice 0
ALSA: set format - 16bits Little Endian (static)
ALSA: set samplerate - 44100
ALSA: set channels - 2
ALSA: set format to sound card
LAMIP: open with 2@44100Hz (song with: 2@44100Hz) (control.c/179)
ALSA: write error Unknown error 944
...
DEBUG :LAMIP - lamip_stop
ALSA: write error Unknown error 944
DEBUG :LAMIP - lamip_close
DEBUG :THREAD-EXIT
DEBUG :playback thread stopped
-------

I have the following on my system:
ALSA-driver-1.0.8
ALSA-lib-1.0.8

Thanks!

Replies


Author: jopher, 2005-03-01 17:01:33
Oops, I forgot: I'm using LAMIP-0.0.2

Author: ciberfred, 2005-03-01 17:46:05
try using more uptodate sources please, 0.0.2 is too old, and the 0.0.3 is not finished but it's more usuable and bugs free from the 0.0.2

Author: jopher, 2005-03-02 06:38:41
I tried to compile 0.0.3, 'configure' went OK, 'make' gave me these:

util_url.c: In function `lamip_url_getURL':
util_url.c:328: error: `HTTP_PREFIX' undeclared (first use in this function)
util_url.c:328: error: (Each undeclared identifier is reported only once
util_url.c:328: error: for each function it appears in.)
util_url.c:328: error: `HTTP_PREFIX_LENGTH' undeclared (first use in this function)
make[1]: *** [lamip-util_url.o] Error 1
make[1]: Leaving directory `/home/jopher/lamip-test/lamip/src'
make: *** [all-recursive] Error 1


Author: jopher, 2005-03-02 13:58:53
I caught phadsge at #lamip earlier and asked him about the above problem.

He advised me to do './configure --enable-network' (I tried with --disable-network, and just ./configure yesterday, but with no luck)

I haven't got libcurl, so I installed it. After that, 'configure' and 'make' was OK.

Thanks, guys!

Author: jopher, 2005-03-02 14:03:58
I'm now using ALSA output and mp3s play fine now.

Author: ciberfred, 2005-03-02 16:46:04
good a new bug to fix :) thanks for report :)

Reply

Name : Email :