output/Internal: move several flags to struct AudioOutputControl

This commit is contained in:
Max Kellermann
2017-05-22 23:40:20 +02:00
parent 2e65686fc0
commit 5eef146871
5 changed files with 37 additions and 47 deletions

View File

@@ -270,7 +270,7 @@ try {
inline bool
AudioOutputControl::PlayChunk()
{
if (output->tags) {
if (tags) {
const auto *tag = output->source.ReadTag();
if (tag != nullptr) {
const ScopeUnlock unlock(mutex);