File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -688,6 +688,14 @@ static int process_control_commands(struct impl *impl)
688
688
689
689
pw_log_trace ("Audio playback %s" , new_state ? "started" : "stopped" );
690
690
691
+ #if QUBES_PW_CAN_DRIVE
692
+ if (new_state && pw_stream_is_driving (playback_stream -> stream )) {
693
+ // If *either* stream is driving, use the playback vchan to drive
694
+ // the graph. Specifically, drive the graph when there is enough
695
+ // space in the playback vchan for a cycle.
696
+ pw_log_trace ("Qubes OS playback node is driving" );
697
+ }
698
+ #endif
691
699
rt_set_stream_state (playback_stream , new_state );
692
700
}
693
701
@@ -707,6 +715,11 @@ static int process_control_commands(struct impl *impl)
707
715
708
716
pw_log_trace ("Audio capturing %s" , new_state ? "started" : "stopped" );
709
717
718
+ #if QUBES_PW_CAN_DRIVE
719
+ if (new_state && pw_stream_is_driving (capture_stream -> stream )) {
720
+ pw_log_trace ("Qubes OS capture node is driving" );
721
+ }
722
+ #endif
710
723
rt_set_stream_state (capture_stream , new_state );
711
724
}
712
725
You can’t perform that action at this time.
0 commit comments