On Fri, Jul 13, 2007 at 10:59:30AM +0300, Alexey Suslikov wrote: > Hello [EMAIL PROTECTED] > > After some success with sound on my 48KHz-only ALC861 > codec with preliminary patch from deanna@ (thanks), there > was no sound with xine-lib based players. > > Despite of xine's audio_sun_out.c can do resample, audio > capabilities test relies on 44KHz which is wrong nowadays. > > The patch below fixes this by checking for 48KHz too. It is > backward compatible and works for me (Kaffeine player).
committed, thanks. I also changed the code to use AUDIO_WSEEK instead of AUDIO_GETINFO to get the number of bytes in the play buffer. even on faster machines, this is noticibly more efficient. -- [EMAIL PROTECTED] SDF Public Access UNIX System - http://sdf.lonestar.org
