13
0
livetrax/libs/backends
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 Fix callback order of port-dis/connections 2023-12-02 23:34:58 +01:00
coreaudio Fix callback order of port-dis/connections 2023-12-02 23:34:58 +01:00
dummy Fix callback order of port-dis/connections 2023-12-02 23:34:58 +01:00
jack wscript: drop repeated autowaf.set_options - it is enough to set at top level 2023-10-15 10:47:16 -06:00
MSVCbackends
portaudio Fix callback order of port-dis/connections 2023-12-02 23:34:58 +01:00
pulseaudio Fix callback order of port-dis/connections 2023-12-02 23:34:58 +01:00
wscript wscript: don't add pointless -DHAVE_X for each mandatory subdir 2023-10-15 10:47:16 -06:00