aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-audio-src.c
Commit message (Collapse)AuthorAgeFilesLines
* In the gst 0.10 case, link the volume element to capsfilterSjoerd Simons2012-09-031-4/+6
|
* Port to gstreamer 1.0Sjoerd Simons2012-09-031-17/+22
|
* Remove the level and rms measurementsSjoerd Simons2012-08-291-152/+2
| | | | | The UI hasn't used the RMS and peak values from the input source for a while, so lets remove it.
* Remove libempathy-gtk dependency on gstreamerSjoerd Simons2012-08-291-3/+3
| | | | | | libempathy-gtk uses gstreamer directly only for one utility function used by empathy-call. Split this one out into a call specific utility file.
* add empathy_audio_src_set_mute()Guillaume Desmottes2012-06-181-0/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678167
* audio-src: mutex is now on the stackGuillaume Desmottes2012-05-211-2/+2
|
* Merge branch 'gnome-3-4'Guillaume Desmottes2012-05-211-142/+82
|\ | | | | | | | | | | | | Conflicts: NEWS configure.ac src/empathy-audio-src.c
| * audiosrc: Don't use stream volumes properties if the src doesn't support themSjoerd Simons2012-05-211-2/+12
| |
| * audio input: Switch to stream volumesSjoerd Simons2012-05-211-142/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Newer gstreamer & pulseaudio support the stream volume interface for input as well. Prefer this over using the mixer interface as it's both simpler and actually does as intended. Besides that the mixer interface is buggy and seems to not correctly adjust the current input device if the source was switch to a non-default input. As an extra put in a volume element to locally enforce the current mute state. This ensure that whatever happens, if the UI says mute, the stream is guaranteed to be muted. This prevents awkward situations if the source element doesn't support stream volumes or the notification is buggy (like with current pulsesrc in releases).
* | Allocate GMutex on the stackGuillaume Desmottes2012-04-051-27/+28
|/ | | | | | g_mutex_new() has been deprecated in GLib 2.31. https://bugzilla.gnome.org/show_bug.cgi?id=662662
* Properly cast buffer and latency times when setting propertiesGuillaume Desmottes2011-11-301-1/+1
| | | | | | | | | This fix a crash on 32 bits system as gcc can't figure out the right size of the value. Thanks to Raluca-Elena Podiuc for her help in debugging this. https://bugzilla.gnome.org/show_bug.cgi?id=665171
* audio-src,audio-sink: Use lower latency values on pulsesrc/pulsesinkArun Raghavan2011-11-221-0/+3
| | | | | | | | | This sets the pulsesink and pulsesrc buffer/latency parameters to be lower and more voip-friendly. If the system cannot provide or keep up with these values, PulseAudio will automatically try to adapt and provide larger values that are achievable. https://bugzilla.gnome.org/show_bug.cgi?id=663124
* Add mute support to the audio sourceSjoerd Simons2011-11-191-15/+72
|
* Let the audio source control the volume, not a software volume elementSjoerd Simons2011-11-181-39/+179
| | | | | | | | | | There is no point in amplifying the mic level is it's too low or too high as it either doesn't have enough information or it is clipping. Instead tell pulsesrc what it should do, so it can adjust the hardware volume for us. Also listen to changed done by pulsesrc so we can track volume updates and feed back the settings properly
* Don't turn on echo cancellation on the sink if it's for raw conferencesSjoerd Simons2011-11-111-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=663842
* Don't turn on echo cancellation on the source if it's for raw conferencesSjoerd Simons2011-11-111-3/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=663842
* audio-src: Add a caps filter to select appropriate input formatArun Raghavan2011-11-091-1/+19
| | | | | | | | | | 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.
* Include config.h in a bunch of filesGuillaume Desmottes2011-10-251-0/+1
| | | | | They use deprecated API (g_mutex_new) but we still want to use it for now so they need to have GLIB_DISABLE_DEPRECATION_WARNINGS defined.
* Don't try to access non-existing propertiesSjoerd Simons2011-10-131-5/+20
|
* Use g_cclosure_marshal_generic for all signalsXavier Claessens2011-09-281-3/+2
| | | | No more ugly marshallers \o/
* audio-src: make supports_changing_mic publicJonny Lamb2011-08-181-1/+1
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* mic-monitor: move the PA-specific stuff from audio-src to hereJonny Lamb2011-08-181-340/+56
| | | | | | Sorry for another big commit. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Get the env variable in create_{src,sink} directlyGuillaume Desmottes2011-08-151-2/+5
|
* Use gst_parse_bin_from_description() when EMPATHY_AUDIO_* vars are setGuillaume Desmottes2011-08-151-14/+33
| | | | Also factor out empathy_call_set_stream_properties().
* Set stream-properties on GStreamer elements to set the media roleGuillaume Desmottes2011-08-151-0/+9
|
* audio-src: check for new enough pulsesrc before trying to change micsJonny Lamb2011-07-301-0/+32
| | | | | | | | This means this feature will automatically start working when a new enough pulsesrc is used. Making _get_microphones() fail has a nice side-effect that the Edit menu item doesn't appear at all. Neat. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* audio-src: update to newer GstPulseSrc APIJonny Lamb2011-07-291-18/+18
| | | | | | This time it's actually merged to master. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* audio-src,mic-menu: use DEBUG macrosJonny Lamb2011-07-291-1/+4
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* audio-src: only call operations_run when PA is readyJonny Lamb2011-07-291-2/+2
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* audio-src: add is_monitor boolean to mic structJonny Lamb2011-07-291-3/+7
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* audio-src: don't ignore monitorsJonny Lamb2011-07-291-4/+0
| | | | | | pavucontrol doesn't... Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* audio-src: add comment about values for unknown valuesJonny Lamb2011-07-291-0/+2
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* audio-src: set property IDs properlyJonny Lamb2011-07-291-2/+2
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* audio-src: listen to PA state changes and signal accordinglyJonny Lamb2011-07-291-14/+104
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* audio-src: add some comments explaining the PA changesJonny Lamb2011-07-291-0/+6
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* audio-src: add API for getting the mic source IDJonny Lamb2011-07-291-0/+68
| | | | | | | Also listen out for changes in the source output ID (but that'll only happen if we go READY -> NULL -> READY again). Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* audio-src: add API for changing microphoneJonny Lamb2011-07-281-0/+79
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* audio-src: add the source name to the microphone info structJonny Lamb2011-07-281-0/+2
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* audio-src: add API to query available microphonesJonny Lamb2011-07-281-0/+197
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* audio-src: remove the element-added stuffJonny Lamb2011-07-281-30/+0
| | | | | | Now that we hard-code pulsesrc, this is unnecessary. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* audio-src: allow changing the audio source elementJonny Lamb2011-07-281-1/+6
| | | | | | Better than nothing, right? Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* audio-src: use pulsesrc instead of gconfaudiosrcJonny Lamb2011-07-281-1/+1
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Move farsight-using sources to srcEmilio Pozuelo Monfort2011-02-211-0/+387
And only build them for empathy-av, since they use farsight.