Skip to contentSkip to conversation

mmap questions

DISCUSSION vanDongen-Gilcher 1 participant 1 message Oct 28, 2002

lore
Share & tools
lore
#0 lore raw

Hi all,

With snd_pcm_mmap_begin I get the offset in the ringbuffer for the period that has just been played.
So anything I put there will only be played after bufferlength frames (a little less probably)
Is it possible to write ahead in the ringbuffer?
For instance two periods ahead?
I have tried a couple of different ways with little succes, and little understanding.

I am asking because my card (a rme96) has a fixed buffer length, and pretty bad latency in mmap mode. Normal blocked read/writes are _much_ better.

regards

Gerard

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf