From: Markus K. <ko...@gm...> - 2007-09-04 08:24:04
|
Thus spake Markus Korber: > I've got some serious trouble with xine-lib and ALSA playback. I'm > using a uclibc (0.9.29) based ARM toolchain (gcc-4.2.1). I've tested > with alsa-lib 1.0.13, 1.0.14a, 1.0.15rc1. > > However, all I get is stuttering sound playback from ALSA. Although, > aplay, alsaplayer, and mplayer work fine. I've now compiled alsa-lib-1.0.15rc1, xine-lib-1.1.7, and xine-ui-0.99.5 on my PC and the sound also stutters: ,---- | [...] | audio_alsa_out: Number of channels = 2 | Buffer size range from 2048 to 16384 | Period size range from 1024 to 1024 | Buffer time size 48000 | To choose buffer_size = 16384 | To choose period_size = 2048 | was set period_size = 1024 | was set buffer_size = 16384 | audio_alsa_out:open pause_resume=0 | stream : PLAYBACK | access : RW_INTERLEAVED | format : S16_LE | subformat : STD | channels : 2 | rate : 48000 | exact rate : 48000 (48000/1) | msbits : 16 | buffer_size : 16384 | period_size : 1024 | period_time : 21333 | tick_time : 0 | tstamp_mode : NONE | period_step : 1 | sleep_min : 0 | avail_min : 1024 | xfer_align : 1 | start_threshold : 1024 | stop_threshold : 16384 | silence_threshold: 0 | silence_size : 0 | boundary : 1073741824 | start_mode: DATA | xrun_mode: STOP | tstamp_mode: NONE | period_step: 1 | sleep_min: 0 | avail_min: 1024 | xfer_align: 1 | silence_threshold: 0 | silence_size: 0 | boundary: 1073741824 | output sample rate 48000 | av_offset=0 pts | spu_offset=0 pts | ao_close | ao_close | xine_play | audio discontinuity #2, type is 2, disc_off 0 | waiting for in_discontinuity update #2 | play_internal ...done | video discontinuity #2, type is 2, disc_off 0 | audio jump, diff=-2160 | audio_alsa_out:delay:ENTERED | audio_alsa_out:delay:delay all=0 err=0 | video jump | audio_alsa_out:delay: Time = 1188893730.562105 | audio_alsa_out:delay:FINISHED | audio_alsa_out:write:ENTERED | audio_alsa_out:write: Time = 1188893730.562280 | audio_alsa_out:write:count=1152 | audio_alsa_out:write: Time = 1188893730.563159 | audio_alsa_out:write:FINISHED | [...] `---- Regards, Markus Korber |