Fix packet/frame counter for pulseaudio plugin
Reset the counters when the recording is stopped.
This commit is contained in:
parent
3a850e67c3
commit
66d8ad8eaf
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user