Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstOssSrc:osssrc0: Could not open audio device for recording.
Additional debug info:
gstosssrc.c(380): gst_oss_src_open (): /GstPipeline:pipeline0/GstOssSrc:osssrc0:
Unable to open device /dev/dsp for recording: No such file or directory
Setting pipeline to NULL ...
Freeing pipeline ...
Recording the audio in Gnomeradio (Ubuntu 12.04 LTS) is far too complicated task.
TEST CASE:
1. Try to record audio with gnomeradio function:
OUTPUT THIS ERROR:
(gnomeradio:22694): gnomeradio-WARNING **: GStreamer runtime error: Could not open audio device for recording.
2. Try to record audio with gnomeradio started and gstreamer command line:
$ gst-launch-0.10 osssrc ! audioconvert ! wavenc ! filesink location=record.wav
OUTPUT THIS ERROR:
Setting pipeline to PAUSED ... pipeline0/ GstOssSrc: osssrc0: Could not open audio device for recording. pipeline0/ GstOssSrc: osssrc0:
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:
Additional debug info:
gstosssrc.c(380): gst_oss_src_open (): /GstPipeline:
Unable to open device /dev/dsp for recording: No such file or directory
Setting pipeline to NULL ...
Freeing pipeline ...
$ gst-launch-0.10 autoaudiosrc ! audioconvert ! wavenc ! filesink location=record.wav
OUTPUT THIS SUCCES:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstAudioSrcClock
I build gnomeradio from http:// bazaar. launchpad. net/~geoubuntu/ ubuntu/ precise/ gnomeradio/ 1004761/ revision/ 8 and I tested gnomeradio record function and it's WORK!
Thanks.
The proposed solution in this geoubuntu revision:
The code in "rec_tech.c" should use either "autoaudiosrc" element insted of "osssrc" for the audio source recording.