View Single Post
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#4
Originally Posted by vkthor View Post
Would it be possible to write the FM radio output to a buffer or something like that, effectively "pausing" the radio stream so I can listen to it a couple of seconds "behind" live streaming?
a)
I tested what comes first to my mind (warning: it is not yet working)

Connect headset for antenna, start qradio and start playing.
Then on terminal:
Code:
gst-launch autoaudiosrc device=hw:1 ! audioconvert !  queue min-threshold-time=1000000000  !  autoaudiosink
(take audio which is going to out, delay it one second and forward it back)

-> You will hear audio two times and it has bad snapping (not even smooth echo).
I don't know how to continue with that.

b) modify code of e.g. qradio. I already fetched the code, but didn't understand how it works.
Couple of other radio application listed on wiki:
http://maemo.org/packages/view/cfmradio/
http://maemo.org/packages/view/fmradio/

c) Compile gstplugin: v4l2radio e.g. from harmattan:
Code:
git clone git@gitorious.org:harmattan-projects/gst-plugins-good.git
(Source-deb would be better. Link please?)
Harmattan use newer gstreamer, so plugin might need code modifications and then it could work.


And use it: http://harmattan-dev.nokia.com/docs/...v4l2radio.html

I'm not sure would it then just work. There are example for Ubuntu where audio comes from mic and goes to speaker:
http://ubuntuforums.org/showthread.php?t=1189559
 

The Following User Says Thank You to AapoRantalainen For This Useful Post: