mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Test audio
This commit is contained in:
@@ -295,7 +295,7 @@ static bool pa_sound_device_handle_reconnect(pa_handle *p, char *device_name, si
|
|||||||
}
|
}
|
||||||
|
|
||||||
r = pa_stream_connect_record(p->stream, device_name, &p->attr,
|
r = pa_stream_connect_record(p->stream, device_name, &p->attr,
|
||||||
(pa_stream_flags_t)(PA_STREAM_INTERPOLATE_TIMING|PA_STREAM_ADJUST_LATENCY|PA_STREAM_AUTO_TIMING_UPDATE));
|
(pa_stream_flags_t)(PA_STREAM_INTERPOLATE_TIMING|PA_STREAM_ADJUST_LATENCY|PA_STREAM_AUTO_TIMING_UPDATE|PA_STREAM_DONT_MOVE));
|
||||||
|
|
||||||
if(r < 0) {
|
if(r < 0) {
|
||||||
//pa_context_errno(p->context);
|
//pa_context_errno(p->context);
|
||||||
|
|||||||
Reference in New Issue
Block a user