13
0
livetrax/libs/backends/portaudio
Robin Gareus dacf488c86
Fix callback order of port-dis/connections
Previously the port-engine was a LIFO. Changes were pushed back
and then popped-back. This causes issues when re-connecting
Transport Masters.

The GUI does the following when changing connections:
1. disconnect all
2. connect to new port

which lead to TransportMaster::connection_handler being called
in reverse order: connect, disconnect, and the transport
master was assumed to not be connected.

--

Now connections queue is a FIFO and code was consolidated.

(Note, we cannot use a std::deque because it does not support
memory pre-allocation with ::reserve)
2023-12-02 23:34:58 +01:00
..
audio_utils.h Update backend GPL boilerplate and (C) from git log 2019-08-03 15:53:16 +02:00
cycle_timer.h Update backend GPL boilerplate and (C) from git log 2019-08-03 15:53:16 +02:00
debug.h
midi_device_info.h Implement MIDI device enumeration and latency offset/calibration in portaudio backend 2016-02-11 12:15:07 +10:00
midi_util.cc Update backend GPL boilerplate and (C) from git log 2019-08-03 15:53:16 +02:00
midi_util.h Update backend GPL boilerplate and (C) from git log 2019-08-03 15:53:16 +02:00
portaudio_backend.cc Fix callback order of port-dis/connections 2023-12-02 23:34:58 +01:00
portaudio_backend.h PortAudio: implement MIDI device config 2023-06-18 02:35:03 +02:00
portaudio_io.cc Fix a problem with ASIO buffer sizes on Windows 2021-03-18 16:12:28 +00:00
portaudio_io.h std-ize: convert all boost shared/weak ptr includes to <memory> 2023-03-24 14:19:15 -06:00
winmmemidi_input_device.cc window compilation fix 2021-06-26 19:02:13 -06:00
winmmemidi_input_device.h Update backend GPL boilerplate and (C) from git log 2019-08-03 15:53:16 +02:00
winmmemidi_io.cc Windows: unconditionally request high timer resolution 2023-06-05 00:02:54 +02:00
winmmemidi_io.h switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr 2023-03-24 14:19:15 -06:00
winmmemidi_output_device.cc window compilation fix 2021-06-26 19:02:47 -06:00
winmmemidi_output_device.h Update backend GPL boilerplate and (C) from git log 2019-08-03 15:53:16 +02:00
wscript wscript: drop repeated autowaf.set_options - it is enough to set at top level 2023-10-15 10:47:16 -06:00