[alsa-devel] While writing to speaker sometimes segmentation fault comes.
Clemens Ladisch
clemens at ladisch.de
Fri Nov 22 12:07:20 CET 2013
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
More information about the Alsa-devel
mailing list