James Almer
c6194b50b1
avdevice/alsa_dec: add a ch_layout option
...
Missed in ffc4fd3cc2 , which after
e78173557d broke setting channel count.
Should fix ticket #11434 .
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2025-02-01 01:12:17 -03:00
Marton Balint
1a90cf4410
avdevice/alsa_dec: make sure we have enough data in non-blocking mode
...
Otherwise we might return 1-2 samples per packet if av_read_frame() call rate is
only sligthly less than the stream sample rate.
Signed-off-by: Marton Balint <cus@passwd.hu >
2021-03-12 23:55:30 +01:00
Carl Eugen Hoyos
b7324950c0
lavd/alsa: Double maximum alsa buffer size.
...
Fixes recording from ATI Wonder 600 USB adapter, regression since e35c674d .
Reported and analyzed by: Marco Paolieri, paolieri at gmail
2017-11-27 14:05:28 +01:00
Ganesh Ajjanagadde
5e80a6cd31
avdevice/alsa: add av_warn_unused_result
...
This does not trigger any warnings, but adds robustness.
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
2015-10-16 07:54:36 -04:00
Michael Niedermayer
b1b58310d0
Merge commit '8d26c193fb42d08602ac93ece039d4718d029adc'
...
* commit '8d26c193fb42d08602ac93ece039d4718d029adc':
avdevice: Apply a more consistent file naming scheme
Conflicts:
libavdevice/Makefile
libavdevice/alsa.h
libavdevice/alsa_dec.c
libavdevice/alsa_enc.c
libavdevice/sndio_enc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2015-04-09 21:36:42 +02:00
Diego Biurrun
8d26c193fb
avdevice: Apply a more consistent file naming scheme
2015-04-09 16:40:12 +02:00