falkTX
05216197b4
Make JackPortRenameCallback return void, to match JACK1 API
JACK2 added this function first, but the int return has been always wrong.
When JACK1 added JackPortRenameCallback it used the proper return.
Now that JACK1 supports port renames, devs will start to use it.
(previously it didn't work properly because of the missing jack_client_t* arg)
Some code might be broken because of this, but it's a very simple change,
and existing code would have been broken when changing JACK1 to JACK2.
Finally, JACK2 code never uses the int return value of this callback.
So there's no real reason to NOT change this.
9 years ago
falkTX
fc6344e5f2
Implement new jack_port_rename API
9 years ago
Stéphane Letz
7f2ceecf02
Merge pull request #131 from jmendeth/patch-1
Correct netmanager latency reporting
9 years ago
Xavier Mendez
2cece7e29b
Correct netmanager latency reporting
9 years ago
Stéphane Letz
cd59d67847
Merge pull request #128 from maksqwe/jack_midi_event_write_fix
Fix buf nullptr dereferencing in jack_midi_event_write()
10 years ago
Maks Naumov
a4b59f6620
Fix buf nullptr dereferencing in jack_midi_event_write()
10 years ago
Stéphane Letz
b5bceb50c7
Merge pull request #125 from mseeber/fix-jack_bufsize-off-by-ten
[jack_bufsize] Fix off by 10 error
10 years ago
Markus Seeber
8a66d611b9
[jack_bufsize] Fix off by 10 error
Since help and error messages suggest, that 8192 samples is a valid
buffer size, this fixes the value in the check to 8192 instead of 8182.
10 years ago
Stéphane Letz
c9bb19a958
Merge pull request #123 from Vampouille/fix_timebase_callback
Fix return value of SetTimebaseCallback()
10 years ago
Julien Acroute
9c85871d8a
Fix return value of SetTimebaseCallback()
return value of JackGenericClientChannel->SetTimebaseCallback() instead
of -1 where there is a conditional request
10 years ago
Karl Lindén
89e6b8b71c
update .gitignore to accomodate the switch from binary based waf distribution to source based
10 years ago
Karl Lindén
cc6f7c438d
update to waf 1.8.9 (it is now stored in source form to ease downstream maintainence)
10 years ago
Karl Lindén
75c27f6505
add a script to update waf; it will come in handy now and in the future
10 years ago
Karl Lindén
adae4b538e
replace deprecated bld.add_subdirs with bld.recurse
10 years ago
Karl Lindén
1715d63cd8
drop unused Build imports
10 years ago
Karl Lindén
cf818931e4
explicitly import Logs and Options from waflib
10 years ago
Karl Lindén
eccfdb908d
replace compiler_cc with compiler_c since the former is just an alias for the latter
10 years ago
Karl Lindén
731d5759e9
replace calls to deprecated opt.tool_options with opt.load
10 years ago
Karl Lindén
d6b0620188
replace deprecated call to opt.sub_options with opt.recurse
10 years ago
Karl Lindén
bf3a21ef2a
drop calls to deprecated conf.check_tool since they have been replaced with conf.load
10 years ago
Karl Lindén
a7936d51de
replace calls to conf.sub_config with calls to conf.recurse
10 years ago
Karl Lindén
4a1934cb13
explicitly import Logs, Options, Task and Utils from waflib
10 years ago
Karl Lindén
11ee46fbbd
use Options instead of waflib.Options
10 years ago
Karl Lindén
d2c85fab0d
catch IOError instead of FileNotFoundError to not break compilation on python2
10 years ago
Nedko Arnaudov
ba9659481b
Merge pull request #120 from lilrc/master
Fix svnversion.h generation
10 years ago
Karl Lindén
5db744029a
let svnversion_regenerate.sh be a source to svnversion.h to make the waf output
look prettier
10 years ago
Karl Lindén
28fe48cd1a
generate svnversion.h before building cxx objects (so that also cxx sources can
use the header)
10 years ago
Karl Lindén
dd934f8f86
do not hardcode path to svnversion_regenerate.sh, but instead use find_resource
(fixes builds with nonstandard out directory)
10 years ago
Karl Lindén
1e096d2052
inline create_svnversion_task as it is called only once
10 years ago
Karl Lindén
9cbc7901e0
move the svnversion.h handling in build function
10 years ago
Karl Lindén
7f36813c55
fix configuration when svnversion.h exists in source directory
10 years ago
Karl Lindén
0dcd1ce2d9
fix svnversion.h generation upon dist
10 years ago
Karl Lindén
e963ff8f7c
drop unnecessary OLDPWD stuff
10 years ago
Karl Lindén
ac87950243
use dirname to always generate the svnversion.h from the correct directory
10 years ago
Stephane Letz
40341d16fb
Correct NetJack2 time out handling.
10 years ago
Nedko Arnaudov
0ae479ed02
Merge pull request #119 from lilrc/master
Document global auto option related funtions with comments...
10 years ago
Karl Lindén
7b824ef68b
document global auto option related funtions with comments rather than docstrings so that ./waf --help is not polluted with internal documentation
10 years ago
Stéphane Letz
aed15eb971
Merge pull request #78 from sdrik/pull/proxydriver-v1
Add a Proxy driver
10 years ago
Cédric Schieli
8f6c3c6d1f
Add JackProxyDriver
This driver is very similar to the JackNetDriver, but instead of connecting
through the network, it connects to its upstream server through standard jack
API. So it can only reach local servers which must be running as the same user
or in promiscuous mode.
The main use case is the multi-user, multi-session, shared workstation:
- a classic server with hw driver is launched system-wide at boot time, in
promiscuous mode, optionaly restricted to the audio group
- in each user session, a jackdbus server is automatically started with
JackProxyDriver as master driver, automatically connected to the
system-wide one
- optionaly, each user run PulseAudio with a pulse-jack bridge
10 years ago
Cédric Schieli
1cd25cb975
Add JackWaitCallbackDriver
This wrapper driver has the same usage as its parent JackWaitThreadedDriver,
but for non-threaded (callback) drivers. After waiting for Initialize to
return, its main thread simply ends instead of calling the driver's Process
method in a loop. The decorated driver, which must extends JackRestarerDriver
instead of JackWaiterDriver, can restart the wait cycle by calling its
RestartWait method.
10 years ago
Cédric Schieli
c1ae33f934
Split JackWaitThreadedDriver's Execute method
This makes it possible to use JackWaitThreadedDriver as a base class
for a non-threaded version.
10 years ago
Stéphane Letz
61efee41a7
Merge pull request #118 from mojofunk/mingw-waf-fixes
Mingw waf fixes
10 years ago
Tim Mayberry
ae66d7464a
Fix windows mingw/waf build when readline is used/present
10 years ago
Tim Mayberry
40587b7345
Fix transport example client for waf/mingw build
10 years ago
Tim Mayberry
4a6f026c93
Fix check for mmsystem.h when building with --winmme option
The mmsystem.h header check didn't include windows.h so check fails even though mmsystem.h was present.
10 years ago
Stephane Letz
2963e0bfb4
Add 'assert' for more robust code.
10 years ago
Stephane Letz
edce250039
Correct NetFloatAudioBuffer::NetFloatAudioBuffer.
10 years ago
Stephane Letz
9d0acd402f
Correct NetJack2 API.
10 years ago
Adrian Knoth
dea38860a8
Use cstdlib instead of stdlib.h
No biggie, but since this is C++, let's use the C++ includes.
10 years ago
Adrian Knoth
3c05a0b36e
Merge commit 'a450cdcc4874028a52a82207c38b39ecb1ee1d64'
Partial merge from pr/77
Setting the JACK_NO_AUDIO_RESERVATION environment variable let one skip
the audio reservation bits.
10 years ago