Commit graph

125 commits

Author SHA1 Message Date
Wim Taymans
8997a078aa jack: skip when there are no buffers on a mixer 2019-10-22 09:17:38 +02:00
Wim Taymans
f50a5ca215 jack: handle suspend 2019-10-21 17:23:26 +02:00
Wim Taymans
0bc34d5301 flag update 2019-10-02 17:54:49 +02:00
Wim Taymans
e196e56287 jack: fix mixing.. 2019-10-01 16:27:09 +02:00
Wim Taymans
274d616fa6 jack: implement midi mixing 2019-09-26 11:56:25 +02:00
Wim Taymans
8d8ef587f5 jack: improve properties 2019-09-23 20:50:12 +02:00
Wim Taymans
b85b88b53d jack: sort midi ports before audio ports
for compatibility reasons return the audio ports before the midi
ports. Most apps just try to link the first hw ports they see and
jack always lists the hw audio ports first.
2019-09-19 15:26:06 +02:00
Wim Taymans
f777c04ea6 jack: only allow connection of same type 2019-09-19 13:16:42 +02:00
Wim Taymans
cd2c8ceb31 jack: use buffers for midi
Place the midi in application/control buffers instead of control
IO.
2019-09-16 21:08:35 +02:00
Wim Taymans
1d2db89b9c jack: update for HAVE/NEED_BUFFER -> HAVE/NEED_DATA 2019-09-16 12:53:53 +02:00
Wim Taymans
4bd1e9a9ff jack: init midi buffer correctly
Init the midi event buffer at the right memory.
Add some more debug.
2019-09-10 18:49:19 +02:00
Wim Taymans
ad086e3349 jack: don't use private flag
Some input buffers are also used as output buffers in case of
feedback.
2019-09-10 11:56:25 +02:00
Wim Taymans
35bf6bfa5c jack: map buffer readwrite and private for input
qtractor writes to the input buffer so make them writable but with
a private mapping.
2019-09-10 09:58:36 +02:00
Wim Taymans
2736c227a1 jack: use our own per client loop, like jack. 2019-09-09 17:16:18 +02:00
Wim Taymans
7f7ed1e039 jack: implement some more functions 2019-09-09 17:15:52 +02:00
Wim Taymans
2abcc28762 jack: implement thread stop and kill 2019-09-05 13:17:00 +02:00
Wim Taymans
dde5a0dee8 jack: improve output port buffers
The output buffers are always set on mix -1, so find that one and
then copy the io area to all other mix outputs.
2019-09-03 13:45:33 +02:00
Wim Taymans
a9640a826d jack: call thread_init 2019-09-03 13:45:13 +02:00
Wim Taymans
46b2d1701b jack: remove unused fields 2019-09-03 13:44:47 +02:00
Wim Taymans
89ce3eac35 jack: implement monitor requests 2019-09-03 13:44:12 +02:00
Wim Taymans
b1d2b9fb39 jack: fix buffer_size
Make sure we never return -1 and properly scale the size of the buffer.
2019-09-02 17:18:19 +02:00
Wim Taymans
47b7d73b2a jack: improve debug 2019-09-02 17:18:02 +02:00
Wim Taymans
edaeac6975 jack: improve some latency values 2019-09-02 17:16:57 +02:00
Wim Taymans
fc0b15d17b jack: fix for transport changes
Fix for the new transport.
Refactor some of processing code to match jack_cycle_wait and
jack_cycle_signal
2019-09-02 12:02:34 +02:00
Wim Taymans
926b500ceb jack: update buffer size property
Add support for set_buffer_size by updating the node property.
2019-08-30 16:59:10 +02:00
Wim Taymans
58c68f3260 jack: only call shutdown_callback on errors 2019-08-30 15:41:25 +02:00
Wim Taymans
31cfd434da jack: clear latency range
To avoid invalid meaningless values.
2019-08-30 15:30:11 +02:00
Wim Taymans
f39d2fd78a jack: update for segment owner 2019-08-29 18:20:40 +02:00
Wim Taymans
6dfceccae2 jack: fix BBT calculations
Bars + beats are stored in the integral part of the bar field, ticks
in the fractional part.
2019-08-29 16:13:02 +02:00
Wim Taymans
52afbcf077 jack: only activate scheduling
Only activate scheduling when setting sync or timebase callbacks.
We just want to let the server call out process function but not
pretend the user called jack_activate.
2019-08-29 15:32:30 +02:00
Wim Taymans
b4243991b3 jack: update for sync 2019-08-29 14:01:20 +02:00
Wim Taymans
0c2c2c72d0 jack: add support for timebase master and sync 2019-08-28 13:55:50 +02:00
Wim Taymans
a52ad27a16 jack: update for running time 2019-08-28 10:27:26 +02:00
Wim Taymans
796278b207 jack: rename 2019-08-27 21:48:25 +02:00
Wim Taymans
3daf9f85d2 update for segments 2019-08-27 21:35:28 +02:00
Wim Taymans
f8c3126b52 jack: implement transport support 2019-08-27 14:41:15 +02:00
Wim Taymans
42f144e097 jack: fix frame time 2019-08-22 14:30:44 +02:00
Wim Taymans
45f0e7c35b jack: signal xrun callbacks
Keep track of the number of xruns and signal the callback when
it changes.
CPU load must be expressed in percent.
2019-08-22 13:56:39 +02:00
Wim Taymans
84071d2cac jack: implement statistics 2019-08-22 13:25:01 +02:00
Wim Taymans
33cac9932c jack: report cpu load
Find the driver activation and use it to get stats.
2019-08-22 10:59:16 +02:00
Wim Taymans
2c25b8c216 jack: always unmap old io area 2019-08-21 20:36:29 +02:00
Wim Taymans
44b7eb4630 jack: implement some more
Implement some parts of metadata and uuid
2019-08-21 18:37:02 +02:00
Wim Taymans
a560e8b92f jack: use properties instead of parent_id 2019-08-16 22:10:38 +02:00
Wim Taymans
2d6f9950a5 jack: improve node name
Try to use the short nick first and then the name/description
2019-08-12 12:28:54 +02:00
Wim Taymans
48f28f7b63 jack: improve debug 2019-08-08 11:02:40 +02:00
Wim Taymans
f84821f821 jack: improve buffer usage
Buffer on the output port are set on the mix once and used for
all output mix ios. Find the mix with the buffers and use that on
all output mix.
2019-08-07 12:58:09 +02:00
Wim Taymans
d405ca97ec jack: fix for api change 2019-08-01 13:54:30 +02:00
Wim Taymans
8428103e92 jack: update for use_buffer flags 2019-07-25 13:16:52 +02:00
Wim Taymans
3a9035a44c jack_update for memory tag 2019-07-25 12:05:54 +02:00
Wim Taymans
135b72ce70 jack: update for memory changes 2019-07-23 17:46:06 +02:00