summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--audio_hw.c204
-rw-r--r--audio_hw.h16
-rw-r--r--audio_hw_profile.c67
-rw-r--r--audio_hw_profile.h20
-rw-r--r--audio_hw_utils.c157
-rw-r--r--audio_hw_utils.h20
-rw-r--r--audio_hwsync.c18
-rw-r--r--audio_hwsync.h18
8 files changed, 406 insertions, 114 deletions
diff --git a/audio_hw.h b/audio_hw.h
index 4777026..efd70ec 100644
--- a/audio_hw.h
+++ b/audio_hw.h
@@ -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 {