File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -750,6 +750,10 @@ run_audio (void *data)
750750 engine -> frames_per_transfer );
751751 }
752752
753+ // These calls are needed to initialize the Overbridge side before the host side.
754+ prepare_cycle_in_audio (engine );
755+ prepare_cycle_out_audio (engine );
756+
753757 // status == OW_ENGINE_STATUS_STOP
754758
755759 // This can NOT use ow_engine_set_status as the transition is not allowed from OW_ENGINE_STATUS_STOP.
@@ -784,9 +788,6 @@ run_audio (void *data)
784788 engine -> status = OW_ENGINE_STATUS_BOOT ;
785789 pthread_spin_unlock (& engine -> lock );
786790
787- prepare_cycle_in_audio (engine );
788- prepare_cycle_out_audio (engine );
789-
790791 while (1 )
791792 {
792793 // status == OW_ENGINE_STATUS_BOOT || status == OW_ENGINE_STATUS_CLEAR
You can’t perform that action at this time.
0 commit comments