Patches item #1528580, was opened at 2006-07-25 21:19 Message generated for change (Comment added) made by zmoelnig 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: Pending Resolution: Fixed
Priority: 5 Private: No 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
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2007-12-17 21:37
Message: Logged In: YES user_id=564396 Originator: NO
at least with 0.41 this seems to be fixed.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1528580...