[Openal-devel] Default buffer size
Lukasz Pawelczyk
havner at pld-linux.org
Sat Oct 11 11:01:42 PDT 2008
Chris Robinson wrote:
> On Saturday 11 October 2008 10:21:50 am you wrote:
>> Sound Blaster Audigy 2 ZS using ALSA, 1.0.16 kernel, 1.0.15 userspace.
>
> Out of curiousity, what drivers are you using? Is that card supported well by
> ALSA itself, or are you using Creative's drivers?
snd-emu10k1 driver. From kernel. Creative gave drivers for X-Fi only.
This card is EMU10K2 chipset. From what I've heard and always believed
this is one of the best cards you can ever get for Linux. Hardware
channel mixing, 48khz, hardware MIDI.
>> 3. Why mmap is not helping? All above tests are with it turned on. When
>> I turn it off I hear no difference. Statics appear on 2048 regardless of
>> it. How can I check whether it really works? Point me to the place in
>> code where this is determined, I'll make some printf there.
>
> In Alc/alsa.c, it'll call ALSAProc or ALSANoMMapProc depending if it's using
> mmap or not.
Before you wrote to me I've did something like that:
http://vega.livecd.pl/~havner/openal/alsa.c.diff
Output was:
open with MMAP: 1
open without MMAP: 0
With yours
http://vega.livecd.pl/~havner/openal/alsa2.c.diff
I get:
MMAP
Anyway, I do have working MMAP.
I don't suppose that on my HW or system or anything else that delay is
bigger then usually. I'd suppose it's exactly the same, it's just me
that is so sensitive about such things. While most people can live with
8192 for me it's unbearable. 1024 would be best.
Anyway, is there anything that can be done?
--
Regards Havner {jid,mail}:havner(at)pld-linux.org
"Quis custodiet ipsos custodes?"
More information about the Openal-devel
mailing list