Patches item #1528580, was opened at 2006-07-25 12:19 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1528580...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: starting with "-jack" alone does not create ports
Initial Comment: Starting pd 0.39-2 with the "-jack" flag alone does not create audio i/o ports at startup. This behavior is different from, for example, starting it with "-alsa". The following patch make jack behave as alsa:
------------------------------ --- pd-0.39-2/src/s_audio.c.orig 2005-09-28 13:29:44.000000000 -0700 +++ pd-0.39-2/src/s_audio.c 2006-07-23 16:05:08.709122608 -0700 @@ -321,10 +321,16 @@ else #endif #ifdef USEAPI_JACK - if (sys_audioapi == API_JACK) + if (sys_audioapi == API_JACK) { + if (audio_naudioindev == -1 && audio_naudiooutdev == -1) { + /* if nothing specified then open the default */ + audio_naudioindev = audio_naudiooutdev = 1; + audio_audioindev[0] = audio_audiooutdev[0] = DEFAULTAUDIODEV; + audio_audiochindev[0] = audio_audiochoutdev[0] = SYS_DEFAULTCH; + } jack_open_audio((naudioindev > 0 ? realinchans[0] : 0), (naudiooutdev > 0 ? realoutchans[0] : 0), rate); - + } else #endif #ifdef USEAPI_OSS ------------------------------
-- Fernando
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1528580...