Revision 8631b608 vnc.c
b/vnc.c | ||
---|---|---|
1046 | 1046 |
|
1047 | 1047 |
static void audio_add(VncState *vs) |
1048 | 1048 |
{ |
1049 |
Monitor *mon = cur_mon; |
|
1050 | 1049 |
struct audio_capture_ops ops; |
1051 | 1050 |
|
1052 | 1051 |
if (vs->audio_cap) { |
1053 |
monitor_printf(mon, "audio already running\n"); |
|
1052 |
monitor_printf(default_mon, "audio already running\n");
|
|
1054 | 1053 |
return; |
1055 | 1054 |
} |
1056 | 1055 |
|
... | ... | |
1060 | 1059 |
|
1061 | 1060 |
vs->audio_cap = AUD_add_capture(&vs->as, &ops, vs); |
1062 | 1061 |
if (!vs->audio_cap) { |
1063 |
monitor_printf(mon, "Failed to add audio capture\n"); |
|
1062 |
monitor_printf(default_mon, "Failed to add audio capture\n");
|
|
1064 | 1063 |
} |
1065 | 1064 |
} |
1066 | 1065 |
|
Also available in: Unified diff