On Wed, 29 Oct 2008 12:51:55 +0000 Jacob Meuser <[EMAIL PROTECTED]> wrote:
> On Wed, Oct 29, 2008 at 12:03:56PM +0100, Robert wrote: > > On Mon, 27 Oct 2008 03:12:55 +0000 > > Jacob Meuser <[EMAIL PROTECTED]> wrote: > > > > > > > > perhaps some of you have noticed a new sound library has come to > > > base (sio_open(3)), and aucat(1) can act as a sound server. > > > > > > this makes SDL use the new library by default (if SDL_SUDIODRIVER > > > is not set in the environment, or you can explicitly set > > > SDL_AUDIODRIVER=libsndio). > > > > > > playing games is fun testing ;) > > > > > > if you use the aucat server, you may want to start it like > > > $ aucat -b 16384 -l (or even -b 8192 if you have a "faster" > > > machine) or you might have a longer than desired latency between > > > seeing things happen and hearing the associated sound. > > > > > > some things are much better for me with this than the current > > > audio(4), backend, such as quake2 on an azalia(4) that has limited > > > sample rates. > > > > > > > Tested with vlc on Thinkpad X200/amd64. > > > > Without aucat running, everything at 44,48,96kHz works fine. Below > > that the sound is too fast and stutters. > > vlc doesn't like SDL doing resampling. this can be observed by using > the audio(4) backend as well (env SDL_AUDIODRIVER=audio vlc). vlc > has much better resampling but you have to turn it on in the > advanced options of the preferences menu ... or use aucat. > > > With aucat running all samplerates except 44kHz and 96kHz, play > > back is too fast and stutters. (tested bad rates: 8,12,16,32,48kHz) > > I guess ratchov figured this out but you might get around this > by running aucat at 48 kHz. > > > - Robert > > > Yes, it looks to me like this is the same bug as with mpg321. actual rate of the file/rate converted from: 12000/22050 32000/33075 44100/44100 48000/55125 Thats what Alexandre is already onto. I couldn't find anything with rates other than 44 or 48kHz in my media files. Generated those others for testing. So the hardware conversion works for me, until I can help test more aucat stuff. Thanks for your work guys. - Robert