Player worker: QCondition time is in ms
This commit is contained in:
parent
8c681db1cd
commit
5ccdc4f749
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ void TunerWorker::Entry()
|
||||||
blank_prevent(false);
|
blank_prevent(false);
|
||||||
bool waked;
|
bool waked;
|
||||||
while (!running && !playing && !quit) {
|
while (!running && !playing && !quit) {
|
||||||
waked = condition.wait(&mutex, p_play ? 1000000 : ULONG_MAX);
|
waked = condition.wait(&mutex, p_play ? 1000 : ULONG_MAX);
|
||||||
// free playing now
|
// free playing now
|
||||||
if (!waked && p_play) {
|
if (!waked && p_play) {
|
||||||
pa_simple_free(p_play);
|
pa_simple_free(p_play);
|
||||||
|
|
Loading…
Reference in a new issue