-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
@@ -1,3 +1,18 @@ +/* + * 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_H_ #include <audio_utils/resampler.h> @@ -96,6 +111,7 @@ struct aml_audio_device { struct pcm *pcm; bool pcm_paused; unsigned hdmi_arc_ad[HDMI_ARC_MAX_FORMAT]; + bool hi_pcm_mode; }; struct aml_stream_out { |