jack2 codebase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

914 lines
39KB

  1. ChangeLog
  2. #########
  3. * 1.9.19 (2021-07-15)
  4. * WIP
  5. * zalsa: add "-w" argument to wait for soundcard to be available
  6. * 1.9.18 (2021-04-15)
  7. * Add zalsa_in/out as internal client (based on zita-a2j/j2a and jack1 code)
  8. * Fix jack_midi_dump deadlock on close after the jack server is restarted
  9. * Fix interrupt signal for linux futex waits
  10. * Fix usage of meta-data in official macOS builds (private DB errors)
  11. * Log error message when cleaning previous DB (macOS and Windows)
  12. * 1.9.17 (2021-01-15)
  13. * Fix jack_control stopping after first command iteration
  14. * Fix library compat/current version under macOS
  15. * Fix return codes of jackd on success
  16. * Ignore DB_VERSION_MISMATCH error on windows, it is expected
  17. * Remove old workaround for asio4all, as it breaks with jack-router
  18. External changes, related to macOS/Windows installer:
  19. * Add jack-router to Windows installer, opt-in
  20. * Fix registry keys for Windows, add 32bit compat ones on 64bit
  21. * Support for arm64 macOS builds
  22. * Show welcome and license pages on windows installer
  23. * Update QjackCtl used in macOS/Windows installers to v0.9.0, with some commits cherry-picked from develop branch
  24. * 1.9.16 (2020-10-16)
  25. * Fix/revert a change in how meta-data definitions were exposed (regression in 1.9.15)
  26. * Remove jack-router Windows code from the repository
  27. * 1.9.15 (2020-10-15)
  28. * Automated builds for macOS and Windows (see jackaudio/jack2-releases repository)
  29. * Adapt wscript Windows build configuration to match old v1.9.11 installer
  30. * Bump maximum default number of clients and ports (now 256 clients and 2048 ports)
  31. * Delete various macOS and Windows-related files from the source code (no longer relevant)
  32. * Mark JACK-Session as deprecated, please use NSM instead
  33. * Remove unnecessary GPL include from LGPL code
  34. * Split example-clients and tools, as done in JACK1 many years ago (WIP)
  35. * Write Windows registry key during installation, so 3rd parties can find jackd.exe (as HKLM\\Software\\JACK\\Location)
  36. * jack_control: Fix handling of dbus bytes
  37. * jack_control: Return a proper exit status on DBus exception
  38. * jack_property: Fix possible crash with "-l" argument usage
  39. * jack_wait: Add client name option -n/--name
  40. * Fix compilation of documentation
  41. * Fix compilation of mixed mode with meta-data enabled
  42. * Fix compilation with mingw
  43. * Fix client-side crash if initial meta-data DB setup fails
  44. * Fix macOS semaphore usage, so it works again
  45. * Several fixes for Windows (with contributions from Kjetil S. Matheussen)
  46. * Several minor fixes and grammar corrections (with contributions from Adam Miartus and Timo Wischer)
  47. * 1.9.14 (2019-10-28)
  48. * Fix ARM build
  49. * Fix mixed mode build when meta-data is enabled
  50. * Fix blocking DBus device reservation, so it plays nice with others (like PipeWire)
  51. * Use python3 for the waf build scripts
  52. * 1.9.13 (2019-10-06)
  53. * Meta-data API implementation. (and a few tools updated with support for it)
  54. * Correct GPL licence to LGPL for files needed to build libjack.
  55. * Remove FreeBoB backend (superseded by FFADO).
  56. * define JACK_LIB_EXPORT, useful for internal clients.
  57. * Mark jack_midi_reset_buffer as deprecated.
  58. * Add example systemd unit file
  59. * Signal to systemd when jackd is ready.
  60. * Set "seq" alsa midi driver to maximum resolution possible.
  61. * Fix loading internal clients from another internal client.
  62. * Code cleanup and various fixes. (too many to mention here, see git log for details)
  63. * 1.9.12 (2017-12-13)
  64. * Fix Windows build issues.
  65. * Fix build with gcc-7.
  66. * Show hint when DBus device reservation fails.
  67. * Add support for internal session files.
  68. * 1.9.11-RC1 (2017-06-13)
  69. * Various corrections in NetJack2 code. Partial buffers can now be
  70. transmitted with libjacknet API.
  71. * Including S24_LE/BE formats to linux ALSA driver.
  72. * More robust shared memory allocator.
  73. * Allow autostart of jackd on OSX where device-names can contain spaces.
  74. * Correct CoreAudio devices aggregation code.
  75. * Waf and wscripts improvement and update.
  76. * More flexible RT priority setup on Windows.
  77. * New JackProxyDriver.
  78. * Various fixes in JACK MIDI code.
  79. * Fix return value of SetTimebaseCallback().
  80. * Correct netmanager latency reporting.
  81. * Implement new jack_port_rename and JackPortRenameCallback API.
  82. * For OSX El Capitan support, use of Posix semaphore and move of Frameworks
  83. in /Library folder.
  84. * Fix CPU hogging of the midi_thread().
  85. * Release audio devices when alsa_driver_new fails.
  86. * String management fix.
  87. * Correct JackDriver::Open: call to fGraphManager->SetBufferSize has to use
  88. current fEngineControl->fBufferSize value.
  89. * Use ARM neon intrinsics for AudioBufferMixdown.
  90. * Fix Netjack alignment.
  91. * Various wscript improvements and cleanup.
  92. * Fix initialization of several class variables.
  93. * Heap-allocate client matrix in topo sort.
  94. * Add a toggle command to transport utility, to allow toggling between play
  95. and stop state.
  96. * Avoid side effects from parsing of "version" option in jackd.
  97. * Allow firewire device be selected via -d.
  98. * Add ARM-NEON acceleration for all non-dithering sample conversion
  99. functions.
  100. * Add jack_simdtest utility.
  101. * Use Linux futex as JackSynchro.
  102. * Add autoclose option to jack_load.
  103. * 1.9.10 (2014-07-19)
  104. * More robust code in JackPortAudioDriver to handle buffer size change and
  105. backend switching.
  106. * Fix bus error on ARM platforms.
  107. * Dynamically scan and print backend and internal names in jackd.
  108. * CoreMIDI driver fixes.
  109. * Rework NetJack2 code (OPUS codec on OSX, latency management, libjacknet
  110. code).
  111. * Correct auto-connect for audioadapter.
  112. * Add IIO driver.
  113. * Merge of Nedko no-self-connect branch.
  114. * Fix freewheel mode.
  115. * JackServer::SwitchMaster now correctly notify buffer_size and sample_rate
  116. changes, cleanup/improvements in JackNetDriver.
  117. * Tim Mayberry : Add support for building with mingw compiler.
  118. * Merge of Kim Jeong Yeon Android branch.
  119. * Partial port of metadata API.
  120. * 1.9.9.5 (2012-11-26)
  121. * Adrian Knoth fix in midiseq.c.
  122. * Fix library symbols export issue.
  123. * Cleanup drivers and internals loading code.
  124. * jackctl_driver_params_parse API moved in public control.h.
  125. * More general drivers/internals loading model on Windows.
  126. * Factorize code the server/client request in JackRequestDecoder class.
  127. * More robust server/client protocol.
  128. * Implement shutdown for in server clients.
  129. * Better time-out management in NetJack2.
  130. * Experimental system port alias use in Windows JackRouter.
  131. * Improve ShutDown in NetManager.
  132. * Correct ShutDown in JackInternalClient and JackLibClient.
  133. * Fix NetJack2 initialisation bug.
  134. * Add EndTime function (especially for Windows).
  135. * Rename JackProcessSync in JackPosixProcessSync.
  136. * A bit more robust JackMessageBuffer implementation (in progress).
  137. * Check server API callback from notification thread.
  138. * Use a time-out in notification channel write function.
  139. * Fix lock management in JackEngine.
  140. * In control API, UNIX like sigset_t replaced by more abstract
  141. jackctl_sigmask_t * opaque struct.
  142. * Improve libjacknet master mode.
  143. * Remove JACK_32_64 flag, so POST_PACKED_STRUCTURE now always used.
  144. POST_PACKED_STRUCTURE used for jack_latency_range_t type.
  145. * Rework JackMessageBuffer. [firewire]
  146. * Introduce UpdateLatencies() in FFADO backend. [firewire]
  147. * Allow FFADO backend to change the buffer size.
  148. * Update waf.
  149. * New jack_get_cycle_times() implementation from Fons Adriennsen.
  150. * Align buffers to 32 byte boundaries to allow AVX processing.
  151. * Extend jack_control to have parameter reset commands.
  152. * Fix alsa driver parameter order.
  153. * Control API: Enforce driver/internal parameter order.
  154. * Fix in ALSA adapter.
  155. * Devin Anderson patch for Jack/CoreMIDI duplicated messages.
  156. * Change framework installation hierarchy for OSX Mountain Lion.
  157. * Update JackCoreAudioDriver and JackCoreAudioAdapter with more recent API.
  158. * jack_control: fix epr command.
  159. * Add opus support to NetJack2.
  160. * More robust channel mapping handling in JackCoreAudioDriver.
  161. * netjack1/netone opus support.
  162. * controlapi: fix double free on master switch.
  163. * Use string ids in the alsa device list.
  164. * netjack/opus: don't re-init en/decoders.
  165. * Correct JackPortAudioDriver::Open: special case for ASIO drivers.
  166. * 1.9.8 (2011-12-19)
  167. * Merge newer-midi branch (Devin Anderson redesign of the MIDI drivers:
  168. alsarawmidi, ffado, coremidi and winmme).
  169. * Correction in jackdmp.cpp: notify_server_stop should be done after server
  170. destruction.
  171. * Correct driver lifetime management.
  172. * Add XRun detection in PortAudio driver.
  173. * CELT code for NetJack2.
  174. * Merge branch switch-master-port-registration-notifications: correct driver
  175. port registration.
  176. * Libjacknet in progress.
  177. * Correct MIDI in NetJack2.
  178. * Correct OSX real-time thread setup.
  179. * Correct rd_acquire in dbus code.
  180. * Correct NetJack2 connection handling.
  181. * SaveConnections/RestoreConnections in NetDriver and JackAudioDriver.
  182. * Special version of jack_attach_shm/jack_release_shm on client side for
  183. POSIX shared memory, to solve a memory leak issue.
  184. * Another round of code improvements to handle completely buggy Digidesign
  185. CoreAudio user-land driver.
  186. * Special CATCH_CLOSE_EXCEPTION_RETURN to handle Close API calls.
  187. * Add JACK_NETJACK_PORT and JACK_NETJACK_MULTICAST environment variables for
  188. NetJack2. NetJack2 now only send data on network only is ports are
  189. connected both sides.
  190. * Fix for "starting two instances of same app in parallel does not work"
  191. bug.
  192. * Enable explicit channel mapping in CoreAudio driver.
  193. * New JackTimedDriver class to be used by JackDummyDriver, JackNetDriver and
  194. JackNetOneDriver classes.
  195. * More robust code in synchronization primitives and in JackMessageBuffer.
  196. * More robust Control API implementation. Add jackctl_driver_get_type in
  197. Control API.
  198. * Singleton behaviour for JackCoreMidiDriver and JackWinMMEDriver.
  199. * John Emmas patch for DSP CPU computation.
  200. * John Emmas Windows server launching patch.
  201. * Fix jack_set_port_name API.
  202. * Enable local access in NetJack2 code.
  203. * Dynamic port management in JACK/CoreMidi bridge.
  204. * 1.9.7 (2011-03-30)
  205. * Sync JackAlsaDriver::alsa_driver_check_card_type with JACK1 backend.
  206. * Correct JackServer::Open to avoid a race when control API is used on OSX.
  207. * Improve backend error handling: fatal error returned by Read/Write now
  208. cause a Process failure (so a thread exit for blocking backends).
  209. Recoverable ones (XRuns..) are now treated internally in ALSA, FreeBob and
  210. FFADO backends.
  211. * In jackdmp.cpp, jackctl_setup_signals moved before jackctl_server_start.
  212. * Correct symbols export in backends on OSX. ALSA backend: suspend/resume
  213. handling.
  214. * Correct dummy driver.
  215. * Adrian Knoth jack_lsp patch.
  216. * Remove JackPortIsActive flag.
  217. * New latency API implementation.
  218. * ComputeTotalLatencies now a client/server call.
  219. * Add latent test client for latency API.
  220. * Also print playback and capture latency in jack_lsp.
  221. jack_client_has_session_callback implementation.
  222. * Check requested buffer size and limit to 1..8192 - avoids weird behaviour
  223. caused by jack_bufsize foobar.
  224. * jack_port_type_get_buffer_size implementation.
  225. * Stop using alloca and allocate buffer on the heap for alsa_io.
  226. * Rename jdelay to jack_iodelay as per Fons' request.
  227. * Call buffer size callback in activate (actually this is done on client side
  228. in the RT thread Init method).
  229. * Add jack_midi_dump client.
  230. * Synchronize net JACK1 with JACK1 version.
  231. * Synchronize jack_connect/jack_disconnect with JACK1 version.
  232. * Correct JackNetMaster::SetBufferSize.
  233. * Use jack_default_audio_sample_t instead of float consistently, fix ticket
  234. #201.
  235. * -X now allows to add several slave backends, add -I to load several
  236. internal clients.
  237. * Rework internal slave driver management, JackServerGlobals now handle same
  238. parameters as jackdmp.
  239. * Correct JackEngine::NotifyGraphReorder, update JackDebugClient with latest
  240. API.
  241. * Devin Anderson server-ctl-proposal branch merged on trunk: improved control
  242. API, slave backend reworked. Implement renaming in JackDriver::Open to
  243. avoid name collision (thanks Devin Anderson).
  244. * Correct alsa_driver_restart (thanks Devin Anderson). Correction of
  245. jack_connect/jack_disconnect: use of jack_activate and volatile keyword for
  246. thread shared variable.
  247. * Correction of JackNetOneDriver for latest CELT API.
  248. * Synchronize JackWeakAPI.cpp with new APIs.
  249. * 1.9.6 (2010-08-30)
  250. * Improve JackCoreAudioDriver and JackCoreAudioAdapter : when no devices are
  251. described, takes default input and output and aggregate them.
  252. * Correct JackGraphManager::DeactivatePort.
  253. * Correct JackMachServerChannel::Execute : keep running even in error cases.
  254. Raise JACK_PROTOCOL_VERSION number.
  255. * Arnold Krille firewire patch.
  256. * Raise JACK_DRIVER_PARAM_STRING_MAX and JACK_PARAM_STRING_MAX to 127
  257. otherwise some audio drivers cannot be loaded on OSX.
  258. * Fix some file header to have library side code use LGPL.
  259. * On Windows, now use TRE library for regexp (BSD license instead of GPL
  260. license).
  261. * ffado-portname-sync.patch from ticket #163 applied.
  262. * Remove call to exit in library code.
  263. * Make jack_connect/jack_disconnect wait for effective port
  264. connection/disconnection.
  265. * Add tests to validate intclient.h API.
  266. * On Linux, inter-process synchronization primitive switched to POSIX
  267. semaphore.
  268. * In JackCoreAudioDriver, move code called in MeasureCallback to be called
  269. once in IO thread.
  270. * David Garcia Garzon netone patch.
  271. * Fix from Fernando Lopez-Lezcano for compilation on fc13.
  272. * Fix JackPosixSemaphore::TimedWait : same behavior as
  273. JackPosixSemaphore::Wait regarding EINTR.
  274. * David Garcia Garzon unused_pkt_buf_field_jack2 netone patch.
  275. * Arnold Krille firewire snooping patch.
  276. * Jan Engelhardt patch for get_cycles on SPARC.
  277. * Adrian Knoth hurd.patch, kfreebsd-fix.patch and alpha_ia64-sigsegv.patch
  278. from ticket 177.
  279. * Adrian Knoth fix for linux cycle.h (ticket 188).
  280. * In JackCoreAudioDriver, fix an issue when no value is given for input.
  281. * 1.9.5 (2010-02-12)
  282. * Dynamic choice of maximum port number.
  283. * More robust sample rate change handling code in JackCoreAudioDriver.
  284. * Devin Anderson patch for Jack FFADO driver issues with lost MIDI bytes
  285. between periods (and more).
  286. * Fix port_rename callback: now both old name and new name are given as
  287. parameters.
  288. * Special code in JackCoreAudio driver to handle completely buggy Digidesign
  289. CoreAudio user-land driver.
  290. * Ensure that client-side message buffer thread calls thread_init callback
  291. if/when it is set by the client (backport of JACK1 rev 3838).
  292. * Check dynamic port-max value.
  293. * Fix JackCoreMidiDriver::ReadProcAux when ring buffer is full (thanks Devin
  294. Anderson).
  295. * Josh Green ALSA driver capture only patch.
  296. * When threads are cancelled, the exception has to be rethrown.
  297. * Use a QUIT notification to properly quit the server channel, the server
  298. channel thread can then be 'stopped' instead of 'canceled'.
  299. * Mario Lang alsa_io time calculation overflow patch. Shared memory manager
  300. was calling abort in case of fatal error, now return an error in caller.
  301. * Change JackEngineProfiling and JackAudioAdapterInterface gnuplot scripts
  302. to output SVG instead of PDF.
  303. * 1.9.4 (2009-11-19)
  304. * Solaris boomer backend now working in capture or playback only mode.
  305. * Add a -G parameter in CoreAudio backend (the computation value in RT
  306. thread expressed as percent of period).
  307. * Use SNDCTL_DSP_SYNCGROUP/SNDCTL_DSP_SYNCSTART API to synchronize input and
  308. output in Solaris boomer backend.
  309. * Big endian bug fix in memops.c.
  310. * Fix issues in JackNetDriver::DecodeTransportData and
  311. JackNetDriver::Initialize.
  312. * Correct CPU timing in JackNetDriver, now take cycle begin time after Read.
  313. * Simplify transport in NetJack2: master only can control transport.
  314. * Change CoreAudio notification thread setup for OSX Snow Leopard.
  315. * Correct server temporary mode: now set a global and quit after
  316. server/client message handling is finished.
  317. * Add a string parameter to server ==> client notification, add a new
  318. JackInfoShutdownCallback type.
  319. * CoreAudio backend now issue a JackInfoShutdownCallback when an
  320. unrecoverable error is detected (sampling rate change, stream
  321. configuration change).
  322. * Correct jackdmp.cpp (failures case were not correct..).
  323. * Improve JackCoreAudioDriver code.
  324. * Raise default port number to 2048.
  325. * Correct JackProcessSync::LockedTimedWait.
  326. * Correct JACK_MESSAGE_SIZE value, particularly in OSX RPC code.
  327. * Now start server channel thread only when backend has been started (so in
  328. JackServer::Start).
  329. * Should solve race conditions at start time.
  330. * jack_verbose moved to JackGlobals class.
  331. * Improve aggregate device management in JackCoreAudioDriver: now a
  332. "private" device only and cleanup properly.
  333. * Aggregate device code added to JackCoreAudioAdapter.
  334. * Implement "hog mode" (exclusive access of the audio device) in
  335. JackCoreAudioDriver.
  336. * Fix jack_set_sample_rate_callback to have he same behavior as in JACK1.
  337. * Dynamic system version detection in JackCoreAudioDriver to either create
  338. public or private aggregate device.
  339. * In JackCoreAudioDriver, force the SR value to the wanted one *before*
  340. creating aggregate device (otherwise creation will fail).
  341. * In JackCoreAudioDriver, better cleanup of AD when intermediate open
  342. failure.
  343. * In JackCoreAudioDriver::Start, wait for the audio driver to effectively
  344. start (use the MeasureCallback).
  345. * In JackCoreAudioDriver, improve management of input/output channels: -1 is
  346. now used internally to indicate a wanted max value.
  347. * In JackCoreAudioDriver::OpenAUHAL, correct stream format setup and
  348. cleanup.
  349. * Correct crash bug in JackAudioAdapterInterface when not input is used in
  350. adapter (temporary fix).
  351. * Sync JackCoreAudioAdapter code on JackCoreAudioDriver one.
  352. * JACK_SCHED_POLICY switched to SCHED_FIFO.
  353. * Now can aggregate device that are themselves AD.
  354. * No reason to make jack_on_shutdown deprecated, so revert the incorrect
  355. change.
  356. * Thread AcquireRealTime and DropRealTime were (incorrectly) using fThread
  357. field.
  358. * Use pthread_self()) (or GetCurrentThread() on Windows) to get the calling
  359. thread.
  360. * Correctly save and restore RT mode state in freewheel mode.
  361. * Correct freewheel code on client side.
  362. * Fix AcquireRealTime and DropRealTime: now distinguish when called from
  363. another thread (AcquireRealTime/DropRealTime) and from the thread itself
  364. (AcquireSelfRealTime/DropSelfRealTime).
  365. * Correct JackPosixThread::StartImp: thread priority setting now done in the
  366. RT case only.
  367. * Correct JackGraphManager::GetBuffer for the "client loop with one
  368. connection" case: buffer must be copied.
  369. * Correct JackInfoShutdownCallback prototype, two new
  370. JackClientProcessFailure and JackClientZombie JackStatus code.
  371. * Correct JackCoreAudio driver when empty strings are given as -C, -P or -d
  372. parameter.
  373. * Better memory allocation error checking on client (library) side.
  374. * Better memory allocation error checking in ringbuffer.c, weak import
  375. improvements.
  376. * Memory allocation error checking for jack_client_new and jack_client_open
  377. (server and client side).
  378. * Memory allocation error checking in server for RPC.
  379. * Simplify server temporary mode: now use a JackTemporaryException.
  380. * Lock/Unlock shared memory segments (to test...).
  381. * Sync with JACK1 : -r parameter now used for no-realtime, realtime (-R) is
  382. now default, usable backend given vie platform.
  383. * In JackCoreAudio driver, (possibly) clock drift compensation when needed
  384. in aggregated devices.
  385. * In JackCoreAudio driver, clock drift compensation in aggregated devices
  386. working.
  387. * In JackCoreAudio driver, clock drift compensation semantic changed a bit:
  388. when on, does not activate if not needed (same clock domain).
  389. * Sync JackCoreAudioAdapter code with JackCoreAudioDriver.
  390. * 1.9.3 (2009-07-21)
  391. * New JackBoomerDriver class for Boomer driver on Solaris.
  392. * Add mixed 32/64 bits mode (off by default).
  393. * Native MIDI backend (JackCoreMidiDriver, JackWinMMEDriver).
  394. * In ALSA audio card reservation code, tries to open the card even if
  395. reservation fails.
  396. * Clock source setting on Linux.
  397. * Add jackctl_server_switch_master API.
  398. * Fix transport callback (timebase master, sync) issue when used after
  399. jack_activate (RT thread was not running).
  400. * D-Bus access for jackctl_server_add_slave/jackctl_server_remove_slave API.
  401. * Cleanup "loopback" stuff in server.
  402. * Torben Hohn fix for InitTime and GetMicroSeconds in JackWinTime.c.
  403. * New jack_free function added in jack.h.
  404. * Reworked Torben Hohn fix for server restart issue on Windows.
  405. * Correct jack_set_error_function, jack_set_info_function and
  406. jack_set_thread_creator functions.
  407. * Correct JackFifo::TimedWait for EINTR handling.
  408. * Move DBus based audio device reservation code in ALSA backend compilation.
  409. * Correct JackTransportEngine::MakeAllLocating, sync callback has to be
  410. called in this case also.
  411. * NetJack2 code: better error checkout, method renaming.
  412. * Tim Bechmann patch: hammerfall, only release monitor thread, if it has
  413. been created.
  414. * Tim Bechmann memops.c optimization patches.
  415. * In combined --dbus and --classic compilation code, use PulseAudio
  416. acquire/release code.
  417. * Big rewrite of Solaris boomer driver, seems to work in duplex mode at
  418. least.
  419. * Loopback backend reborn as a dynamically loadable separated backend.
  420. * 1.9.2 (2009-02-11)
  421. * Solaris version.
  422. * New "profiling" tools.
  423. * Rework the mutex/signal classes.
  424. * Support for BIG_ENDIAN machines in NetJack2.
  425. * D-BUS based device reservation to better coexist with PulseAudio on Linux.
  426. * Add auto_connect parameter in netmanager and netadapter.
  427. * Use Torben Hohn PI controler code for adapters.
  428. * Client incorrect re-naming fixed : now done at socket and fifo level.
  429. * Virtualize and allow overriding of thread creation function, to allow Wine
  430. support (from JACK1).
  431. * 1.9.1 (2008-11-14)
  432. * Fix jackctl_server_unload_internal.
  433. * Filter SIGPIPE to avoid having client get a SIGPIPE when trying to access
  434. a died server.
  435. * Libjack shutdown handler does not "deactivate" (fActive = false) the
  436. client anymore, so that jack_deactivate correctly does the job later on.
  437. * Better isolation of server and clients system resources to allow starting
  438. the server in several user account at the same time.
  439. * Report ringbuffer.c fixes from JACK1.
  440. * Client and library global context cleanup in case of incorrect shutdown
  441. handling (that is applications not correctly closing client after server
  442. has shutdown).
  443. * Use JACK_DRIVER_DIR variable in internal clients loader.
  444. * For ALSA driver, synchronize with latest JACK1 memops functions.
  445. * Synchronize JACK2 public headers with JACK1 ones.
  446. * Implement jack_client_real_time_priority and
  447. jack_client_max_real_time_priority API.
  448. * Use up to BUFFER_SIZE_MAX frames in midi ports, fix for ticket #117.
  449. * Cleanup server starting code for clients directly linked with
  450. libjackserver.so.
  451. * JackMessageBuffer was using thread "Stop" scheme in destructor, now use
  452. the safer thread "Kill" way.
  453. * Synchronize ALSA backend code with JACK1 one.
  454. * Set default mode to 'slow' in JackNetDriver and JackNetAdapter.
  455. * Simplify audio packet order verification.
  456. * Fix JackNetInterface::SetNetBufferSize for socket buffer size computation
  457. and JackNetMasterInterface::DataRecv if synch packet is received, various
  458. cleanup.
  459. * Better recovery of network overload situations, now "resynchronize" by
  460. skipping cycles.".
  461. * Support for BIG_ENDIAN machines in NetJack2.
  462. * Support for BIG_ENDIAN machines in NetJack2 for MIDI ports.
  463. * Support for "-h" option in internal clients to print the parameters.
  464. * In NetJack2, fix a bug when capture or playback only channels are used.
  465. * Add a JACK_INTERNAL_DIR environment variable to be used for internal
  466. clients.
  467. * Add a resample quality parameter in audioadapter.
  468. * Now correctly return an error if JackServer::SetBufferSize could not
  469. change the buffer size (and was just restoring the current one).
  470. * Use PRIu32 kind of macro in JackAlsaDriver again.
  471. * Add a resample quality parameter in netadapter.
  472. * 1.9.0 (2008-03-18)
  473. * Waf based build system: Nedko Arnaudov, Grame for preliminary OSX support.
  474. * Control API, dbus based server control access: Nedko Arnaudov, Grame.
  475. * NetJack2 components (in progress): jack_net backend, netmanager,
  476. audioadapter, netadapter : Romain Moret, Grame.
  477. * Code restructuring to help port on other architectures: Michael Voigt.
  478. * Code cleanup/optimization: Tim Blechmann.
  479. * Improve handling of server internal clients that can now be
  480. loaded/unloaded using the new server control API: Grame.
  481. * A lot of bug fix and improvements.
  482. * 0.72 (2008-04-10)
  483. * 0.71 (2008-02-14)
  484. * Add port register/unregister notification in JackAlsaDriver.
  485. * Correct JACK_port_unregister in MIDI backend.
  486. * Add TimeCallback in JackDebugClient class.
  487. * Correct jack_get_time propotype.
  488. * Correct JackSocketClientChannel::ClientClose to use ServerSyncCall instead
  489. of ServerAsyncCall.
  490. * Better documentation in jack.h. libjackdmp.so renamed to
  491. libjackservermp.so and same for OSX framework.
  492. * Define an internal jack_client_open_aux needed for library wrapper feature.
  493. * Remove unneeded jack_port_connect API.
  494. * Correct jack_port_get_connections function (should return NULL when no
  495. connections).
  496. * In thread model, execute a dummy cycle to be sure thread has the correct
  497. properties (ensure thread creation is finished).
  498. * Fix engine real-time notification (was broken since ??).
  499. * Implements wrapper layer.
  500. * Correct jack_port_get_total_latency.
  501. * Correct all backend playback port latency in case of "asynchronous" mode
  502. (1 buffer more).
  503. * Add test for jack_cycle_wait, jack_cycle_wait and jack_set_process_thread
  504. API.
  505. * RT scheduling for OSX thread (when used in dummy driver).
  506. * Add -L (extra output latency in aynchronous mode) in CoreAudio driver.
  507. * New JackLockedEngine decorator class to serialize access from ALSA Midi
  508. thread, command thread and in-server clients.
  509. * Use engine in JackAlsaDriver::port_register and
  510. JackAlsaDriver::port_unregister.
  511. * Fix connect notification to deliver *one* notification only.
  512. * Correct JackClient::Activate so that first kGraphOrderCallback can be
  513. received by the client notification thread.
  514. * New jack_server_control client to test notifications when linked to the
  515. server library.
  516. * Synchronise transport.h with latest jackd version (Video handling).
  517. * Transport timebase fix.
  518. * Dmitry Baikov patch for alsa_rawmidi driver.
  519. * Pieter Palmers patch for FFADO driver.
  520. * Add an Init method for blocking drivers to be decorated using
  521. JackThreadedDriver class.
  522. * Correct PortRegister, port name checking must be done on server side.
  523. * Correct a missing parameter in the usage message of jack_midiseq.
  524. * New SetNonBlocking method for JackSocket.
  525. * Correct a dirty port array issue in JackGraphManager::GetPortsAux.
  526. * 0.70 (2008-01-24)
  527. * Updated API to match jack 0.109.0 version.
  528. * Update in usx2y.c and JackPort.cpp to match jackd 0.109.2.
  529. * Latest jack_lsp code from jack SVN.
  530. * Add jack_mp_thread_wait client example.
  531. * Add jack_thread_wait client example.
  532. * Remove checking thread in CoreAudio driver, better device state change
  533. recovery strategy: the driver is stopped and restarted.
  534. * Move transport related methods from JackEngine to JackServer.
  535. * Tim Blechmann sse optimization patch for JackaudioPort::MixAudioBuffer,
  536. use of Apple Accelerate framework on OSX.
  537. * Remove use of assert in JackFifo, JackMachSemaphore, and
  538. JackPosixSemaphore: print an error instead.
  539. * Correct "server_connect": close the communication channel.
  540. * More robust external API.
  541. * Use SetAlias for port naming.
  542. * Use jackd midi port naming scheme.
  543. * Notify ports unregistration in JackEngine::ClientCloseAux.
  544. * Fix in JackClient::Error(): when RT thread is failing and calling
  545. Shutdown, Shutdown was not desactivating the client correctly.
  546. * 0.69
  547. * On OSX, use CFNotificationCenterPostNotificationWithOptions with
  548. kCFNotificationDeliverImmediately | kCFNotificationPostToAllSessions for
  549. server ==> JackRouter plugin notification.
  550. * On OSX, use jack server name in notification system.
  551. * Correct fPeriodUsecs computation in JackAudioDriver::SetBufferSize and
  552. JackAudioDriver::SetSampleRate.
  553. * Correct JackMachNotifyChannel::ClientNotify.
  554. * Correct bug in CoreAudio driver sample rate management.
  555. * Add a sample_rate change listener in CoreAudio driver.
  556. * Correct sample_rate management in JackCoreAudioDriver::Open.
  557. * Better handling in sample_rate change listener.
  558. * Pieter Palmers FFADO driver and scons based build.
  559. * Pieter Palmers second new build system: scons and Makefile based build.
  560. * Tim Blechmann scons patch.
  561. * Change string management for proper compilation with gcc 4.2.2.
  562. * JackLog cleanup.
  563. * Cleanup in CoreAudio driver.
  564. * Tim Blechmann patch for JackGraphManager::GetPortsAux memory leak, Tim
  565. Blechmann patch for scons install.
  566. * Dmitry Baikov MIDI patch: alsa_seqmidi and alsa_rammidi drivers.
  567. * CoreAudio driver improvement: detect and notify abnormal situations
  568. (stopped driver in case of SR change...).
  569. * 0.68 (2007-10-16)
  570. * Internal loadable client implementation, winpipe version added.
  571. * Reorganize jack headers.
  572. * Improve Linux install/remove scripts.
  573. * Use LIB_DIR variable for 64 bits related compilation (drivers location).
  574. * More generic Linux script.
  575. * Correct jack_acquire_real_time_scheduling on OSX.
  576. * Merge of Dmitry Baikov MIDI branch.
  577. * Correct JackGraphManager::GetPortsAux to use port type.
  578. * Remove JackEngineTiming class: code moved in JackEngineControl.
  579. * Add midiseq and midisine examples.
  580. * Cleanup old zombification code.
  581. * Linux Makefile now install jack headers.
  582. * Use of JACK_CLIENT_DEBUG environment variable to activate debug client
  583. mode.
  584. * Definition of JACK_LOCATION variable using -D in the Makefile.
  585. * Restore jack 0.103.0 MIDI API version.
  586. * Fix a bug in freewheel management in async mode: drivers now receive the
  587. kStartFreewheelCallback and kStopFreewheelCallback notifications.
  588. * Server and user directory related code moved in a JackTools file.
  589. * Client name rewriting to remove path characters (used in fifo naming).
  590. * Correct ALSA driver Attach method: internal driver may have changed the
  591. buffer_size and sample_rate values.
  592. * Add JackWinSemaphore class.
  593. * Add an implementation for obsolete jack_internal_client_new and
  594. jack_internal_client_close.
  595. * Add missing jack_port_type_size.
  596. * Use of JackWinSemaphore instead of JackWinEvent for inter-process
  597. synchronization.
  598. * Correct types.h for use with MINGW on Windows.
  599. * Move OSX start/stop notification mechanism in Jackdmp.cpp.
  600. * Correct CheckPort in JackAPI.cpp.
  601. * 0.67 (2007-09-28)
  602. * Correct jack_client_open "status" management.
  603. * Rename server_name from "default" to "jackdmp_default" to avoid conflict
  604. with regular jackd server.
  605. * Fix a resource leak issue in JackCoreAudioDriver::Close().
  606. * Better implement "jack_client_open" when linking a client with the server
  607. library.
  608. * Correct "jack_register_server" in shm.c.
  609. * Add missing timestamps.c and timestamps.h files.
  610. * Correctly export public headers in OSX frameworks.
  611. * Suppress JackEngine::ClientInternalCloseIm method.
  612. * Use .jackdrc file (instead of .jackdmprc).
  613. * Install script now creates a link "jackd ==> jackdmp" so that automatic
  614. launch can work correctly.
  615. * Paul Davis patch for -r (--replace-registry) feature.
  616. * Internal loadable client implementation.
  617. * Fix JackEngine::Close() method.
  618. * Windows JackRouter.dll version 0.17: 32 integer sample format.
  619. * 0.66 (2007-09-06)
  620. * Internal cleanup.
  621. * Windows JackRouter.dll version 0.16: use of "jack_client_open" API to
  622. allow automatic client renaming, better Windows VISTA support, new
  623. JackRouter.ini file.
  624. * 0.65 (2007-08-30)
  625. * Fix backend port alias management (renaming in system:xxx).
  626. * Fix a bug in JackLibClient::Open introduced when adding automatic client
  627. renaming.
  628. * Fix a bug in jack_test.
  629. * Correct JackShmMem destructor.
  630. * Correct end case in JackClient::Execute.
  631. * Correct JackMachSemaphore::Disconnect.
  632. * Implement server temporary (-T) mode.
  633. * Make "Rename" a method of JackPort class, call it from driver Attach
  634. method.
  635. * Server/library protocol checking implementation.
  636. * 0.64 (2007-07-26)
  637. * Checking in the server to avoid calling the clients if no callback are
  638. registered.
  639. * Correct deprecated jack_set_sample_rate_callback to return 0 instead of
  640. -1.
  641. * Dmitry Baikov buffer size patch.
  642. * Correct notification for kActivateClient event. Correct
  643. JackEngine::ClientCloseAux (when called from
  644. JackEngine::ClientExternalOpen).
  645. * Correct JackWinEvent::Allocate.
  646. * Automatic client renaming.
  647. * Add "systemic" latencies management in CoreAudio driver.
  648. * Automatic server launch.
  649. * Removes unneeded 'volatile' for JackTransportEngine::fWriteCounter.
  650. * 0.63 (2007-04-05)
  651. * Correct back JackAlsaDriver::Read method.
  652. * Dmitry Baikov patch for JackGraphManager.cpp. Merge JackGraphManager Remove
  653. and Release method in a unique Release method.
  654. * Dmitry Baikov jackmp-time patch : add jack_get_time, jack_time_to_frames,
  655. jack_frames_to_time. Add missing -D__SMP__in OSX project. Add new
  656. jack_port_set_alias, jack_port_unset_alias and jack_port_get_aliases API.
  657. * Steven Chamberlain patch to fix jack_port_by_id export.
  658. * Steven Chamberlain patch to fix jack_port_type. Test for jack_port_type
  659. behaviour in jack_test.cpp tool. Add jack_set_client_registration_callback
  660. API. Add "callback exiting" and "jack_frame_time" tests in jack_test.
  661. * 0.62 (2007-02-16)
  662. * More client debug code: check if the client is still valid in every
  663. JackDebugClient method, check if the library context is still valid in
  664. every API call.
  665. * Uses a time out value of 10 sec in freewheel mode (like jack).
  666. * More robust activation/deactivation code, especially in case of client
  667. crash.
  668. * New LockAllMemory and UnlockAllMemory functions.
  669. * Use pthread_attr_setstacksize in JackPosixThread class.
  670. * Add Pieter Palmers FreeBob driver.
  671. * Thibault LeMeur ALSA driver patch.
  672. * Thom Johansen fix for port buffer alignment issues.
  673. * Better error checking in PortAudio driver.
  674. * 0.61 (2006-12-18)
  675. * Tom Szilagyi memory leak fix in ringbuffer.c.
  676. * Move client refnum management in JackEngine.
  677. * Shared_ports renamed to shared_graph.
  678. * Add call to the init callback (set up using the
  679. jack_set_thread_init_callback API) in Real-Time and Notification threads.
  680. * Define a new 'kActivateClient' notification.
  681. * New server/client data transfer model to fix a 64 bits system bug.
  682. * Fix a device name reversal bug in ALSA driver.
  683. * Implement thread.h API.
  684. * 0.60 (2006-11-23)
  685. * Improve audio driver synchronous code to better handle possible time-out
  686. cases.
  687. * Correct JackWinEnvent::Allocate (handle the ERROR_ALREADY_EXISTS case).
  688. * Correct JackEngine::ClientExternalNew.
  689. * 0.59 (2006-09-22)
  690. * Various fixes in Windows version.
  691. * Signal handling in the Windows server.
  692. * Improved JackRouter ASIO/Jack bridge on Windows.
  693. * Rename global "verbose" in "jack_verbose" to avoid symbol clash with
  694. PureData.
  695. * Add a new cpu testing/loading client.
  696. * Correct server SetBufferSize in case of failure.
  697. * Correct PortAudio driver help.
  698. * Use -D to setup ADDON_DIR on OSX and Linux.
  699. * Synchronize ALSA backend with jack one.
  700. * 0.58 (2006-09-06)
  701. * Correct a bug introduced in 0.55 version that was preventing coreaudio
  702. audio inputs to work.
  703. * Restructured code structure after import on svn.
  704. * 0.57
  705. * Correct bug in Mutex code in JackClientPipeThread::HandleRequest.
  706. * ASIO JackRouter driver supports more applications.
  707. * Updated HTML documentation.
  708. * Windows dll binaries are compiled in "release" mode.
  709. * 0.56
  710. * Correct SetBufferSize in coreaudio driver, portaudio driver and
  711. JackServer.
  712. * Real-time notifications for Windows version.
  713. * In the PortAudio backend, display more informations for installed WinMME,
  714. * DirectSound and ASIO drivers.
  715. * 0.55
  716. * Windows version.
  717. * Correct management of monitor ports in ALSA driver.
  718. * Engine code cleanup.
  719. * Apply Rui patch for more consistent parameter naming in coreaudio driver.
  720. * Correct JackProcessSync::TimedWait: time-out was not computed correctly.
  721. * Check the return code of NotifyAddClient in JackEngine.
  722. * 0.54
  723. * Use the latest shm implementation that solve the uncleaned shm segment
  724. problem on OSX.
  725. * Close still opened file descriptors (report from Giso Grimm). Updated html
  726. documentation.
  727. * 0.53
  728. * Correct JackPilotMP tool on OSX.
  729. * Correct CoreAudio driver for half duplex cases.
  730. * Fix a bug in transport for "unactivated" clients.
  731. * Fix a bug when removing "unactivated" clients from the server. Tested on
  732. Linux/PPC.
  733. * 0.52
  734. * Universal version for Mac Intel and PPC.
  735. * Improvement of CoreAudio driver for half duplex cases.
  736. * 0.51
  737. * Correct bugs in transport API implementation.
  738. * 0.50
  739. * Transport API implementation.
  740. * 0.49
  741. * Internal connection manager code cleanup.
  742. * 0.48
  743. * Finish software monitoring implementation for ALSA and CoreAudio drivers.
  744. * Simpler shared library management on OSX.
  745. * 0.47
  746. * More fix for 64 bits compilation.
  747. * Correct ALSA driver.
  748. * Create a specific folder for jackdmp drivers.
  749. * Use /dev/shm as default for fifo and sockets.
  750. * "Install" and "Remove" script for smoother use with regular jack.
  751. * 0.46
  752. * Fix a bug in loop management.
  753. * Fix a bug in driver loading/unloading code.
  754. * Internal code cleanup for better 64 bits architecture support.
  755. * Compilation on OSX/Intel.
  756. * Add the -d option for coreaudio driver (display CoreAudio devices internal
  757. name).
  758. * 0.45
  759. * Script to remove the OSX binary stuff.
  760. * Correct an export symbol issue that was preventing QjackCtl to work on OSX.
  761. * Fix the consequences of the asynchronous semantic of
  762. connections/disconnections.
  763. * 0.44
  764. * Patch from Dmitry Daikov: use clock_gettime by default for timing.
  765. * Correct dirty buffer issue in CoreAudio driver. Updated doc.
  766. * 0.43
  767. * Correct freewheel mode.
  768. * Optimize ALSA and coreaudio drivers.
  769. * Correct OSX installation script.
  770. * 0.42
  771. * Patch from Nick Mainsbridge.
  772. * Correct default mode for ALSA driver.
  773. * Correct XCode project.
  774. * 0.41
  775. * Add the ALSA MMAP_COMPLEX support for ALSA driver.
  776. * Patch from Dmitry Daikov: compilation option to choose between
  777. "get_cycles" and "gettimeofday" to measure timing.
  778. * 0.4
  779. * Linux version, code cleanup, new -L parameter to activate the loopback
  780. driver (see Documentation), a number of loopback ports can be defined.
  781. Client validation tool.
  782. * 0.31
  783. * Correct bug in mixing code that caused Ardour + jackdmp to crash...
  784. * 0.3
  785. * Implement client zombification + correct feedback loop management + code
  786. cleanup.
  787. * 0.2
  788. * Implements jack_time_frame, new -S (sync) mode: when "synch" mode is
  789. activated, the jackdmp server waits for the graph to be finished in the
  790. current cycle before writing the output buffers. Note: To experiment with
  791. the -S option, jackdmp must be launched in a console.
  792. * 0.1
  793. * First published version