[Alsaplayer-devel] Delay while queueing vorbis files

Hubert Chan hubert at uhoreg.ca
Sun May 28 04:25:45 BST 2006


On 2005-11-13 16:15:39 -0500 Ivan Stepaniuk <ivan at risco.com.ar> wrote:
    ^^^^^^^^^^-- heh, I really should have replied earlier...

[...]

> queueing a bunch of (more than 100) mp3 files is quite fast (~1sec)
> 
> but, queueing ogg files the same way is sssslllooowww. for 14 ogg 
> files
>   $alsaplayer --clear
>   $alsaplayer -e ./*.ogg
> it takes 43 seconds, killing the cpu
>   $alsaplayer *.ogg also takes that time. same with -i text.

 From what I can tell (running alsaplayer in gdb and killing it to get 
a backtrace), this is due to the flac plugin -- I guess ogg files can 
be either vorbis or flac files, and the flac plugin takes a long time 
to decide that it's not a flac file.

-- 
Hubert Chan - email & Jabber: hubert at uhoreg.ca - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA   (Key available at wwwkeys.pgp.net)
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA



More information about the alsaplayer-devel mailing list