summaryrefslogtreecommitdiffstats
path: root/modules/usbaudio/audio_logging.h
diff options
context:
space:
mode:
authorPaul McLean <pmclean@google.com>2014-12-15 09:44:42 -0800
committerPaul Mclean <pmclean@google.com>2014-12-15 18:18:52 +0000
commit271444af385a288bf4164bd2b3e186525e4c0d40 (patch)
tree128e0acfc948645be7b6d7d673ac1fd1cd6a4285 /modules/usbaudio/audio_logging.h
parent416b4431c6df1da3c0e38f1d7c0fd90b26fe28c3 (diff)
downloadhardware_libhardware-271444af385a288bf4164bd2b3e186525e4c0d40.zip
hardware_libhardware-271444af385a288bf4164bd2b3e186525e4c0d40.tar.gz
hardware_libhardware-271444af385a288bf4164bd2b3e186525e4c0d40.tar.bz2
Renaming generic-sounding filenames to indicate "audio".
Change-Id: Iba6403a3493379c39d22d23b438f028efc2e15b7
Diffstat (limited to 'modules/usbaudio/audio_logging.h')
-rw-r--r--modules/usbaudio/audio_logging.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/modules/usbaudio/audio_logging.h b/modules/usbaudio/audio_logging.h
new file mode 100644
index 0000000..082e8b2
--- /dev/null
+++ b/modules/usbaudio/audio_logging.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ANDROID_HARDWARE_LIBHARDWARE_MODULES_USBAUDIO_AUDIO_LOGGING_H
+#define ANDROID_HARDWARE_LIBHARDWARE_MODULES_USBAUDIO_AUDIO_LOGGING_H
+
+#include <tinyalsa/asoundlib.h>
+
+void log_pcm_mask(const char* mask_name, struct pcm_mask* mask);
+void log_pcm_params(struct pcm_params * alsa_hw_params);
+void log_pcm_config(struct pcm_config * config, const char* label);
+
+#endif /* ANDROID_HARDWARE_LIBHARDWARE_MODULES_USBAUDIO_AUDIO_LOGGING_H */