Stephane Letz
aa6c0a9fa9
Audioadapter factory code moved back in JackAudioAdapterFactory.cpp file.
12 years ago
Stephane Letz
1fddeaa06c
Move audioadapter creation code in platform specific part.
13 years ago
Stephane Letz
cb88917543
alsa driver/adapter improvements to flexibly use playback/capture devices through dbus calls patch.
13 years ago
Stephane Letz
a7892e81ca
Alsa audioadapter open file-descriptor leak patch.
13 years ago
Nedko Arnaudov
3b12bcf186
fix alsa driver parameter order
Parameter order doesnt matter for jackd but does for jackdbus. jackd
sets parameters (via Control API) in the order they were specified at
commandline. Thus, the jackd user is expected to specify parameters in
correct order. This is not good solution for jackdbus though. jackdbus
settings persistence in ~/.config/jack/jack.xml stores parameter in
the order they are defined by the driver. OTOH the D-Bus interface
itself suggests no particular order. For example the user can change
only one parameter via the jack_control tool. Other parameters either
have their default values or the ones that were previously set are
used.
The particular ordering problem this changeset aims to fix is that when
user specifies capture/playback device and device, the first one(s)
is/are ignored. This happens because the device parameter is set after
the capture/playback device parameters. The alsa then uses the string
from the device parameter for both capture and playback devices,
despite the user wish to override one or both of them.
13 years ago
Adrian Knoth
bf4954c865
firewire: compile with FFADO versions < 9 again
ffado_streaming_set_period_size() is exposed starting r2078 of FFADO.
To avoid a build dependency on ffado-svn in jack, we copy the prototype
declaration.
Since the symbol is defined as weak, no problems arise at runtime.
13 years ago
Nedko Arnaudov
4622ef99b9
waf: remove commented out linking of serverlib to drivers
serverlib loads drivers not vice versa.
13 years ago
Adrian Knoth
8603dd8127
[firewire] Use UpdateLatencies() in Attach().
Cleanup of obsolete code, the functionality is now provided
by UpdateLatencies().
13 years ago
Adrian Knoth
96e0251234
[firewire] Allow FFADO backend to change the buffer size
This is a port of Jonathan Woithe's patch from jackd1.
With sufficiently recent versions of FFADO, it allows to change
the buffersize at runtime.
13 years ago
Adrian Knoth
1a8d715c2e
[firewire] Introduce UpdateLatencies() in FFADO backend
In preparation for the upcoming FFADO buffersize functionality,
add code that updates the latency afterwards.
13 years ago
Adrian Knoth
a122dbcd75
wscript. Fix relocation link error (missing -fPIC)
Idea for this fix found in
http://code.google.com/p/waf/issues/detail?id=800#c1
13 years ago
Nedko Arnaudov
fcda41cb59
indention fix
13 years ago
Nedko Arnaudov
329d83c92b
swtich from uselib/uselib_local to use
13 years ago
Nedko Arnaudov
971b1656d5
switch from bld.new_task_gen() to bld()
jackdbus needs explicit index because device reservation code
is shared with jackd and waf cannot autodetect this.
13 years ago
Adrian Knoth
479e36881c
wscript: Fix include path for config.h
config.h is generated in build/, that's "../" at compile time.
For the sake of completeness, here's the waf error:
[122/163] cxx: common/Jackdmp.cpp -> build/common/Jackdmp.cpp.1.o
In file included from ../common/Jackdmp.cpp:35:0:
../common/JackConstants.h:24:20: fatal error: config.h: No such file or directory
compilation terminated.
Waf: Leaving directory `/home/adi/jack2/build'
Build failed
-> task in 'jackd' failed (exit status 1):
{task 39469904: cxx Jackdmp.cpp -> Jackdmp.cpp.1.o}
['/usr/bin/g++', '-Wall', '-I/home/adi/jack2/build/linux', '-I/home/adi/jack2/linux', '-I/home/adi/jack2/build/posix', '-I/home/adi/jack2/posix', '-I/home/adi/jack2/build/common/jack', '-I/home/adi/jack2/common/jack', '-I/home/adi/jack2/build/common', '-I/home/adi/jack2/common', '-I/home/adi/jack2/build/dbus', '-I/home/adi/jack2/dbus', '-DHAVE_CONFIG_H', '-DSERVER_SIDE', '../common/Jackdmp.cpp', '-c', '-o', 'common/Jackdmp.cpp.1.o']
13 years ago
Adrian Knoth
f7d6db4b34
wscript: Fix internal waf error (missing features)
waf complains about missing features in the builder, so let's add some.
For the sake of completeness, here's an example error message:
Traceback (most recent call last):
File "/home/adi/jack2/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Runner.py", line 162, in start
st=tsk.runnable_status()
File "/home/adi/jack2/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Task.py", line 285, in runnable_status
new_sig=self.signature()
File "/home/adi/jack2/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Task.py", line 274, in signature
self.sig_implicit_deps()
File "/home/adi/jack2/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Task.py", line 372, in sig_implicit_deps
(nodes,names)=self.scan()
File "/home/adi/jack2/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Tools/c_preproc.py", line 594, in scan
raise Errors.WafError('%r is missing a feature such as "c", "cxx" or "includes": '%task.generator)
WafError: bld(uselib_local='clientlib', posted=True, features=[], idx=28, uselib='RT SNDFILE', meths=['process_rule', 'process_source'], prec=defaultdict(<type 'list'>, {}), includes=['../linux', '../posix', '../common/jack', '../common'], source=[/home/adi/jack2/example-clients/capture_client.c], mappings={}, path=/home/adi/jack2/example-clients, _name='jack_rec', target='jack_rec') in /home/adi/jack2/example-clients is missing a feature such as "c", "cxx" or "includes":
13 years ago
Adrian Knoth
144a2e18de
Make freebob, ffado, alsa and celt optional.
Prevents waf configure from failing if not marked as non-mandatory.
13 years ago
Adrian Knoth
a564002176
Fix mixed tab/space indentation in wscript files
13 years ago
sletz
c58666dd8c
Rename JackProcessSync in JackPosixProcessSync.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4739 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
f25c4b0e49
Add EndTime function (especially for Windows).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4736 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
b4dbbf3e73
Fix for Ticket #269 .
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4730 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
9f4df15abb
Factorize code the server/client request.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4684 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
50abee29f5
Export cleanup.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4677 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
e4dd72272f
Compiles again on Linux with ALSA.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4664 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
a9a781158f
Remove duplicated declaration.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4657 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
022e551350
Cleanup.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4608 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
496146f6b5
More robust dynamic port management in JACK/CoreMidi bridge.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4604 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
eb6f2830fa
Cleanup.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4602 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
7747eb808d
Some missing snprintf.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4595 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
b70bef511b
Cleanup code using snprintf(2).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4587 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
00b166e731
Cleanup code using snprintf.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4586 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
Stephane Letz
734e450924
NetJack2 code cleanup.
13 years ago
sletz
08edac7982
Add jackctl_driver_get_type in Control API.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4529 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
5a5cc73ac7
New JackTimedDriver class to be used by JackDummyDriver, JackNetDriver and JackNetOneDriver classes.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4522 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
81466b50ce
Some more EXPORT related fixes.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4493 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
48fe42f14e
Typo.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4396 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
90494cc885
Correct rd_acquire.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4395 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
db4b99b5b6
Fix link issues for jackd.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4377 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
nedko
08876bd6eb
fix compile warnings
gcc (Gentoo 4.4.5 p1.2, pie-0.4.5) 4.4.5
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4363 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
Nedko Arnaudov
bd2d168dc8
More AllocatePort => PortRegister changes
fixes compilation on linux
14 years ago
sletz
4e63b533b0
jack1 r4357 pushed in jack2.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4362 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
Stephane Letz
80bc23a3af
Should compile on Linux.
14 years ago
sletz
6d7823290f
Deactivate transport in netjack2.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4361 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
Stephane Letz
07d2c64f39
Use of PortRegister/PortUnRegister in drivers.
14 years ago
Nedko Arnaudov
55557d1f74
Port registration notifications on SwitchMaster
14 years ago
nedko
be8d77eea5
make freebob driver build
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4352 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
Devin Anderson
2b589c803c
Swapped 'alias' and 'name' for 'alsarawmidi' port names. Added debugging code to 'WinMME' driver to figure out if the waitable timers are causing jitter.
14 years ago
Nedko Arnaudov
a9e4628340
helper functions for jack_driver_desc_t construction
The main goal is to reduce risk of mismatch between allocated
and initialized parameter numbers.
14 years ago
sletz
b14943bb1a
Fix alsa_driver_check_card_type.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4346 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
ad34703368
rebase from trunk 4306:4323
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@4324 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago