1*b9df5ad1SAndroid Build Coastguard Worker /* 2*b9df5ad1SAndroid Build Coastguard Worker * Copyright (C) 2014 The Android Open Source Project 3*b9df5ad1SAndroid Build Coastguard Worker * 4*b9df5ad1SAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License"); 5*b9df5ad1SAndroid Build Coastguard Worker * you may not use this file except in compliance with the License. 6*b9df5ad1SAndroid Build Coastguard Worker * You may obtain a copy of the License at 7*b9df5ad1SAndroid Build Coastguard Worker * 8*b9df5ad1SAndroid Build Coastguard Worker * http://www.apache.org/licenses/LICENSE-2.0 9*b9df5ad1SAndroid Build Coastguard Worker * 10*b9df5ad1SAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software 11*b9df5ad1SAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS, 12*b9df5ad1SAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*b9df5ad1SAndroid Build Coastguard Worker * See the License for the specific language governing permissions and 14*b9df5ad1SAndroid Build Coastguard Worker * limitations under the License. 15*b9df5ad1SAndroid Build Coastguard Worker */ 16*b9df5ad1SAndroid Build Coastguard Worker 17*b9df5ad1SAndroid Build Coastguard Worker #ifndef ANDROID_SYSTEM_MEDIA_ALSA_UTILS_ALSA_LOGGING_H 18*b9df5ad1SAndroid Build Coastguard Worker #define ANDROID_SYSTEM_MEDIA_ALSA_UTILS_ALSA_LOGGING_H 19*b9df5ad1SAndroid Build Coastguard Worker 20*b9df5ad1SAndroid Build Coastguard Worker #include <tinyalsa/asoundlib.h> 21*b9df5ad1SAndroid Build Coastguard Worker 22*b9df5ad1SAndroid Build Coastguard Worker void log_pcm_mask(const char* mask_name, const struct pcm_mask* mask); 23*b9df5ad1SAndroid Build Coastguard Worker void log_pcm_params(const struct pcm_params * alsa_hw_params); 24*b9df5ad1SAndroid Build Coastguard Worker void log_pcm_config(const struct pcm_config * config, const char* label); 25*b9df5ad1SAndroid Build Coastguard Worker 26*b9df5ad1SAndroid Build Coastguard Worker #endif /* ANDROID_SYSTEM_MEDIA_ALSA_UTILS_ALSA_LOGGING_H */ 27