output/Internal: move "client" to struct AudioOutputControl

This commit is contained in:
Max Kellermann
2017-05-23 00:31:13 +02:00
parent 194f733ca7
commit ebecee3d85
7 changed files with 24 additions and 47 deletions

View File

@@ -365,7 +365,7 @@ AudioOutputControl::Play() noexcept
give it a chance to refill the pipe before
it runs empty */
const ScopeUnlock unlock(mutex);
output->client->ChunksConsumed();
client.ChunksConsumed();
n = 0;
}
@@ -374,7 +374,7 @@ AudioOutputControl::Play() noexcept
} while (FillSourceOrClose());
const ScopeUnlock unlock(mutex);
output->client->ChunksConsumed();
client.ChunksConsumed();
return true;
}