[maemo-developers] [maemo-developers] problem with gstreamer and dsppcm
From: Reinhard Enders Reinhard.Enders at gmx.deDate: Fri Aug 18 10:44:58 EEST 2006
- Previous message: [maemo-developers] Re: problems with gstreamer
- Next message: [maemo-developers] problem with gstreamer and dsppcm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
    - Previous message: [maemo-developers] Re: problems with gstreamer
- Next message: [maemo-developers] problem with gstreamer and dsppcm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
