Skip to content

Commit

Permalink
Forgotten fix to radio.c for Client/Server
Browse files Browse the repository at this point in the history
  • Loading branch information
dl1ycf committed Dec 29, 2021
1 parent 768523b commit dc7c21f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions radio.c
Original file line number Diff line number Diff line change
Expand Up @@ -2655,8 +2655,17 @@ int remote_start(void *data) {
display_sliders=1;
display_toolbar=1;
#endif
RECEIVERS=2;
radioRestoreState();
create_visual();
if (can_transmit) {
if(transmitter->local_microphone) {
if(audio_open_input()!=0) {
g_print("audio_open_input failed\n");
transmitter->local_microphone=0;
}
}
}
for(int i=0;i<receivers;i++) {
receiver_restore_state(receiver[i]);
if(receiver[i]->local_audio) {
Expand Down

0 comments on commit dc7c21f

Please sign in to comment.