From: Frank E. <fe...@pu...> - 2010-01-28 01:28:01
|
hi, in my current project i use xine as multimedia library. i encountered following behaviour: 1. xine_open on an mp3 file 2. wait for some time (apx 60 seconds) 3. xine_play(0) expected behaviour would be that the playback just starts from the beginning of the file, even if i wait some time between open and play. what happens is that xine starts playing back the file and no audio is audible for apx 3 seconds - then the playback starts (at starting postion + 3secs). i also get a 'fixing sound card drift' in the log. the longer the delay between open and start, the longer it takes to xine to kick in after play. i first encountered this on 1.1.17 - i used 1.1.16 before where i did not observe this behaviour. however i also updated the kernel from 2.6.30.4 to 2.6.32.4. the system runs alsa. i worked around the problem by modifying the code to immediatley execute xine_play after xine_open. i can't exactly confirm this to be a xine bug, but maybe someone is able to cross check that behaviour. maybe it's just my system configuration or something. the attached patch to muxine reproduces the problem on my system. just run it with a mp3 file. the patched version will open the file, emitt 'opened..' to the console, wait 60 sec, start playback and emit 'playback..' to the console. after playback.. appears i have apx a 3 second delay before the playback actually is audible. regards, frank -- pureDatasystems - Enderle & Holzwarth GbR Dipl.-Ing. (FH) Frank Enderle Fronackerstrasse 39 71332 Waiblingen Tel: 0151 / 14981091 E-Mail: fe...@pu... www.puredatasystems.com |