gstreamer/ext/alsa
Sebastian Dröge 4fe12c1b09 alsa: Use 8 bit pointer type for byte-based pointer arithmetic
Usually these loops only run once, so there's no problem here. But sometimes
they run twice, and by adding the number of bytes to a 16 bit pointer type we
would advance twice as much as we should.

Also use snd_pcm_frames_to_bytes() in alsasrc to calculate
the number of bytes to skip, same as we do in alsasink.

Thanks to Lucio A. Hernandez <lucio.a.hernandez@gmail.com> for reporting.
2015-10-14 00:33:49 +03:00
..
gstalsa.c alsa: Constify channel position table 2015-01-21 09:42:35 +01:00
gstalsa.h alsa: Add channel map API support 2013-10-09 19:05:53 +02:00
gstalsadeviceprobe.c Fix FSF address 2012-11-03 23:05:09 +00:00
gstalsadeviceprobe.h Fix FSF address 2012-11-03 23:05:09 +00:00
gstalsamidisrc.c midi: add an ALSA MIDI sequencer source 2015-10-01 21:43:21 +02:00
gstalsamidisrc.h midi: add an ALSA MIDI sequencer source 2015-10-01 21:43:21 +02:00
gstalsaplugin.c midi: add an ALSA MIDI sequencer source 2015-10-01 21:43:21 +02:00
gstalsasink.c alsa: Use 8 bit pointer type for byte-based pointer arithmetic 2015-10-14 00:33:49 +03:00
gstalsasink.h alsasink: don't use 100% CPU 2013-01-24 15:08:31 +01:00
gstalsasrc.c alsa: Use 8 bit pointer type for byte-based pointer arithmetic 2015-10-14 00:33:49 +03:00
gstalsasrc.h ext: Fix some compilation errors caused by circular header includes 2012-12-12 17:22:31 +00:00
Makefile.am midi: add an ALSA MIDI sequencer source 2015-10-01 21:43:21 +02:00