ardour/libs/backends/alsa
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
..
alsa_audiobackend.cc Fix callback order of port-dis/connections 2023-12-02 23:34:58 +01:00
alsa_audiobackend.h std-ize: convert all boost shared/weak ptr includes to <memory> 2023-03-24 14:19:15 -06:00
alsa_midi.cc Consolidate code using pthread_attr_setstacksize 2020-06-06 18:35:44 +02:00
alsa_midi.h Update backend GPL boilerplate and (C) from git log 2019-08-03 15:53:16 +02:00
alsa_rawmidi.cc Remove extraneous parentheses (Wparentheses-equality) 2021-05-30 20:09:35 -04:00
alsa_rawmidi.h Update backend GPL boilerplate and (C) from git log 2019-08-03 15:53:16 +02:00
alsa_sequencer.cc Remove extraneous parentheses (Wparentheses-equality) 2021-05-30 20:09:35 -04:00
alsa_sequencer.h Update backend GPL boilerplate and (C) from git log 2019-08-03 15:53:16 +02:00
alsa_slave.cc Fix Wformat 2023-05-19 06:16:49 +02:00
alsa_slave.h switch from glib atomic to std::atomic (libs edition) 2023-03-24 14:19:15 -06:00
select_sleep.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
zita-alsa-pcmi.cc ALSA: update endianess conversion functions 2022-12-27 13:32:31 +01:00
zita-alsa-pcmi.h ALSA: update endianess conversion functions 2022-12-27 13:32:31 +01:00