[linux-audio-user] sox from GUI code

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Tuesday, April 26, 2005 - 6:06 pm

Hello. I'd like to rec from the microphone from my code. What I've done
is to call "sox -t ossdsp -s -r 44100 -c 1 /dev/dsp -t .wav melodia.wav
&" from my code (GUI). The problem is that I need to add the "&" at the
end, because in other case, the sistem doesn't respond. But in this way
I need to send a kill signal. This run ok in most of the cases, but not
in all of them. Sometimes, sox takes a wrong header (wrong size of the
file), which doesn't ocurr at all if i run sox from the command line
without the "&" at the end.

Does anyone have any idea that what can i do?

Thank you very much.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[linux-audio-user] sox from GUI code, lachata, (Tue Apr 26, 6:06 pm)
Re: [linux-audio-user] sox from GUI code, Erik de Castro Lopo, (Tue Apr 26, 10:29 pm)
Re: [linux-audio-user] sox from GUI code, lachata, (Wed Apr 27, 12:30 pm)
Re: [linux-audio-user] sox from GUI code, Jeremiah Benham, (Wed Apr 27, 1:44 pm)
Re: [linux-audio-user] sox from GUI code, Erik de Castro Lopo, (Wed Apr 27, 2:16 pm)
Re: [linux-audio-user] sox from GUI code, lachata, (Wed Apr 27, 11:36 pm)
Re: [linux-audio-user] sox from GUI code , Kevin Cosgrove, (Tue Apr 26, 9:39 pm)