Michele Dionisio
a4e2355c96
fix wrong malloc size
5 years ago
Miroslav Urbanek
aa7e30bd74
Explicitly enable timestamps in the ALSA backend
Fixes negative values in xrun reports on Linux kernels 4.0 and above.
9 years ago
Paul Davis
bea9d46b4c
fix capture latency for ALSA backend, given normal definitions. Add comments
9 years ago
Paul Davis
bfe4ab3b00
fix ALSA backend's own port latencies to reflect -n (periods) argument
9 years ago
Paul Davis
c758cdf4f6
uncrustification of jack source code
10 years ago
Erik de Castro Lopo
a7c6a5f7e8
alsa_driver: Improve error handling
10 years ago
Erik de Castro Lopo
2310fc0b72
alsa_driver: Whitespace only
10 years ago
falkTX
bdb6e8ec52
including S24_LE/BE formats to linux alsa driver
10 years ago
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
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
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
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
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
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
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
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
dsbaikov
fa747e6e6a
Stop midi driver if audio restart failed.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1038 0c269be4-1314-0410-8aa9-9f06e86f4224
19 years ago
dsbaikov
31fe9e4ca6
Do not restart midi driver during xrun recovery.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1037 0c269be4-1314-0410-8aa9-9f06e86f4224
19 years ago
dsbaikov
f37b7cc645
Merged MIDI branch into the trunk.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1035 0c269be4-1314-0410-8aa9-9f06e86f4224
19 years ago
paul
5e37ca65f7
first pass at implementing port aliases (2 port port, 1 set by jackd) plus standard backend port names using system:(playback|capture)_N
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1032 0c269be4-1314-0410-8aa9-9f06e86f4224
19 years ago
paul
8c6780038d
remove all CVS Id lines from source and headers
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1031 0c269be4-1314-0410-8aa9-9f06e86f4224
19 years ago
paul
d994308e56
remove port_(un)lock functions; add dmitry's new time APIs (jack_get_time, jack_frame_to_time, jack_time_to_frame); fix for enabling big-endian 16bit format discovery; depracate jack_client_new in the docs; patch for man page re: period size and power of two sizing
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1026 0c269be4-1314-0410-8aa9-9f06e86f4224
19 years ago
paul
df3d1b4842
implement fons' jack_thread_wait API along with internal design changes to support both models (callback and wait) with the same code; fix for use of snd_pcm_link (from takashi); change mem alignment to 64 for better SIMD optimization
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1025 0c269be4-1314-0410-8aa9-9f06e86f4224
19 years ago
paul
523fa3e0c6
drobilla's MIDI patch, plus a tiny big/little endian fix for the ALSA backend
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@960 0c269be4-1314-0410-8aa9-9f06e86f4224
20 years ago
pbd
331aeacefb
no error if ALSA has no control device, jack_lsp shows port type, jack_server_dir fix
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@946 0c269be4-1314-0410-8aa9-9f06e86f4224
20 years ago