[FFmpeg-devel,0/5] macos avdevice fixes and improvements

Message ID CABWZ6ORCvLPGGMdOU8z3jSAupKkoNH+jVT8PH2UVoPdEmA+tEQ@mail.gmail.com
Headers show


Romain Beauxis Jan. 19, 2022, 2:17 p.m. UTC
This is a follow-up from a previous series of patches that fix, enhance and
cleanup support for audio and video input on macos in libavdevice. Due to
some important recent refactoring and addition, version is reset.

  libavdevice/avfoundation.m: use setAudioSettings, extend supported formats
  libavdevice/avfoundation.m: Replace mutex-based concurrency handling in
avfoundation.m by a thread-safe fifo queue with maximum length
  libavdevice/avfoundation.m: Allow to select devices by unique ID
  Use appropriate method for device discovery.
  Add AudioToolbox audio input device.

 configure                            |   5 ++
 doc/indevs.texi                      |  50 +++++++++++++++-
 libavdevice/Makefile                 |   1 +
 libavdevice/alldevices.c             |   1 +
 libavdevice/audiotoolbox_dec.m (new) | 466
 libavdevice/avfoundation.m           | 548
 6 files changed, 781 insertions(+), 290 deletions(-)
 create mode 100644 libavdevice/audiotoolbox_dec.m