Fix packet/frame counter for pulseaudio plugin

Reset the counters when the recording is stopped.
This commit is contained in:
fryshorts 2014-05-21 20:55:09 +02:00
parent 3a850e67c3
commit 66d8ad8eaf

View File

@ -253,6 +253,8 @@ static void pulse_stop_recording(struct pulse_data *data)
blog(LOG_INFO, "pulse-input: Got %"PRIuFAST32
" packets with %"PRIuFAST64" frames",
data->packets, data->frames);
data->packets = 0;
data->frames = 0;
}
/**