Requesting audio samples using gstreamer
Benjamin M. Schwartz
bmschwar at fas.harvard.edu
Mon Oct 22 00:27:59 EDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Arjun Sarwal wrote:
> Is there a way to explicitly request samples from Alsa using gstreamer ?
Not that I'm aware of. You could set up a gstreamer pipeline that writes raw
audio into a named pipe (FIFO), and then read the data out of the FIFO in
python, throwing away data you don't want.
If you're recording from the microphone, amplifier weirdness requires an
approach like this, because the microphone must be turned on well before you
start recording (see bug 3813). I don't know if there's an amplifier between
the line-in and ADC.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Devel