gstreamer/sys
Ilya Konstantinov 8ca40fa86f osxaudiosrc: iOS resampling causes stuttering
Fixes stuttering audio when iOS AU is resampling. To make AU resample,
one has to request a rate that differs from AVAudioSession's
sampleRate. The resampling itself is not the culprit, but rather our
API misuse.

AudioUnitRender modifies the mDataByteSize members with the
actual read bytes count. Therefore, they must be reinitialized
before each AudioUnitRender. (The buffers themselves can be
preallocated.)

The "stutter" was caused by one AudioUnitRender making the buffer
too small for other AudioUnitRender invocations, making them fail
with -50 (paramErr). By way of luck, when AU didn't resample, all
AudioUnitRender invocations read the same number of bytes.

(This patch addresses some non-interleaved audio concerns, but
at this moment the elements do not support non-interleaved audio
and non-interleaved is untested.)

https://bugzilla.gnome.org/show_bug.cgi?id=744922
2015-02-24 16:21:11 +05:30
..
directsound directsoundsink: WAVEFORMATEX is unsigned for 8 bit integers, and signed for others 2013-08-21 16:41:21 +02:00
oss oss: simplify probed caps before returning them 2014-06-13 09:52:03 +01:00
oss4 oss4: remove dead mixer code 2014-05-02 09:41:19 +01:00
osxaudio osxaudiosrc: iOS resampling causes stuttering 2015-02-24 16:21:11 +05:30
osxvideo osxvideosink: Disable hack for NSApp iteration with a special #define 2015-01-10 15:54:22 +01:00
sunaudio Don't use setlocale in plugins() 2013-09-01 21:18:38 +01:00
v4l2 v4l2: Enable copy when no known allocation params 2015-02-19 23:16:00 -05:00
waveform gst: Add better support for static plugins 2013-04-15 15:54:11 +02:00
ximage ximagesrc: remove pointless g_return_val_if_fail() 2015-02-23 20:06:25 +00:00
Makefile.am v4l2: Fix typo V4L_DIR intead of V4L2_DIR 2014-03-15 18:41:16 +01:00