Getting wrong offset and size value alsa library

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

 



Hi,

I am trying to make my user space audio driver work, in my drivers transfer
function, I get wrong values of
offset and size and because of this the alsa buffer is not accessible to me
and I get a segfault in transfer.

The offset should range from 0 to n-1 where n is the buffer size, is this
correct? I can transfer the first chunk
of data and first time the offset as well as size are correct, but when the
transfer function is called again for
second period, offset values and size values are wrong, they are some
astronomical numbers.

-leo
_______________________________________________
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