[alsa-devel] Getting wrong offset and size value alsa library

27 Mar
2008
27 Mar
'08
12:26 a.m.
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
6244
Age (days ago)
6244
Last active (days ago)
0 comments
1 participants
participants (1)
-
Leonidas .