audio Recording crashes on stop recording

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
bobcoffee
Posts: 10
Joined: Tue Jan 15, 2013 7:24 am

audio Recording crashes on stop recording

Post by bobcoffee » Tue Jan 15, 2013 7:34 am

I am trying to incorporate audio recording into a small program but the LC development authoring tool, as well as the ported version for windows desktop crashes when stop recording command is called. It successfully records about 5-6 times but then crashes seemingly randomly. The audio file gets recorded but then the program crashes immediately after the stop recording button is pressed. Are there any known issues with audio recording and the stop recording command?

I have checked the paths and folder system and that doesn't seem to be the problem. Many of the audio recordings (usually 2-20 seconds) get recorded successfully. Anyone else ever have this type of problem?

I have LC version 5.5.3 on Windows 8

I am using the following audio recording settings
set the recordRate to 44.1
set the recordSampleSize to 16
set the recordInput to "dflt"
set the recordFormat to "wave"
set the recordChannels to 1
set the recordCompression to "raw "

any ideas as where to look?

bob

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: audio Recording crashes on stop recording

Post by Simon » Tue Jan 15, 2013 9:03 pm

Hi Bob,
I haven't heard of any problems like you are describing.
Have you looked at the stack here:
http://forums.runrev.com/phpBB2/viewtop ... =recording
It's a very simple start.

Could you post a small stack that displays the problem?
Not sure I can solve it, my WAG says it's something like memory isn't getting released.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Post Reply