diff options
author | Sjoerd Simons <sjoerd@luon.net> | 2012-08-26 22:20:56 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-08-29 16:12:31 +0800 |
commit | 6e3ea627e70266d8c3739300e900a5b7bc0763bc (patch) | |
tree | 464aebbea115de0dc148ca834c9b3f2d97d344d8 /src/empathy-audio-sink.c | |
parent | f7ab6457995133ccd3fd32ce028c6c8cb1e68322 (diff) | |
download | gsoc2013-empathy-6e3ea627e70266d8c3739300e900a5b7bc0763bc.tar gsoc2013-empathy-6e3ea627e70266d8c3739300e900a5b7bc0763bc.tar.gz gsoc2013-empathy-6e3ea627e70266d8c3739300e900a5b7bc0763bc.tar.bz2 gsoc2013-empathy-6e3ea627e70266d8c3739300e900a5b7bc0763bc.tar.lz gsoc2013-empathy-6e3ea627e70266d8c3739300e900a5b7bc0763bc.tar.xz gsoc2013-empathy-6e3ea627e70266d8c3739300e900a5b7bc0763bc.tar.zst gsoc2013-empathy-6e3ea627e70266d8c3739300e900a5b7bc0763bc.zip |
Remove libempathy-gtk dependency on gstreamer
libempathy-gtk uses gstreamer directly only for one utility function
used by empathy-call. Split this one out into a call specific utility
file.
Diffstat (limited to 'src/empathy-audio-sink.c')
-rw-r--r-- | src/empathy-audio-sink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/empathy-audio-sink.c b/src/empathy-audio-sink.c index d48e6af20..ba5cab77d 100644 --- a/src/empathy-audio-sink.c +++ b/src/empathy-audio-sink.c @@ -28,7 +28,7 @@ #include <telepathy-glib/telepathy-glib.h> -#include <libempathy-gtk/empathy-call-utils.h> +#include "empathy-audio-utils.h" #include "empathy-audio-sink.h" @@ -219,7 +219,7 @@ create_sink (EmpathyGstAudioSink *self) if (sink == NULL) return NULL; - empathy_call_set_stream_properties (sink, self->priv->echo_cancel); + empathy_audio_set_stream_properties (sink, self->priv->echo_cancel); /* Set latency (buffering on the PulseAudio side) of 40ms and transfer data * in 10ms chunks */ @@ -402,6 +402,6 @@ empathy_audio_sink_set_echo_cancel (EmpathyGstAudioSink *sink, DEBUG ("Sink echo cancellation setting: %s", echo_cancel ? "on" : "off"); sink->priv->echo_cancel = echo_cancel; if (sink->priv->sink != NULL) - empathy_call_set_stream_properties (sink->priv->sink, + empathy_audio_set_stream_properties (sink->priv->sink, sink->priv->echo_cancel); } |