Hi,
When trying to write a simple wav-recorder (with wavenc plugin simply
crosscompiled) the following shell script works fine:
gst-launch -m -v dsppcmsrc ! \
audio/x-raw-int,channels=1,rate=8000 ! \
wavenc ! filesink location="$1"
When I translate that into a C-program, top tells me about an
unreasonable amount of CPU time used up (40% by the program and
40% by Xomap!).
What's even worse, when I pause, stop or even destroy the recording
pipeline, it still eats up nearly all processing time doing absolutely
nothing - until the process is killed.
Any idea what's going on.
- The licens of dsppcmsrc/sink is LGPL, can I find the source anywhere
- instead of raw data, it would be even better to use dspilbc.
Is there a way to store the captured data to a file, in a way it can
be played back again (some wrapper)?
Thanks and Regards
Reinhard
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers