[vlc-devel] [PATCH 0/3] qtsound: audio capture for MAC OS X

Michael Feurstein michael.feurstein at gmail.com
Wed Oct 5 14:10:06 CEST 2011


Resubmission of patch for qtsound module including second code review.
major updates:
qtsound is now loaded in one configure option together with qtcapture via --enable-macosx-qtkit.
usage of date_t for timestamp.
raw audio data is not transcoded on the fly, however still needs to be interleaved before passing it on. QTKit doesn't provide interleaved samples; see code comments in Open() for detailed info.
minor updates:
trailing spaces, tabs removed double checked with vi (/\t and /\s\+$)
priority set to 0, short description, temp audio pointers are const, p_demux modified at end, strdup() removed, code lines with no effects removed
other info
concerning objective c and memcpy: the main module and concept have been reused from qtcapture and adapted to work for sound, therefore the same approach concerning memcpy into given buffer.

Description of patch:
This is a first attempt in integrating audio capture functionality into VLC for MAC OS X.
The patch has been tested with Built-in Microphone, Built-in Input and Griffin iMic USB audio system.
This feature can currently only be run seperately. A multiplexed solution with video is not ready yet. Development is still needed here.

Michael Feurstein (3):
  qtsound: added audio capture functionality for MAC OS X
  qtsound: UI integration of audio capture functionality for MAC OS X
  qtsound: updated news and list entry

 NEWS                                               |    1 +
 configure.ac                                       |   30 +-
 .../macosx/Resources/English.lproj/Open.xib        | 2238 ++++++++++++++++++--
 modules/LIST                                       |    3 +-
 modules/access/Modules.am                          |    1 +
 modules/access/qtsound.m                           |  562 +++++
 modules/gui/macosx/open.h                          |   10 +
 modules/gui/macosx/open.m                          |   65 +-
 8 files changed, 2697 insertions(+), 213 deletions(-)
 create mode 100644 modules/access/qtsound.m

-- 
1.7.4.1




More information about the vlc-devel mailing list