summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2010-09-10 07:39:31 (GMT)
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2010-09-10 07:39:31 (GMT)
commitc89e4c7d6788621d0ae62a19ab7ca98575939ede (patch)
treed9a71ef742c23f4a166fbbdf2003e79c88cc5877
parentf75cdaccc556f95acc5e773d72befe7482b1342b (diff)
downloadtelepathy-stream-engine-c89e4c7d6788621d0ae62a19ab7ca98575939ede.tar.gz
telepathy-stream-engine-c89e4c7d6788621d0ae62a19ab7ca98575939ede.tar.xz
Force audio caps to be 16 bits int
-rw-r--r--src/audiostream.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audiostream.c b/src/audiostream.c
index 969892a..30093df 100644
--- a/src/audiostream.c
+++ b/src/audiostream.c
@@ -397,7 +397,8 @@ tp_stream_engine_audio_stream_make_src_bin (TpStreamEngineAudioStream *self,
GError **error)
{
const gchar *audiosrc = "pulsesrc ! "
- "capsfilter caps=\"audio/x-raw-int,rate=(int)8000,channels=(int)1\"";
+ "capsfilter caps=\"audio/x-raw-int,rate=(int)8000,channels=(int)1,"
+ "width=(int)16,height=(int)16\"";
if (g_getenv ("FS_AUDIOSRC"))
audiosrc = g_getenv ("FS_AUDIOSRC");