<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 5, 2011, at 3:11 PM, Rémi Denis-Courmont wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On Wed,  5 Oct 2011 14:10:07 +0200, Michael Feurstein<br><<a href="mailto:michael.feurstein@gmail.com">michael.feurstein@gmail.com</a>> wrote:<br><blockquote type="cite">Tested with Built-in Input, Built-in Microphone and Griffin iMic USB<br></blockquote>system<br><blockquote type="cite">Usage: qtsound://"Built-In Input" or qtsound://"iMic USB audio system"<br></blockquote><blockquote type="cite">---<br></blockquote><blockquote type="cite"> configure.ac              |   30 ++-<br></blockquote><blockquote type="cite"> modules/access/Modules.am |    1 +<br></blockquote><blockquote type="cite"> modules/access/qtsound.m  |  562<br></blockquote><blockquote type="cite"> +++++++++++++++++++++++++++++++++++++++++++++<br></blockquote><blockquote type="cite"> 3 files changed, 587 insertions(+), 6 deletions(-)<br></blockquote><blockquote type="cite"> create mode 100644 modules/access/qtsound.m<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">diff --git a/configure.ac b/configure.ac<br></blockquote><blockquote type="cite">index 02d7c72..a4e43be 100644<br></blockquote><blockquote type="cite">--- a/configure.ac<br></blockquote><blockquote type="cite">+++ b/configure.ac<br></blockquote><blockquote type="cite">@@ -2124,11 +2124,11 @@ then<br></blockquote><blockquote type="cite"> fi<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> dnl<br></blockquote><blockquote type="cite">-dnl QTCapture<br></blockquote><blockquote type="cite">-AC_ARG_ENABLE(macosx-qtcapture,<br></blockquote><blockquote type="cite">-  [  --enable-macosx-qtcapture Mac OS X qtcapture (iSight) module<br></blockquote><blockquote type="cite">(default enabled on Mac OS X)])<br></blockquote><blockquote type="cite">-if test "x${enable_macosx_qtcapture}" != "xno" &&<br></blockquote><blockquote type="cite">-  (test "${SYS}" = "darwin" || test "${enable_macosx_qtcapture}" =<br></blockquote>"yes")<br><blockquote type="cite">+dnl QTKit<br></blockquote><blockquote type="cite">+AC_ARG_ENABLE(macosx-qtkit,<br></blockquote><blockquote type="cite">+  [  --enable-macosx-qtkit Mac OS X qtkit framework for video and audio<br></blockquote><blockquote type="cite">(default enabled on Mac OS X)])<br></blockquote><blockquote type="cite">+if test "x${enable_macosx_qtkit}" != "xno" &&<br></blockquote><blockquote type="cite">+  (test "${SYS}" = "darwin" || test "${enable_macosx_qtkit}" = "yes")<br></blockquote><blockquote type="cite"> then<br></blockquote><blockquote type="cite">   VLC_ADD_LIBS([qtcapture], [-Wl,-framework,Cocoa])<br></blockquote><blockquote type="cite">   VLC_ADD_LIBS([qtcapture], [-Wl,-framework,QTKit])<br></blockquote><blockquote type="cite">@@ -2136,9 +2136,12 @@ then<br></blockquote><blockquote type="cite">   VLC_ADD_LIBS([qtcapture], [-Wl,-framework,QuartzCore])<br></blockquote><blockquote type="cite">   VLC_ADD_LIBS([qtcapture], [-Wl,-framework,CoreVideo])<br></blockquote><blockquote type="cite">   VLC_ADD_PLUGIN([qtcapture])<br></blockquote><blockquote type="cite">+  VLC_ADD_LIBS([qtsound], [-Wl,-framework,Cocoa])<br></blockquote><blockquote type="cite">+  VLC_ADD_LIBS([qtsound], [-Wl,-framework,QTKit])<br></blockquote><blockquote type="cite">+  VLC_ADD_LIBS([qtsound], [-Wl,-framework,CoreAudio])<br></blockquote><blockquote type="cite">+  VLC_ADD_PLUGIN([qtsound])<br></blockquote><blockquote type="cite"> fi<br></blockquote><br>There is not much point in cluttering configure with constant values. You<br>might as well pass them as _LIBADD or _LDFLAGS in the Makefile<br>(Modules.am).<br><br></div></blockquote><div><br></div></div>I now adpated all the changes (i snipped them out - too much text). This one however I can't seem to solve or find an already in use example. I looked into modules/audio_output/pulse.c and how it is loaded. Now I'm not quite sure if my approach is correct. should I:<div><br></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; ">add something like QTSOUND_LIBS = -Wl,-framework,CoreAudio -Wl,-framework,QTKit -Wl,-framework,Cocoa to the actual configure file, add the plugin in configure.ac (VLC_ADD_PLUGIN) and reference the source and libs in Modules.am (</span>libqtsound_plugin_la_SOURCES = qtsound.m libqtsound_plugin_la_LIBADD = $(AM_LIBADD) $(QTSOUND_LIBS)<span class="Apple-style-span" style="font-family: 'Lucida Grande'; ">) ?</span></div><div><div><br></div></div><div>however when looking at the configure file, i guess it is not meant for manual editing.</div><div><br></div><div>help greatly appreciated</div><div><br></div><div>Thanks!</div><div>P.S. hope the quotation is now legible</div></body></html>