1fe1e1449cadff4f946c33403aecc73b4b4a11e56Nicolas Roulet/* 24da7820be451847bad698ac0f687b964d9b5d34fNicolas Roulet * 34da7820be451847bad698ac0f687b964d9b5d34fNicolas Roulet * Copyright 2017, The Android Open Source Project 44da7820be451847bad698ac0f687b964d9b5d34fNicolas Roulet * 54da7820be451847bad698ac0f687b964d9b5d34fNicolas Roulet * Licensed under the Apache License, Version 2.0 (the "License"); 64da7820be451847bad698ac0f687b964d9b5d34fNicolas Roulet * you may not use this file except in compliance with the License. 74da7820be451847bad698ac0f687b964d9b5d34fNicolas Roulet * You may obtain a copy of the License at 84da7820be451847bad698ac0f687b964d9b5d34fNicolas Roulet * 94da7820be451847bad698ac0f687b964d9b5d34fNicolas Roulet * http://www.apache.org/licenses/LICENSE-2.0 104da7820be451847bad698ac0f687b964d9b5d34fNicolas Roulet * 114da7820be451847bad698ac0f687b964d9b5d34fNicolas Roulet * Unless required by applicable law or agreed to in writing, software 124da7820be451847bad698ac0f687b964d9b5d34fNicolas Roulet * distributed under the License is distributed on an "AS IS" BASIS, 134da7820be451847bad698ac0f687b964d9b5d34fNicolas Roulet * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 144da7820be451847bad698ac0f687b964d9b5d34fNicolas Roulet * See the License for the specific language governing permissions and 154da7820be451847bad698ac0f687b964d9b5d34fNicolas Roulet * limitations under the License. 164da7820be451847bad698ac0f687b964d9b5d34fNicolas Roulet */ 17fe1e1449cadff4f946c33403aecc73b4b4a11e56Nicolas Roulet 18fe1e1449cadff4f946c33403aecc73b4b4a11e56Nicolas Roulet#define LOG_TAG "AudioFlinger" 19fe1e1449cadff4f946c33403aecc73b4b4a11e56Nicolas Roulet//#define LOG_NDEBUG 0 20fe1e1449cadff4f946c33403aecc73b4b4a11e56Nicolas Roulet#include <utils/Log.h> 21fe1e1449cadff4f946c33403aecc73b4b4a11e56Nicolas Roulet 22fe1e1449cadff4f946c33403aecc73b4b4a11e56Nicolas Roulet#include <pthread.h> 23fe1e1449cadff4f946c33403aecc73b4b4a11e56Nicolas Roulet#include "TypedLogger.h" 24fe1e1449cadff4f946c33403aecc73b4b4a11e56Nicolas Roulet 254da7820be451847bad698ac0f687b964d9b5d34fNicolas Rouletnamespace android { 264da7820be451847bad698ac0f687b964d9b5d34fNicolas Rouletthread_local NBLog::Writer *logWriterTLS; 274da7820be451847bad698ac0f687b964d9b5d34fNicolas Roulet} 28