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.
sletz a7e8377441 rebase from trunk 4083:4180 14 years ago
..
JackRouter rebase from trunk 4083:4180 14 years ago
Release/bin Switch jackmp filenames to jack on windows. 16 years ago
Setup rebase from trunk 4083:4180 14 years ago
portaudio rebase from trunk 4083:4180 14 years ago
winmme rebase from trunk 3899:3916 15 years ago
JackAtomic_os.h Fix a SMP related bug introduced in rev 2957 : remove the __SMP__ flag and define LOCK for SMP in all cases. 16 years ago
JackCompilerDeps_os.h rebase from trunk 3930:3966 15 years ago
JackNetWinSocket.cpp rebase from trunk 3930:3966 15 years ago
JackNetWinSocket.h rebase from trunk 3930:3966 15 years ago
JackPlatformPlug_os.h rebase from trunk 3966:4004 15 years ago
JackShmMem_os.h rebase from trunk 3930:3966 15 years ago
JackSystemDeps_os.h rebase from trunk 4083:4180 14 years ago
JackTypes_os.h rebase from trunk 4083:4180 14 years ago
JackWinEvent.cpp rebase from trunk 3930:3966 15 years ago
JackWinEvent.h rebase from trunk 3930:3966 15 years ago
JackWinMutex.h rebase from trunk 3930:3966 15 years ago
JackWinNamedPipe.cpp rebase from trunk 3930:3966 15 years ago
JackWinNamedPipe.h rebase from trunk 3930:3966 15 years ago
JackWinNamedPipeClientChannel.cpp rebase from trunk 4083:4180 14 years ago
JackWinNamedPipeClientChannel.h rebase from trunk 4083:4180 14 years ago
JackWinNamedPipeNotifyChannel.cpp rebase from trunk 3930:3966 15 years ago
JackWinNamedPipeNotifyChannel.h rebase from trunk 3930:3966 15 years ago
JackWinNamedPipeServerChannel.cpp rebase from trunk 4083:4180 14 years ago
JackWinNamedPipeServerChannel.h rebase from trunk 4041:4083 14 years ago
JackWinNamedPipeServerNotifyChannel.cpp rebase from trunk 3813:3899 15 years ago
JackWinNamedPipeServerNotifyChannel.h rebase from trunk 3930:3966 15 years ago
JackWinProcessSync.cpp rebase from trunk 3930:3966 15 years ago
JackWinProcessSync.h rebase from trunk 3930:3966 15 years ago
JackWinSemaphore.cpp rebase from trunk 3930:3966 15 years ago
JackWinSemaphore.h rebase from trunk 3930:3966 15 years ago
JackWinServerLaunch.cpp rebase from trunk 3563:3613 16 years ago
JackWinThread.cpp rebase from trunk 4083:4180 14 years ago
JackWinThread.h rebase from trunk 4083:4180 14 years ago
JackWinTime.c rebase from trunk 3930:3966 15 years ago
README rebase from trunk 3930:3966 15 years ago
getopt.c First import 18 years ago
getopt.h Cleanup, documentation. 17 years ago
getopt1.c Merge windows branch back to trunk. 17 years ago
jack_audioadapter.cbp Correct Profiling target 16 years ago
jack_connect.cbp Correct Profiling target 16 years ago
jack_connect.dsp Merge windows branch back to trunk. 17 years ago
jack_disconnect.cbp rebase from trunk 3813:3899 15 years ago
jack_dummy.cbp rebase from trunk 4041:4083 14 years ago
jack_freeverb.dsp Merge windows branch back to trunk. 17 years ago
jack_latent_client.cbp rebase from trunk 4083:4180 14 years ago
jack_load.cbp Correct Profiling target 16 years ago
jack_load.dsp Merge windows branch back to trunk. 17 years ago
jack_loopback.cbp rebase from trunk 4041:4083 14 years ago
jack_lsp.cbp Correct Profiling target 16 years ago
jack_lsp.dsp Merge windows branch back to trunk. 17 years ago
jack_metro.cbp Correct Profiling target 16 years ago
jack_metro.dsp Merge windows branch back to trunk. 17 years ago
jack_netadapter.cbp Correct Profiling target 16 years ago
jack_netdriver.cbp Correct Profiling target 16 years ago
jack_netdriver.dsp Compiles again with VC++ 17 years ago
jack_netmanager.cbp Correct Profiling target 16 years ago
jack_netmanager.dsp Merge windows branch back to trunk. 17 years ago
jack_netonedriver.cbp rebase from trunk 3813:3899 15 years ago
jack_netsource.cbp rebase from trunk 3813:3899 15 years ago
jack_portaudio.cbp Correct Profiling target 16 years ago
jack_portaudio.dsp Compiles again with VC++ 17 years ago
jack_simple_client.dsp Merge windows branch back to trunk. 17 years ago
jack_test.cbp Correct Profiling target 16 years ago
jack_test.dsp Merge windows branch back to trunk. 17 years ago
jack_unload.cbp Correct Profiling target 16 years ago
jack_unload.dsp Merge windows branch back to trunk. 17 years ago
jack_winmme.cbp rebase from trunk 3482:3502 16 years ago
jackaudioadapter.rc rebase from trunk 4083:4180 14 years ago
jackd.cbp Correct Profiling target 16 years ago
jackd.rc rebase from trunk 4083:4180 14 years ago
jackd.workspace rebase from trunk 4083:4180 14 years ago
jackdmp.dsp Merge windows branch back to trunk. 17 years ago
jackdmp.dsw Merge windows branch back to trunk. 17 years ago
jackdummydriver.rc rebase from trunk 4083:4180 14 years ago
jackloopbackdriver.rc rebase from trunk 4083:4180 14 years ago
jacknetadapter.rc rebase from trunk 4083:4180 14 years ago
jacknetdriver.rc rebase from trunk 4083:4180 14 years ago
jacknetmanager.rc rebase from trunk 4083:4180 14 years ago
jacknetonedriver.rc rebase from trunk 4083:4180 14 years ago
jackportaudio.rc rebase from trunk 4083:4180 14 years ago
jackwinmme.rc rebase from trunk 4083:4180 14 years ago
jdelay.dsp Merge windows branch back to trunk. 17 years ago
libjack.cbp rebase from trunk 4083:4180 14 years ago
libjack.rc rebase from trunk 4083:4180 14 years ago
libjackmp.dsp Merge windows branch back to trunk. 17 years ago
libjacknet.cbp Add Windows project for libjacknet. 16 years ago
libjacknet.rc Add Windows project for libjacknet. 16 years ago
libjackserver.cbp rebase from trunk 3930:3966 15 years ago
libjackserver.rc rebase from trunk 4083:4180 14 years ago
libjackservermp.dsp Merge windows branch back to trunk. 17 years ago
libsamplerate-0.lib Merge windows branch back to trunk. 17 years ago
multiple_metro.cbp Correct Profiling target 16 years ago
resource.h Merge windows branch back to trunk. 17 years ago
resource.rc rebase from trunk 4083:4180 14 years ago
resource_vc.h rebase from trunk 3563:3613 16 years ago
samplerate.h Merge windows branch back to trunk. 17 years ago
testSynchoServerClient.dsp Merge windows branch back to trunk. 17 years ago
testSynchroClient.dsp Merge windows branch back to trunk. 17 years ago
testSynchroServer.dsp Merge windows branch back to trunk. 17 years ago

README

-------------------------------

JACK2 on Windows
-------------------------------

This folder contains all the windows specific sources.
You will also find two sets of files :
- VisualC++6 workspace and project files, in order to compile JACK with MSVC
- Code::Blocks (8.02) workspace and project files, in order to compile JACK with MingW

The built binaries will be located in '/Release/bin' (or '/Debug/bin' if you build the Debug target). Once compiled, you'll find there everything you need :
- the two 'libjackmp.dll' and 'libjackservermp.dll', client and server jack libraries
- the 'jackdmp.exe', main application : the JACK server
- the 'jack_xxx.exe' utilities and examples
- in the jackmp directory, you'll find the driver's DLL's ('jack_portaudio.dll' and 'jack_netdriver.dll') and some tools ('netmanager.dll', 'audioadapter.dll', 'netadapter.dll' for example)

In Code::Blocks all the projects are automatically built in a correct order (dll's then apps) by doing 'build->build workspace'.
In VC6, you'll have to build the projects one by one.

The needed regexp library TRE can be found here http://laurikari.net/tre/. Unzip and place the "tre-0.8.0" folder into the "windows" folder.
Then edit and comment "#define snprintf sprintf_s" at the end off the "tre-0.8.0/win32/config.h" file before building the JACK project.

-------------------------------
Notes about VC and GCC versions
-------------------------------

The Visual Studio workspace is limited to VC6. JACK will not compile on most recent MSVC's. The fact is recent compilers (MSVC7, 8 or 9) don't agree with some of the JACK sources.
But now you can compile JACK using GCC, with MingW.
The project is actually organized in a Code::Blocks workspace. This is a simple and efficient way to compile the whole project.

But for some reasons, you need to compile JACK using a SJLJ version of G++ (available on MingW website).
Current GCC/G++ version (3.4.5) doesn't includes SJLJ so you'll have to use another one.
JACK needs the use of SJLJ exceptions instead of DW2 because exceptions are exchanged between DLL's, and DW2 does not allow to throw an exception out of a DLL, so it wouldn't be cought.

The ressources files has been created with ResEdit (ANSI build). VisualStudio uses 'ressource.rc' and 'ressource_vc.h'. The other files are used by MingW.

You can make a small installer ('setup.exe') with CreateInstallFree, a little freeware. For this you have the little script 'jack.ci'.The installer contains everything jack needs to be intagreted in windows (including register entries and shortcuts).
A binary version of qjackctl is also included.

-------------------------------
Running JACK on Windows
-------------------------------

You can use two drivers : PortAudio and NetDriver.
The PortAudio backend allow the use of many soundcards, using ASIO, DirectSound or WMME drivers (any ASIO driver can be seen by PortAudio).
The NetDriver allow you to use NetJack2 on windows. Thus you can easily exchange midi and audio streams bitween computers (Linux, MacOSX or Windows).
In both cases, you have to use the minimalist :
'jackd -R -d ...' command. With PortAudio, you can have a list of supported drivers with :
'jackd -R -S -d portaudio -l'

Other options still stay the same.
You can also pick a binary of Qjackctl, but this is still in development.

-------------------------------
Running Jack on windows
-------------------------------

More information at : 'http://www.grame.fr/~letz/jackdmp.html'.

For any question or suggestion, you can refer to the mailing list 'jack-devel@jackaudio.org'
Enjoy JACK on windows... ;-)