under OS X 10.11 with LiveCode 7.1 I'm not able to record audio files. Any idea, why?
The main code is this
Code: Select all
on mouseUp
set the recordInput to "imic" -- Internes Mikrophon
set the recording to true
set the recordRate to 48
put specialfolderpath("desktop") & "/" into tPathToDesktop
set the defaultFolder to tPathToDesktop
put tPathToDesktop & "revTest.wav" into tDatei
if there is a file tDatei then delete file tDatei
open file tDatei
record sound file tDatei
do StartVorlesen -- Script in Card
wait 10 ticks
stop recording
close file tDatei
set the recording to false
end mouseUp
[img] [/img]
Best regard.