diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-10-06 02:26:08 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-10-06 02:26:08 +0200 |
commit | aa4373962cef6c00b16e229ff6165c144d322ccb (patch) | |
tree | a8e475f4983809f19cd5dd7b4012b77760b093a1 /src/pulsecore/sink-input.c | |
parent | 5996f59dd5e13d10da9a2c95f0040e48f7a7696e (diff) |
make sure we send a started messages when we are uncorking
Diffstat (limited to 'src/pulsecore/sink-input.c')
-rw-r--r-- | src/pulsecore/sink-input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pulsecore/sink-input.c b/src/pulsecore/sink-input.c index 326a7e2c..4f70347f 100644 --- a/src/pulsecore/sink-input.c +++ b/src/pulsecore/sink-input.c @@ -1030,6 +1030,9 @@ void pa_sink_input_set_state_within_thread(pa_sink_input *i, pa_sink_input_state } else if (uncorking) { + i->thread_info.underrun_for = (uint64_t) -1; + i->thread_info.playing_for = 0; + pa_log_debug("Requesting rewind due to uncorking"); /* OK, we're being uncorked. Make sure we're not rewound when |