Re: what is exactly pcm.boundary?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux