
22 Nov
2013
22 Nov
'13
1:07 p.m.
ranjith vs wrote:
i'm getting segmentation fault in the snd_pcm_writei function.
Then there's something wrong with the code that calls it.
I'd guess that you computed the frames parameter as bytes.
And one more thing is that eventhough I try to set the buffer size to 4096. It is setting it's own value.
The buffer size is constrained by the hardware capabilities.
Regards, Clemens