]> git.0d.be Git - empathy.git/commit
audio-src: Add a caps filter to select appropriate input format
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 31 Oct 2011 13:12:56 +0000 (18:42 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Wed, 9 Nov 2011 09:40:34 +0000 (15:10 +0530)
commitcec65054ff56209c3e660817830b7586b56a16d0
tree7e53f90700408c873f819f830c43466527659be3
parente5f60e1e139a55250004a3683dd7edd780b43a54
audio-src: Add a caps filter to select appropriate input format

Instead of relying on the default caps that the pipeline selects (which
will usually end up being float32 stereo at 44.1kHz), this sets a caps
filter to select the format we want from pulsesrc -- s16ne mono at 32kHz.

The point of this is to do resampling/conversion as early in the
pipeline as possible, decreasing the amount of data that needs to be
carried around and thus improving performance a bit.
src/empathy-audio-src.c