Commit Graph

2897 Commits

Author SHA1 Message Date
Stephane Letz 9ebddfe656 Merge remote-tracking branch 'upstream/master' 2012-08-21 11:04:17 +02:00
Stephane Letz 7920fe9d11 Update JackCoreAudioDriver and JackCoreAudioAdapter with more recent API. 2012-08-21 11:00:24 +02:00
Adrian Knoth a43aad2e91 Fix FTBFS on ppc64
Patch provided by Aurelien Jarno <aurel32@debian.org> in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684470
2012-08-11 11:40:39 +02:00
Stephane Letz a750131fba Use of jack_free instead of free, cleanup. 2012-08-09 09:17:17 +02:00
Stephane Letz aa6c0a9fa9 Audioadapter factory code moved back in JackAudioAdapterFactory.cpp file. 2012-08-06 10:52:12 +02:00
Stephane Letz 1fddeaa06c Move audioadapter creation code in platform specific part. 2012-08-04 13:59:42 +02:00
Stephane Letz 494d01975d Fix OSX scripts. 2012-08-03 12:11:33 +02:00
Stéphane Letz f54a2788b7 Change framework installation hierarchy for OSX Mountain Lion. 2012-08-03 12:06:56 +02:00
Stephane Letz e6ab5e1803 Devin Anderson patch for Jack/CoreMIDI duplicated messages. 2012-08-03 08:20:44 +02:00
Stephane Letz a176212a8e Make XRun message a bit more explicit. 2012-08-01 14:33:43 +02:00
Stephane Letz a7d390b334 jack_server_control patch + getopt_long usage fix. 2012-07-25 07:29:22 +02:00
Stéphane Letz 1e3f915127 Merge pull request #12 from dlahoti/master
jack_free() should be used to free memory returned by jack_return_ports()
2012-07-18 22:33:25 -07:00
dlahoti 8045baf41f jack_free() should be used to free memory returned by jack_get_ports()
http://jackaudio.org/files/docs/html/jack_8h.html#a437010097629ac8124a56c752c02f299
2012-07-18 22:25:44 -07:00
Nedko Arnaudov 3b9aab6bca Properly handle empty parameter lists 2012-07-18 23:11:45 +03:00
Stephane Letz 77b93cd54c Merge remote-tracking branch 'upstream/master' 2012-07-10 07:00:59 +02:00
Stephane Letz cb88917543 alsa driver/adapter improvements to flexibly use playback/capture devices through dbus calls patch. 2012-07-10 06:52:15 +02:00
Stephane Letz a7892e81ca Alsa audioadapter open file-descriptor leak patch. 2012-07-10 06:43:24 +02:00
Nedko Arnaudov e54729a300 jack_control: fix typo 2012-07-02 02:41:52 +03:00
Stéphane Letz bd9b764545 Merge pull request #11 from jackaudio/param-order
Enforced driver/internal parameter order
2012-06-19 00:22:13 -07:00
Nedko Arnaudov 13f7852c26 Merge branch 'master' into param-order
Conflicts:
	common/JackControlAPI.cpp
2012-06-19 01:26:47 +03:00
Adrian Knoth 007cdc3714 Make SA_SIGINFO conditional
SA_SIGINFO isn't defined on hurd, so check before setting it.

This patch was used in Debian since 2010-08-01.
2012-05-29 21:11:00 +02:00
Nedko Arnaudov cf36c02aeb Control API: Enforce driver/internal parameter order.
This changeset is required for proper jackdbus handling of
parameters. jackd handling of parameters is improved by making
driver/internal parameters order on commandline irrelevant. E.g.
"jackd -d alsa -d hw:Intel,0 -P hw:Intel,3" should now give same
result as
"jackd -d alsa -P hw:Intel,3 -d hw:Intel,0".

The code used to create the driver parameter list in
jackctl_parameter_set_value(). Apart from the ordering problem,
the old implementation was not properly handling reset of
driver/internal parameters, because upon reset the parameter was not
removed from the set_parameters list which is supplied to
driver/internal.

This commit shifts driver/internal parameter list composition just
before it is needed. I.e master or slave driver open, switch master,
or internal load. The order of parameters is ensured to be the one
defined by the driver/internal.
2012-05-26 17:09:04 +03:00
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.
2012-05-26 17:07:57 +03:00
Nedko Arnaudov 16cbb24ebf extend jack_control to have parameter reset commands 2012-05-25 03:04:46 +03:00
Adrian Knoth 3e5a7d8988 Align buffers to 32 byte boundaries to allow AVX processing
AVX requires 32 byte alignment, so let's align the buffers accordingly.
2012-05-24 23:44:30 +02:00
Adrian Knoth 6c06e134ab gcc-4.7 fix for fill_n 2012-05-05 20:09:48 +02:00
Adrian Knoth dfbd8ce733 Move JackGnuPlotMonitor's implementation to JackTools.h
The code used to be in common/JackTools.h until it got moved to
JackTools.cpp in aabbb62282.

However, it is not possible to split a template implementation between
header and source file, so the code in JackTools.cpp was never compiled,
resulting in

Could not open component .so '/tmp/jacktest/lib/jack/jack_net.so':
/tmp/jacktest/lib/jack/jack_net.so: undefined symbol:
_ZN4Jack18JackGnuPlotMonitorIfED1E

See https://github.com/jackaudio/jack2/issues/4 for more.

Note that fill_n in JackTools.h needs additional modifications for
gcc-4.7.

fixes #4
2012-05-05 19:16:20 +02:00
Adrian Knoth 5a69f1ddb4 wscript: Use absolute paths for --libdir, --mandir and --libdir32 2012-05-02 14:51:51 +02:00
Adrian Knoth 05271a763e wscript: Fix FTBFS on kFreeBSD and Hurd
Tested by Debian on hurd-i386, kfreebsd-amd64 and kfreebsd-i386.
2012-05-02 14:37:56 +02:00
Stephane Letz 9f740e3055 Correct examples-clients wscript. 2012-05-02 11:28:51 +02:00
Stephane Letz 1dda89940f Merge remote-tracking branch 'upstream/master' 2012-05-01 09:20:08 +02:00
Stephane Letz 9794815aed Correct control.h public header. 2012-05-01 09:19:12 +02:00
Adrian Knoth 871bd0851d Fix naming of inprocess.so
This was supposed to happen in a5eb957b59,
but it didn't, so there was still libinprocess.so instead of
inprocess.so.
2012-04-18 22:41:11 +02:00
David Henningsson f82ec71566 jackdbus: Fix sigsegv handling segfaulting by itself
In my case, the siginfo code was -6, causing the sigsegv handling
to crash on its own. This patch adds a range check for siginfo code.

BugLink: https://bugs.launchpad.net/bugs/983835
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2012-04-18 03:18:19 +03:00
Stephane Letz 85b14bd45d Correct JackFrameTimer::ResetFrameTime for new Fons DLL model. 2012-03-22 15:13:21 +01:00
Stephane Letz 43990aee85 Merge remote-tracking branch 'upstream/master' 2012-03-21 16:23:02 +01:00
Stephane Letz 674ab6b94d Remove old resource file. 2012-03-21 16:09:17 +01:00
Adrian Knoth a5eb957b59 wscript: Fix naming of in-server components
In-server components are called netmanager.so, inprocess.so and so on,
not libnetmanager.so.

The waf syntax for this purpose has been changed between waf-1.5 and
waf-1.6.
2012-03-21 16:04:16 +01:00
Stephane Letz d0747df0ff WIN32 specific code in JackMessageBuffer::SetInitCallback. 2012-03-21 13:48:26 +01:00
Stephane Letz 88dd4d2292 Correct error codes. 2012-03-21 10:34:04 +01:00
Stephane Letz 6483c0d5eb New jack_get_cycle_times() implementation from Fons Adriennsen. 2012-03-21 10:21:21 +01:00
Stephane Letz 94cb2ee9a1 Compiles again on Windows. 2012-03-20 18:40:59 +01:00
Stephane Letz 4a289f48d9 Correct JackMessageBuffer::SetInitCallback. 2012-03-20 18:17:57 +01:00
Stéphane Letz 3fee25ae59 Merge pull request #9 from adiknoth/ffado
firewire: compile with FFADO versions < 9 again
2012-03-20 02:27:26 -07:00
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.
2012-03-20 10:12:59 +01:00
Adrian Knoth 05bdeafd3d wscript: mark readline as optional
We need readline for transport.c, but it's built conditionally if
present, so allow the check for readline to fail.
2012-03-19 10:49:47 +01:00
Nedko Arnaudov 8b6d89e2f2 waf: switch jack.pc task construction to new-waf-style
PREFIX, LIBDIR and JACK_VERSION are fetched from the environment
2012-03-18 17:07:55 +02:00
Nedko Arnaudov 47be1ec8ee waf: fix jack.pc generation 2012-03-18 16:26:35 +02:00
Nedko Arnaudov 798d741c75 Merge branch 'python3-waf-upgrade' 2012-03-18 01:32:56 +02:00
Nedko Arnaudov 4622ef99b9 waf: remove commented out linking of serverlib to drivers
serverlib loads drivers not vice versa.
2012-03-18 01:31:39 +02:00