gstreamer/ext/pulse
Tim-Philipp Müller f325935314 pulse, speexenc, rtpgsmpay: don't use g_assert() for error handling
Don't use g_assert() for error handling, even if they're highly unlikely.
Either we *know* that something can't happen, in which case we
should just not handle it, or we think something can happen, but it is
very very unlikely that it will ever happen, in which case we should
handle it like any other error instead of asserting.

g_assert() is best left for conditions we have control of, like checking
internal consistency of our code, not checking return values of external
code.

Fixes a bunch of warnings when compiling with -DG_DISABLE_ASSERT:
gstrtpgsmpay.c: In function 'gst_rtp_gsm_pay_handle_buffer':
gstrtpgsmpay.c:130:17: warning: variable 'rtpgsmpay' set but not used
gstspeexenc.c: In function 'gst_speex_enc_encode':
gstspeexenc.c:904:19: warning: variable 'written' set but not used
pulsesink.c: In function 'gst_pulsesink_change_state':
pulsesink.c:2725:9: warning: variable 'res' set but not used
pulsesrc.c: In function 'gst_pulsesrc_change_state':
pulsesrc.c:1253:7: warning: variable 'e' set but not used
2011-04-16 18:15:43 +01:00
..
Makefile.am build: Makefile.am cleanups 2010-03-18 21:34:24 +00:00
plugin.c i18n: build fixes: #if -> #ifdef for ENABLE_NLS 2010-03-22 17:26:37 +02:00
pulsemixer.c ext: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs 2010-06-06 18:00:22 +02:00
pulsemixer.h Add pulseaudio GStreamer element from gst-pulse. Development will continue here instead of pulseaudio SVN. Fixes bug ... 2008-06-10 06:45:33 +00:00
pulsemixerctrl.c pulsemixer: Implement MIXER_FLAG_AUTO_NOTIFICATIONS 2010-12-11 16:08:40 +11:00
pulsemixerctrl.h pulsemixer: Implement MIXER_FLAG_AUTO_NOTIFICATIONS 2010-12-11 16:08:40 +11:00
pulsemixertrack.c ext/pulse/: Use GST_BOILERPLATE everywhere and fix coding style at some places. 2008-08-20 17:46:48 +00:00
pulsemixertrack.h Add pulseaudio GStreamer element from gst-pulse. Development will continue here instead of pulseaudio SVN. Fixes bug ... 2008-06-10 06:45:33 +00:00
pulseprobe.c pulse: mainloop creation can fail too, so handle that 2009-10-17 08:48:23 +02:00
pulseprobe.h pulse: make a few things smaller by making them bitfields 2009-10-17 08:48:21 +02:00
pulsesink.c pulse, speexenc, rtpgsmpay: don't use g_assert() for error handling 2011-04-16 18:15:43 +01:00
pulsesink.h pulsesink: move the shared mainloop from class to static var 2010-09-14 10:10:27 +03:00
pulsesrc.c pulse, speexenc, rtpgsmpay: don't use g_assert() for error handling 2011-04-16 18:15:43 +01:00
pulsesrc.h add "client" property 2010-12-29 17:02:40 +01:00
pulseutil.c pulse: allow setting stream properties 2010-09-07 14:20:21 +03:00
pulseutil.h pulse: allow setting stream properties 2010-09-07 14:20:21 +03:00