jasmine cha | 75fa6f0 | 2018-03-30 15:41:33 +0800 | [diff] [blame] | 1 | /* |
Arun Mirpuri | d750ac5 | 2019-04-12 18:33:55 -0700 | [diff] [blame^] | 2 | * Copyright (C) 2018-2019 The Android Open Source Project |
jasmine cha | 75fa6f0 | 2018-03-30 15:41:33 +0800 | [diff] [blame] | 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 | |
| 17 | #ifndef MAXXAUDIO_H_ |
| 18 | #define MAXXAUDIO_H_ |
| 19 | |
Arun Mirpuri | d750ac5 | 2019-04-12 18:33:55 -0700 | [diff] [blame^] | 20 | void ma_init(void *platform, maxx_audio_init_config_t init_config); |
| 21 | void ma_deinit(); |
| 22 | bool ma_set_state(struct audio_device *adev, int stream_type, |
Aalique Grahame | 5ce7fbe | 2019-01-28 12:08:13 -0800 | [diff] [blame] | 23 | float vol, bool active); |
Arun Mirpuri | d750ac5 | 2019-04-12 18:33:55 -0700 | [diff] [blame^] | 24 | void ma_set_device(struct audio_usecase *usecase); |
| 25 | void ma_set_parameters(struct audio_device *adev, |
Aalique Grahame | 5ce7fbe | 2019-01-28 12:08:13 -0800 | [diff] [blame] | 26 | struct str_parms *parms); |
Arun Mirpuri | d750ac5 | 2019-04-12 18:33:55 -0700 | [diff] [blame^] | 27 | bool ma_supported_usb(); |
| 28 | #endif /* MAXXAUDIO_H_ */ |