Ricardo Biehl wrote: > In this way, can I get the offset of hardware pointer in my pcm char device > mmaped area with: > > offset_in_buffer = hw_ptr % buffer_size; ? Are you talking about code in your driver (where you are responsible for asking the hardware), or user space code (where you must not directly read hw_ptr)? What is the actual problem you're trying to solve? Regards, Clemens _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel