Skip to content

Commit aef4bd5

Browse files
committed
- Give some slack time to stabilize, when updating or changing
audio bus channel counts, mitigating the probability to fault when unregistering old and registering new PipeWire/JACK ports in immediate succession. (EXPERIMENTAL)
1 parent 75ba2db commit aef4bd5

12 files changed

+73
-65
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ ChangeLog
66

77
GIT HEAD
88

9+
- Give some slack time to stabilize, when updating or changing
10+
audio bus channel counts, mitigating the probability to fault
11+
when unregistering old and registering new PipeWire/JACK ports
12+
in immediate succession. (EXPERIMENTAL)
13+
914
- Transport/Loop Set behavior slightly changed, now toggling the
1015
loop range if the edit-head/tail match current loop-start/end.
1116

src/qtractorEngineCommand.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// qtractorEngineCommand.cpp
22
//
33
/****************************************************************************
4-
Copyright (C) 2005-2024, rncbc aka Rui Nuno Capela. All rights reserved.
4+
Copyright (C) 2005-2025, rncbc aka Rui Nuno Capela. All rights reserved.
55
66
This program is free software; you can redistribute it and/or
77
modify it under the terms of the GNU General Public License
@@ -303,6 +303,9 @@ bool qtractorBusCommand::updateBus (void)
303303
// May close now the bus...
304304
m_pBus->close();
305305

306+
// Have some time slack...
307+
pSession->stabilize();
308+
306309
// Set new properties...
307310
m_pBus->setBusName(m_sBusName);
308311
m_pBus->setBusMode(m_busMode);

src/qtractorEngineCommand.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// qtractorEngineCommand.h
22
//
33
/****************************************************************************
4-
Copyright (C) 2005-2024, rncbc aka Rui Nuno Capela. All rights reserved.
4+
Copyright (C) 2005-2025, rncbc aka Rui Nuno Capela. All rights reserved.
55
66
This program is free software; you can redistribute it and/or
77
modify it under the terms of the GNU General Public License

src/translations/qtractor_cs.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,37 +98,37 @@ Konec: %3 Délka: %4</translation>
9898
<translation>Soubor: %1</translation>
9999
</message>
100100
<message>
101-
<location filename="../qtractorEngineCommand.cpp" line="584"/>
101+
<location filename="../qtractorEngineCommand.cpp" line="587"/>
102102
<source>create bus</source>
103103
<translation>Vytvořit sběrnici</translation>
104104
</message>
105105
<message>
106-
<location filename="../qtractorEngineCommand.cpp" line="606"/>
106+
<location filename="../qtractorEngineCommand.cpp" line="609"/>
107107
<source>update bus</source>
108108
<translation>Zaktualizovat sběrnici</translation>
109109
</message>
110110
<message>
111-
<location filename="../qtractorEngineCommand.cpp" line="623"/>
111+
<location filename="../qtractorEngineCommand.cpp" line="626"/>
112112
<source>delete bus</source>
113113
<translation>Smazat sběrnici</translation>
114114
</message>
115115
<message>
116-
<location filename="../qtractorEngineCommand.cpp" line="646"/>
116+
<location filename="../qtractorEngineCommand.cpp" line="649"/>
117117
<source>move bus</source>
118118
<translation>Posunout sběrnici</translation>
119119
</message>
120120
<message>
121-
<location filename="../qtractorEngineCommand.cpp" line="694"/>
121+
<location filename="../qtractorEngineCommand.cpp" line="697"/>
122122
<source>bus pass-through</source>
123123
<translation>Průchodnost sběrnice</translation>
124124
</message>
125125
<message>
126-
<location filename="../qtractorEngineCommand.cpp" line="740"/>
126+
<location filename="../qtractorEngineCommand.cpp" line="743"/>
127127
<source>bus gain</source>
128128
<translation>Zesílení sběrnice</translation>
129129
</message>
130130
<message>
131-
<location filename="../qtractorEngineCommand.cpp" line="817"/>
131+
<location filename="../qtractorEngineCommand.cpp" line="820"/>
132132
<source>bus pan</source>
133133
<translation>Vyvážení sběrnice</translation>
134134
</message>

src/translations/qtractor_de.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -216,37 +216,37 @@ Ende: %3 Länge: %4</translation>
216216
<translation type="unfinished"></translation>
217217
</message>
218218
<message>
219-
<location filename="../qtractorEngineCommand.cpp" line="584"/>
219+
<location filename="../qtractorEngineCommand.cpp" line="587"/>
220220
<source>create bus</source>
221221
<translation>Erzeuge Bus</translation>
222222
</message>
223223
<message>
224-
<location filename="../qtractorEngineCommand.cpp" line="606"/>
224+
<location filename="../qtractorEngineCommand.cpp" line="609"/>
225225
<source>update bus</source>
226226
<translation>Aktualisiere Bus</translation>
227227
</message>
228228
<message>
229-
<location filename="../qtractorEngineCommand.cpp" line="623"/>
229+
<location filename="../qtractorEngineCommand.cpp" line="626"/>
230230
<source>delete bus</source>
231231
<translation>Lösche Bus</translation>
232232
</message>
233233
<message>
234-
<location filename="../qtractorEngineCommand.cpp" line="646"/>
234+
<location filename="../qtractorEngineCommand.cpp" line="649"/>
235235
<source>move bus</source>
236236
<translation>Verschiebe Bus</translation>
237237
</message>
238238
<message>
239-
<location filename="../qtractorEngineCommand.cpp" line="694"/>
239+
<location filename="../qtractorEngineCommand.cpp" line="697"/>
240240
<source>bus pass-through</source>
241241
<translation type="unfinished"></translation>
242242
</message>
243243
<message>
244-
<location filename="../qtractorEngineCommand.cpp" line="740"/>
244+
<location filename="../qtractorEngineCommand.cpp" line="743"/>
245245
<source>bus gain</source>
246246
<translation type="unfinished"></translation>
247247
</message>
248248
<message>
249-
<location filename="../qtractorEngineCommand.cpp" line="817"/>
249+
<location filename="../qtractorEngineCommand.cpp" line="820"/>
250250
<source>bus pan</source>
251251
<translation type="unfinished"></translation>
252252
</message>

src/translations/qtractor_es.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -221,37 +221,37 @@ Fin: %3 Duración: %4</translation>
221221
<translation>%1 Monitor</translation>
222222
</message>
223223
<message>
224-
<location filename="../qtractorEngineCommand.cpp" line="584"/>
224+
<location filename="../qtractorEngineCommand.cpp" line="587"/>
225225
<source>create bus</source>
226226
<translation>crear bus</translation>
227227
</message>
228228
<message>
229-
<location filename="../qtractorEngineCommand.cpp" line="606"/>
229+
<location filename="../qtractorEngineCommand.cpp" line="609"/>
230230
<source>update bus</source>
231231
<translation>actualizar bus</translation>
232232
</message>
233233
<message>
234-
<location filename="../qtractorEngineCommand.cpp" line="623"/>
234+
<location filename="../qtractorEngineCommand.cpp" line="626"/>
235235
<source>delete bus</source>
236236
<translation>eliminar bus</translation>
237237
</message>
238238
<message>
239-
<location filename="../qtractorEngineCommand.cpp" line="646"/>
239+
<location filename="../qtractorEngineCommand.cpp" line="649"/>
240240
<source>move bus</source>
241241
<translation>mover bus</translation>
242242
</message>
243243
<message>
244-
<location filename="../qtractorEngineCommand.cpp" line="694"/>
244+
<location filename="../qtractorEngineCommand.cpp" line="697"/>
245245
<source>bus pass-through</source>
246246
<translation>bus sin filtrar</translation>
247247
</message>
248248
<message>
249-
<location filename="../qtractorEngineCommand.cpp" line="740"/>
249+
<location filename="../qtractorEngineCommand.cpp" line="743"/>
250250
<source>bus gain</source>
251251
<translation>ganancia de bus</translation>
252252
</message>
253253
<message>
254-
<location filename="../qtractorEngineCommand.cpp" line="817"/>
254+
<location filename="../qtractorEngineCommand.cpp" line="820"/>
255255
<source>bus pan</source>
256256
<translation>paneo de bus</translation>
257257
</message>

src/translations/qtractor_fr.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -215,37 +215,37 @@ Fin : %3 Longueur : %4</translation>
215215
<translation>%1 Moniteur</translation>
216216
</message>
217217
<message>
218-
<location filename="../qtractorEngineCommand.cpp" line="584"/>
218+
<location filename="../qtractorEngineCommand.cpp" line="587"/>
219219
<source>create bus</source>
220220
<translation>créer un bus</translation>
221221
</message>
222222
<message>
223-
<location filename="../qtractorEngineCommand.cpp" line="606"/>
223+
<location filename="../qtractorEngineCommand.cpp" line="609"/>
224224
<source>update bus</source>
225225
<translation>mettre à jour le bus</translation>
226226
</message>
227227
<message>
228-
<location filename="../qtractorEngineCommand.cpp" line="623"/>
228+
<location filename="../qtractorEngineCommand.cpp" line="626"/>
229229
<source>delete bus</source>
230230
<translation>supprimer le bus</translation>
231231
</message>
232232
<message>
233-
<location filename="../qtractorEngineCommand.cpp" line="646"/>
233+
<location filename="../qtractorEngineCommand.cpp" line="649"/>
234234
<source>move bus</source>
235235
<translation>déplacer le bus</translation>
236236
</message>
237237
<message>
238-
<location filename="../qtractorEngineCommand.cpp" line="694"/>
238+
<location filename="../qtractorEngineCommand.cpp" line="697"/>
239239
<source>bus pass-through</source>
240240
<translation>bus transite</translation>
241241
</message>
242242
<message>
243-
<location filename="../qtractorEngineCommand.cpp" line="740"/>
243+
<location filename="../qtractorEngineCommand.cpp" line="743"/>
244244
<source>bus gain</source>
245245
<translation>gain du bus</translation>
246246
</message>
247247
<message>
248-
<location filename="../qtractorEngineCommand.cpp" line="817"/>
248+
<location filename="../qtractorEngineCommand.cpp" line="820"/>
249249
<source>bus pan</source>
250250
<translation>panoramique du bus</translation>
251251
</message>

src/translations/qtractor_it.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -216,37 +216,37 @@ Fine: %3 Lunghezza: %4</translation>
216216
<translation>%1 Monitor</translation>
217217
</message>
218218
<message>
219-
<location filename="../qtractorEngineCommand.cpp" line="584"/>
219+
<location filename="../qtractorEngineCommand.cpp" line="587"/>
220220
<source>create bus</source>
221221
<translation>crea bus</translation>
222222
</message>
223223
<message>
224-
<location filename="../qtractorEngineCommand.cpp" line="606"/>
224+
<location filename="../qtractorEngineCommand.cpp" line="609"/>
225225
<source>update bus</source>
226226
<translation>aggiorna bus</translation>
227227
</message>
228228
<message>
229-
<location filename="../qtractorEngineCommand.cpp" line="623"/>
229+
<location filename="../qtractorEngineCommand.cpp" line="626"/>
230230
<source>delete bus</source>
231231
<translation>rimuovi bus</translation>
232232
</message>
233233
<message>
234-
<location filename="../qtractorEngineCommand.cpp" line="646"/>
234+
<location filename="../qtractorEngineCommand.cpp" line="649"/>
235235
<source>move bus</source>
236236
<translation>sposta bus</translation>
237237
</message>
238238
<message>
239-
<location filename="../qtractorEngineCommand.cpp" line="694"/>
239+
<location filename="../qtractorEngineCommand.cpp" line="697"/>
240240
<source>bus pass-through</source>
241241
<translation>pass-through bus</translation>
242242
</message>
243243
<message>
244-
<location filename="../qtractorEngineCommand.cpp" line="740"/>
244+
<location filename="../qtractorEngineCommand.cpp" line="743"/>
245245
<source>bus gain</source>
246246
<translation>guadagno bus</translation>
247247
</message>
248248
<message>
249-
<location filename="../qtractorEngineCommand.cpp" line="817"/>
249+
<location filename="../qtractorEngineCommand.cpp" line="820"/>
250250
<source>bus pan</source>
251251
<translation>bilanciamento bus</translation>
252252
</message>

src/translations/qtractor_ja.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -215,37 +215,37 @@ End: %3 Length: %4</source>
215215
<translation>%1 モニター</translation>
216216
</message>
217217
<message>
218-
<location filename="../qtractorEngineCommand.cpp" line="584"/>
218+
<location filename="../qtractorEngineCommand.cpp" line="587"/>
219219
<source>create bus</source>
220220
<translation>バスの作成</translation>
221221
</message>
222222
<message>
223-
<location filename="../qtractorEngineCommand.cpp" line="606"/>
223+
<location filename="../qtractorEngineCommand.cpp" line="609"/>
224224
<source>update bus</source>
225225
<translation>バスの更新</translation>
226226
</message>
227227
<message>
228-
<location filename="../qtractorEngineCommand.cpp" line="623"/>
228+
<location filename="../qtractorEngineCommand.cpp" line="626"/>
229229
<source>delete bus</source>
230230
<translation>バスの削除</translation>
231231
</message>
232232
<message>
233-
<location filename="../qtractorEngineCommand.cpp" line="646"/>
233+
<location filename="../qtractorEngineCommand.cpp" line="649"/>
234234
<source>move bus</source>
235235
<translation>バスの移動</translation>
236236
</message>
237237
<message>
238-
<location filename="../qtractorEngineCommand.cpp" line="694"/>
238+
<location filename="../qtractorEngineCommand.cpp" line="697"/>
239239
<source>bus pass-through</source>
240240
<translation>バスのパススルー</translation>
241241
</message>
242242
<message>
243-
<location filename="../qtractorEngineCommand.cpp" line="740"/>
243+
<location filename="../qtractorEngineCommand.cpp" line="743"/>
244244
<source>bus gain</source>
245245
<translation>バスのゲイン</translation>
246246
</message>
247247
<message>
248-
<location filename="../qtractorEngineCommand.cpp" line="817"/>
248+
<location filename="../qtractorEngineCommand.cpp" line="820"/>
249249
<source>bus pan</source>
250250
<translation>バスのパン</translation>
251251
</message>

src/translations/qtractor_pt_BR.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -624,17 +624,17 @@ MIDI: </translation>
624624
<translation>%1 Banco %2</translation>
625625
</message>
626626
<message>
627-
<location filename="../qtractorEngineCommand.cpp" line="606"/>
627+
<location filename="../qtractorEngineCommand.cpp" line="609"/>
628628
<source>update bus</source>
629629
<translation>atualizar canal primário</translation>
630630
</message>
631631
<message>
632-
<location filename="../qtractorEngineCommand.cpp" line="646"/>
632+
<location filename="../qtractorEngineCommand.cpp" line="649"/>
633633
<source>move bus</source>
634634
<translation>mover canal primário</translation>
635635
</message>
636636
<message>
637-
<location filename="../qtractorEngineCommand.cpp" line="584"/>
637+
<location filename="../qtractorEngineCommand.cpp" line="587"/>
638638
<source>create bus</source>
639639
<translation>criar canal primário</translation>
640640
</message>
@@ -672,7 +672,7 @@ MIDI: </translation>
672672
<translation>renderizar sessão</translation>
673673
</message>
674674
<message>
675-
<location filename="../qtractorEngineCommand.cpp" line="817"/>
675+
<location filename="../qtractorEngineCommand.cpp" line="820"/>
676676
<source>bus pan</source>
677677
<translation>panorâmico do canal primário</translation>
678678
</message>
@@ -795,7 +795,7 @@ Audio: %1 channels, %2 Hz</source>
795795
<translation>Desconhecido</translation>
796796
</message>
797797
<message>
798-
<location filename="../qtractorEngineCommand.cpp" line="740"/>
798+
<location filename="../qtractorEngineCommand.cpp" line="743"/>
799799
<source>bus gain</source>
800800
<translation>volume do canal primário</translation>
801801
</message>
@@ -814,7 +814,7 @@ Track: &quot;%1&quot; Input: &quot;%2&quot; Output: &quot;%3&quot;</source>
814814
Pista: &quot;%1&quot; Entrada: &quot;%2&quot; Saída: &quot;%3&quot;</translation>
815815
</message>
816816
<message>
817-
<location filename="../qtractorEngineCommand.cpp" line="623"/>
817+
<location filename="../qtractorEngineCommand.cpp" line="626"/>
818818
<source>delete bus</source>
819819
<translation>apagar canal primário</translation>
820820
</message>
@@ -840,7 +840,7 @@ Pista: &quot;%1&quot; Entrada: &quot;%2&quot; Saída: &quot;%3&quot;</translatio
840840
<translation>adicionar nó de tempo</translation>
841841
</message>
842842
<message>
843-
<location filename="../qtractorEngineCommand.cpp" line="694"/>
843+
<location filename="../qtractorEngineCommand.cpp" line="697"/>
844844
<source>bus pass-through</source>
845845
<translation>repassar canal primário</translation>
846846
</message>

0 commit comments

Comments
 (0)