Christopher N. Hesse | d23c6b5 | 2017-01-28 14:18:10 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2017 The LineageOS 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 | |
| 17 | #ifndef SAMSUNG_AUDIO_H |
| 18 | #define SAMSUNG_AUDIO_H |
| 19 | |
| 20 | /* |
| 21 | * Sound card specific defines. |
| 22 | * |
| 23 | * This is an example configuration for a WolfsonMicro WM1814 sound card. |
| 24 | * Codec: Vegas |
| 25 | * |
| 26 | * If you driver does not support one of the devices, the id should not be |
| 27 | * defined. |
| 28 | */ |
| 29 | |
| 30 | #define MIXER_CARD 0 |
| 31 | #define SOUND_CARD 0 |
| 32 | |
| 33 | /* Playback */ |
Christopher N. Hesse | 8414bd2 | 2017-01-30 18:57:20 +0100 | [diff] [blame] | 34 | #define SOUND_DEEP_BUFFER_DEVICE 3 |
Christopher N. Hesse | d23c6b5 | 2017-01-28 14:18:10 +0100 | [diff] [blame] | 35 | #define SOUND_PLAYBACK_DEVICE 4 |
| 36 | #define SOUND_PLAYBACK_SCO_DEVICE 2 |
| 37 | |
| 38 | /* Capture */ |
| 39 | #define SOUND_CAPTURE_DEVICE 0 |
| 40 | #define SOUND_CAPTURE_SCO_DEVICE 2 |
| 41 | |
| 42 | /* Unusupported |
| 43 | #define SOUND_CAPTURE_LOOPBACK_AEC_DEVICE 1 |
| 44 | #define SOUND_CAPTURE_HOTWORD_DEVICE 0 |
| 45 | */ |
| 46 | |
| 47 | |
| 48 | #endif // SAMSUNG_AUDIO_H |