mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
fix recording
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2387 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
21fa1cf857
commit
7b5c6a34e2
1 changed files with 2 additions and 1 deletions
|
|
@ -1263,7 +1263,8 @@ static void stream_get_timing_info_callback(pa_pdispatch *pd, uint32_t command,
|
||||||
goto finish;
|
goto finish;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (o->context->version >= 13)
|
if (o->context->version >= 13 &&
|
||||||
|
o->stream->direction == PA_STREAM_PLAYBACK)
|
||||||
if (pa_tagstruct_getu64(t, &underrun_for) < 0 ||
|
if (pa_tagstruct_getu64(t, &underrun_for) < 0 ||
|
||||||
pa_tagstruct_getu64(t, &playing_for) < 0) {
|
pa_tagstruct_getu64(t, &playing_for) < 0) {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue