Skip to contentSkip to conversation

Alsa - readi() - segmentation fault

DISCUSSION Christian Bjerreskov 1 participant 1 message Apr 1, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi

I have a problem concerning the format of the alsa lib api. In the program I use the format SND_PCM_FORMAT_S16_LE and therefore the data array is decleared as a short int. But when the size of the data array succeeds 512 I get a segmentation fault. To me it looks like it's the readi() that fails...!

Hope someone will be able to guide me down the right path!

Christian

___________________________________________________________
WIN FREE WORLDWIDE FLIGHTS - nominate a cafe in the Yahoo! Mail Internet Cafe Awards www.yahoo.co.uk/internetcafes

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click