blob: 712ef67192066a0fbb46b6a272599ba5ba8da9b7 [file] [log] [blame]
Paul McLeanc88e6ae2014-07-16 09:48:34 -07001/*
2 * Copyright (C) 2014 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Paul McLean271444a2014-12-15 09:44:42 -080017#ifndef ANDROID_HARDWARE_LIBHARDWARE_MODULES_USBAUDIO_AUDIO_FORMAT_H
18#define ANDROID_HARDWARE_LIBHARDWARE_MODULES_USBAUDIO_AUDIO_FORMAT_H
Paul McLeanc88e6ae2014-07-16 09:48:34 -070019
20#include <system/audio.h>
21
22#include <tinyalsa/asoundlib.h>
23
Paul McLeanc88e6ae2014-07-16 09:48:34 -070024enum pcm_format get_pcm_format_for_mask(struct pcm_mask* mask);
25
Paul McLean271444a2014-12-15 09:44:42 -080026#endif /* ANDROID_HARDWARE_LIBHARDWARE_MODULES_USBAUDIO_AUDIO_FORMAT_H */