Paul Davis
8fbd62a39d
add ALSA MIDI code back as (slave) driver
12 years ago
Paul Davis
39e0d9dd78
ALSA backend: fall back on previous successful configuration if a new one fails
12 years ago
Paul Davis
92468acc96
remove inexplicable cruft from error message
12 years ago
Nedko Arnaudov
e02d7358da
We recommend using symbolic names like hw:Live but when subdevices are used
regcomp() was failing to parse them. This changeset improves the algorithm
by using less assumptions.
This commit is a backport of similar (but bigger) commit in jack2.
b3394f4dce
13 years ago
Paul Davis
023c1f3e23
patch from ticket #228, to fix search for lsof(1) along PATH
13 years ago
Paul Davis
1783d24217
adjust driver/backend port latencies for both playback and capture ports in both directions, not just one
13 years ago
Paul Davis
6ddbf81d14
add a latency callback to the ALSA backend, and ensure that the backend's latency callback, if it exists, is called after a buffer size change
13 years ago
Paul Davis
d094819df4
#include changes to reflect separation of public and private headers
14 years ago
paul
f0d10e8cbe
compile fixes for OS X: remove double linkages to libjack + libjackserver, remove reference to client->control->nframes, add required compiler flags to get weak linkage to work
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4542 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
0cdc3916cd
fix broken jack_get_microseconds in drivers when libjackserver is RTLD_LOCAL
for python loading libjackserver and using controlAPI.
drivers are linked to a second instance of libjackserver.so and the
global symbol _jack_get_microseconds showed up uninitialised.
by providing a function pointer to right instance in the engine struct,
we can fix this problem. since _jack_get_microseconds is a in systemdeps,
we need a generic way to get the right function pointer.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4421 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
a16492b689
fix Makefiles to reference libraries things depend on.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4420 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
paul
043b3924c3
if an ALSA device cannot be opened because its busy, try to use lsof(1) to determine which processes have the device open, and show that list to the user. Heuristic, because we don't know which /dev files map to a given ALSA device name, so test them all
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4357 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
51310fc126
[alsa] fix whitespace from previous commits.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4196 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
ed63256c9e
[alsa] initialise driver->read_via_copy also for cap PCM_FORMAT_FLOAT_LE
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4195 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
5d954da0a6
[alsa] remove useless copy function.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4194 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
b1d74e2364
[alsa] fix initialisation of io functions for capture only mode
this is a quick fix for the problem reported by Felix Pfeifer.
whitespace cleanup and more thorough fixes of this code follow.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4193 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
b08c3368e6
[alsa] fix missing - in -EPIPE
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4126 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
ea404f416e
[latency api] change backend code to use jack_set_latency_range()
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4106 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
04ec3a27fa
allow recovery when alsa_pcm is in suspended state.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4075 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
ca5bb796d3
fix a possible race/deadlock when jack is quitting and clients try to connect; mention jack_free() and not free() in port buffer docs; fix failure to execute clients using wait API; tweak session mgmt code so that the SM can pass directory names with or without a trailing '/'; unload/finish internal clients at a better time to stop crashes; add new and as-yet not used and definitely unfinished a2j internal clients for ALSA/MIDI bridge
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3981 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
torben
2efff4ed0c
fix alsa driver null cycle.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3958 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
paul
e73479780c
correct big-endian 24bit->float conversion in ALSA backend ( #135 )
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3940 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
paul
b879a610a3
check return result of engine->set_buffer_size() in all backends, so that if the user specifies -M <insane>, we fail cleanly rather than with a segfault; update man page with comments about -M values
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3888 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
paul
b0a3ae949c
move jack capture into example clients (its not a finished tool) ; update embedded docs for some jack frame time functions, and use direct form in jack_last_frame_tim() ; use fprintf() and not jack_info when printing DEBUG_WAKEUP output
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3591 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
paul
b4c875b9fb
correct memops mess (there were two instances of the header file, now there is just one, in jack/memops.h (not installed))
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3433 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
b43a97f961
simon jenkin's fix for float->16bit dithering
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3099 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
12dc1a6c66
shift all possible 24-in-32 values right, not just scaled ones
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3058 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
0c13c3f77c
provide support for 24bit, not just 24-in-32 format
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3057 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
bf5acc20a2
macro-ize the core conversions and fix mistakes in dithering cases
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3050 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
ecd674e315
machete-technique at its finest: rather than think about merge functions, just remove them all because they are never used
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3049 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
2e10e088d0
finish what i started with earlier transformations - several functions were missed; fix up merge functions to avoid overflow; follow fons' advice and make min/max values symmetrical
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3048 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
898f36b317
next iteration of a cleanup of sample conversions. SUBJECT TO REVIEW. TEST. DO NOT USE FOR IMPORTANT INSTALLATIONS
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3045 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
b5b34c4403
no more dither when converting from float to 24 bit values - i am not sure how this was added to JACK but it was a mistake
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3044 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
cc0f5a221a
use stdint types, not long long or int, for the intermediate holder of float->int sample type conversion
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3040 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
7a8979e059
remove unnecessary casts from return value of llrintf to long long
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3039 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
71c5bbc396
use llrintf instead of lrintf when rounding to long long; use llrintf when converting to 24bit, rather than a cast; document the structure of the names in memops.c since they are rather mysterious
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3038 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
69039cae1c
fix export of pointers into JACK API headers, thus allowing a 64 bit JACK server to support 32 bit clients and vice versa (work done primarily by Torben, with a few cleanups from Paul)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3000 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
sletz
49e55b7223
Fix alsa driver, compiles again.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@2728 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
sletz
c17e21ee12
Florian Faber native 32 bits float patch for alsa driver.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@2723 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
marco
15410b496a
* Applied Mike Taht's fix for proper alsa xrun duration measurement
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1175 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
nedko
219a78abcb
Fix alsa control handle leak. ok: paul
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1149 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
sletz
8bf639d207
Replace non defined jack_info_multiline by printf in usx2y.c debug code
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1110 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
sletz
f0bfb84688
Version 0.109.4 : Nedko Arnaudov log patch
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1092 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
paul
5a572eb97d
* revert name of ALSA audio backend to "alsa_pcm" so that pre-0.109
connection information can be used again.
* add disgusting kludge so that "ALSA:...." port names continue to
work, thus not breaking connection information for 0.109
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1086 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
rncbc
ab439084f2
- USX2Y driver updates to enable JACK MIDI devices to show up
in raw-usb mode (previously, raw-usb mode didn't initialize
or call MIDI drivers properly).
Signed-off-by: Krzysztof Foltman <wdev@foltman.com>
Signed-off-by: Rui Nuno Capela <rncbc@rncbc.org>
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1085 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
pieterpalmers
8e2307460d
Commit of Aug 26, 2007 patch by Nedko Arnaudov.
Description:
In r1051 jack_engine_munge_backend_port_names() is being called during
startup. ALSA raw midi backend does port discovery in dynamic way and
thus midi ports appear after call to
jack_engine_munge_backend_port_names() and thus are not munged.
This patch contains:
* munge during port registration not during startup. It is done only
for internal clients. MIDI ports are midi_capture_N and
midi_playback_N in order to not interfere with audio port names.
* ALSA backend name is changed from "alsa_pcm" to "ALSA"
* engine->driver is initialized before call to driver attach() method
to make munge during port registration work during startup.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1071 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
pieterpalmers
5b6501182c
print ALSA driver latency when reporting driver config
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1064 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
dsbaikov
efbf4e1953
Playback-only fix for alsa-midi from Lars Luthman
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1055 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
paul
a16d5e2129
fixes from clemens for appallingly illegal use ALSA API
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1051 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
paul
ee7e785cf0
add port connect callback, add per-port update total latency, fix (?) compiles against alsa-midi on x86_64 and other platforms
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1046 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago