-rw-r--r-- | audio_hw.c | 204 | ||||
-rw-r--r-- | audio_hw.h | 16 | ||||
-rw-r--r-- | audio_hw_profile.c | 67 | ||||
-rw-r--r-- | audio_hw_profile.h | 20 | ||||
-rw-r--r-- | audio_hw_utils.c | 157 | ||||
-rw-r--r-- | audio_hw_utils.h | 20 | ||||
-rw-r--r-- | audio_hwsync.c | 18 | ||||
-rw-r--r-- | audio_hwsync.h | 18 |
8 files changed, 406 insertions, 114 deletions
diff --git a/audio_hw_profile.h b/audio_hw_profile.h index fe58eca..d0fe8b4 100644 --- a/audio_hw_profile.h +++ b/audio_hw_profile.h @@ -1,9 +1,27 @@ +/* + * Copyright (C) 2010 Amlogic Corporation. + * + * 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 _AUDIO_HW_PROFILE_H_ #define _AUDIO_HW_PROFILE_H_ int get_external_card(int type); int get_aml_card(); int get_spdif_port(); -char* get_hdmi_sink_cap(const char *keys); +char* get_hdmi_sink_cap(const char *keys,audio_format_t format); char* get_hdmi_arc_cap(unsigned *ad, int maxsize, const char *keys); #endif
\ No newline at end of file |