summaryrefslogtreecommitdiff
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* fix 8bit netjack MIDI payload size.Hanspeter Portner2016-01-141-1/+1
| | | | | | | | | | MIDI payload size in 8bit netjack MIDI mode is calculated wrongly (assumes 16bit sample size). This bug sits at the decoding end and seems to be without concequences, as the MIDI payload size in 8bit netjack MIDI mode at the encoding end is done right and the decoding buffer thus cannot overflow even with a wrongly calculated MIDI payload size.
* add more debugging to alsa midi outPaul Davis2015-10-081-8/+10
|
* change max size of a JACK MIDI event to 64 bytesPaul Davis2015-10-081-1/+1
|
* including S24_LE/BE formats to linux alsa driverfalkTX2015-06-261-5/+10
|
* [alsa_midi] fix hotplug device (de)enumerationHanspeter Portner2015-05-044-48/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issues: - With a running JACK with enabled alsa_midi driver (-X alsa_midi), plugging in a new MIDI device has no effect, e.g. no corresponding JACK ports are spawned - With a running JACK with enabled alsa_midi driver (-X alsa_midi), deplugging a MIDI device has no effect, e.g. the corresponding JACK ports stay around Result: - JACK only creates JACK ports of ALSA MIDI clients/ports found at startup - JACK has to be restarted for any ALSA MIDI device (de)enumeration to take place Problem: - There are some functions defined which actually should accomplish this in the alsa_midi driver code (e.g. 'a2j_update_ports' and 'a2j_free_ports'), but they are not called from any other function ;-) Solution: - Discriminate properly between ALSA PORT_START and PORT_CHANGE events - 'a2j_new_ports' function has been added which recycles some code from 'alsa_input_thread' - Actually call the already existing hot(de)plugging infrastructure - 'a2j_update_ports' and 'a2j_new_ports' get called from the 'alsa_input_thread' - 'a2j_free_ports' gets called from 'alsa_output_thread' - 'alsa_out_thread' is woken up by 'a2j_jack_process_internal' - Cleanup code that is not used: - 'port_add' ringbuffer has no function, as 'new_ports' ringbuffer seems to be implemented to accomplish the same Signed-off-by: Hanspeter Portner <dev@open-music-kontrollers.ch>
* [alsa_midi] fix stop/start threads upon freewheeling.rncbc2015-05-011-2/+3
|
* Fix FTBFS with clangAdrian Knoth2014-09-181-1/+1
| | | | Forwarded from http://bugs.debian.org/757820
* remove references to old ALSA MIDI code from freebob driver (that code is no ↵Paul Davis2013-12-261-5/+0
| | | | longer part of JACK1)
* change Freebob and FFADO drivers to use midi_pack.h and midi_unpack.h from ↵Paul Davis2013-10-115-5/+197
| | | | alsa_midi rather than alsa-midi (new vs.old MIDI driver
* add ALSA MIDI code back as (slave) driverPaul Davis2013-10-1124-330/+3002
|
* moved alsa midi internal client into toolsPaul Davis2013-10-031-3/+2
|
* move alsa midi internal client into subdir of toolsPaul Davis2013-10-0311-2698/+0
|
* fix up internal MIDI client to do duplexPaul Davis2013-10-035-264/+513
|
* ALSA backend: fall back on previous successful configuration if a new one failsPaul Davis2013-09-192-8/+24
|
* remove inexplicable cruft from error messagePaul Davis2013-09-191-1/+1
|
* Merge pull request #3 from jackaudio/control_device_name_fixesPaul Davis2012-11-251-16/+32
|\ | | | | We recommend using symbolic names like hw:Live but when subdevices are u...
| * We recommend using symbolic names like hw:Live but when subdevices are usedcontrol_device_name_fixesNedko Arnaudov2012-11-241-16/+32
| | | | | | | | | | | | | | | | 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. b3394f4dcec1f707403796615d7bb6f0944183a3
* | patch from ticket #228, to fix search for lsof(1) along PATHPaul Davis2012-11-121-1/+1
| |
* | compilation fixes for ffado backendPaul Davis2012-11-041-0/+1
| |
* | compilation fixes for ffado backendPaul Davis2012-11-041-3/+0
| |
* | compilation fixes for ffado backendPaul Davis2012-11-041-1/+1
| |
* | adjust driver/backend port latencies for both playback and capture ports in ↵Paul Davis2012-11-042-23/+10
| | | | | | | | both directions, not just one
* | use correct include path for new header structurePaul Davis2012-11-041-2/+3
| |
* | provide FFADO/firewire backend with its own latency callback, similar to ↵Paul Davis2012-11-041-22/+22
| | | | | | | | recent modification to ALSA backend. Removed a couple of explicit calls to update port latencies, since the server will do this via the latency callback at the right times
* | add a latency callback to the ALSA backend, and ensure that the backend's ↵Paul Davis2012-11-041-1/+31
| | | | | | | | latency callback, if it exists, is called after a buffer size change
* | firewire: Use update_port_latencies() in ffado_driver_attachAdrian Knoth2012-04-021-5/+2
| | | | | | Avoids code duplication
* | firewire: Move update_port_latencies() further up the fileAdrian Knoth2012-04-021-25/+25
| | | | | | | | Instead of introducing a prototype declaration, let's move the function so it can be used by ffado_driver_attach().
* | firewire: update latencies after setbufsizeAdrian Knoth2012-04-021-3/+25
| | | | | | Patch by Jonathan Woithe.
* | firewire: compile with FFADO versions < 9 againAdrian Knoth2012-04-021-0/+9
| | | | | | | | | | | | | | | | 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.
* | Support setbufsize in firewire driverJonathan Woithe2012-03-151-9/+60
| |
* | #include changes to reflect separation of public and private headersPaul Davis2012-02-0832-59/+65
|/
* compile fixes for OS X: remove double linkages to libjack + libjackserver, ↵paul2011-09-283-3/+3
| | | | | | 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
* Fix a call to yet undefined engine instancesonarnerd2011-08-181-2/+3
| | | | git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4524 0c269be4-1314-0410-8aa9-9f06e86f4224
* enable JACK to function on SH4 architectures (ticket #224)paul2011-06-231-1/+1
| | | | git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4470 0c269be4-1314-0410-8aa9-9f06e86f4224
* [netjack] fix occurences of jack_get_time which were hiding below drivertorben2011-05-295-16/+16
| | | | git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4445 0c269be4-1314-0410-8aa9-9f06e86f4224
* [controlAPI] add libjack* linkage to net, oss and firewire drivertorben2011-05-293-1/+3
| | | | git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4427 0c269be4-1314-0410-8aa9-9f06e86f4224
* fix broken jack_get_microseconds in drivers when libjackserver is RTLD_LOCALtorben2011-05-299-24/+24
| | | | | | | | | | | | 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
* fix Makefiles to reference libraries things depend on.torben2011-05-292-2/+2
| | | | git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4420 0c269be4-1314-0410-8aa9-9f06e86f4224
* [controlAPI] adjust parameter definitions in oss driver for changed structtorben2011-05-291-0/+11
| | | | git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4406 0c269be4-1314-0410-8aa9-9f06e86f4224
* [alsa-midi] add basic alsa-seq midi slave drivertorben2011-05-293-0/+143
| | | | git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4400 0c269be4-1314-0410-8aa9-9f06e86f4224
* if an ALSA device cannot be opened because its busy, try to use lsof(1) to ↵0.120.2paul2011-04-251-11/+137
| | | | | | 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
* [alsa] fix whitespace from previous commits.torben2011-03-151-68/+67
| | | | git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4196 0c269be4-1314-0410-8aa9-9f06e86f4224
* [alsa] initialise driver->read_via_copy also for cap PCM_FORMAT_FLOAT_LEtorben2011-03-151-1/+4
| | | | git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4195 0c269be4-1314-0410-8aa9-9f06e86f4224
* [alsa] remove useless copy function.torben2011-03-152-43/+0
| | | | git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4194 0c269be4-1314-0410-8aa9-9f06e86f4224
* [alsa] fix initialisation of io functions for capture only modetorben2011-03-151-0/+4
| | | | | | | 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
* [alsa] fix missing - in -EPIPEtorben2011-02-151-1/+1
| | | | git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4126 0c269be4-1314-0410-8aa9-9f06e86f4224
* [latency api] change backend code to use jack_set_latency_range()torben2011-01-127-19/+41
| | | | git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4106 0c269be4-1314-0410-8aa9-9f06e86f4224
* dummy driver: in case of xrun, reset timestamps.torben2010-11-021-0/+1
| | | | git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4076 0c269be4-1314-0410-8aa9-9f06e86f4224
* allow recovery when alsa_pcm is in suspended state.torben2010-11-021-0/+16
| | | | git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4075 0c269be4-1314-0410-8aa9-9f06e86f4224
* fix dummy driver freewheeling.torben2010-11-011-0/+13
| | | | git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4074 0c269be4-1314-0410-8aa9-9f06e86f4224