hdmi: cat66121: set i2s freq 44.1k to fix sound too small on some tv
authorxuhuicong <xhc@rock-chips.com>
Sat, 22 Jun 2013 08:06:34 +0000 (16:06 +0800)
committerxuhuicong <xhc@rock-chips.com>
Sat, 22 Jun 2013 08:06:34 +0000 (16:06 +0800)
drivers/video/rockchip/hdmi/chips/cat66121/cat66121_hdmi_hw.c
drivers/video/rockchip/hdmi/chips/cat66121/cat66121_hdmi_hw.h
drivers/video/rockchip/hdmi/chips/cat66121/config.h

index d6d0baa8c93af13f2474075bff28f589bf11ec22..02c011eb638434deec4af460abc6af7871c351e5 100755 (executable)
@@ -611,7 +611,7 @@ int cat66121_hdmi_sys_config_audio(struct hdmi_audio *audio)
        HDMITX_EnableAudioOutput(
                        CNOFIG_INPUT_AUDIO_TYPE,
                        CONFIG_INPUT_AUDIO_SPDIF,
-                       audio->rate,
+                       INPUT_SAMPLE_FREQ_HZ,
                        audio->channel,
                        NULL, // pointer to cahnnel status.
                        hdmi->tmdsclk*(pixelrep+1));
index 8ff54aa1acc99eeade329c046eb08de8e881c2b7..e8775d02ee7760f92e085d50c925e753376cc6b3 100755 (executable)
@@ -18,7 +18,7 @@
 #endif //INPUT_SAMPLE_FREQ
 
 #ifndef INPUT_SAMPLE_FREQ_HZ
-    #define INPUT_SAMPLE_FREQ_HZ 48000L
+    #define INPUT_SAMPLE_FREQ_HZ 44100L
 #endif //INPUT_SAMPLE_FREQ_HZ
 
 #ifndef OUTPUT_CHANNEL
index f879720773b333ebbc1a3dc954a9465b76f54479..d42b7ee50cc52828274346dc76fe698d33a960bc 100755 (executable)
 #define USE_SPDIF_CHSTAT
 #ifndef SUPPORT_HBR_AUDIO
     #define INPUT_SAMPLE_FREQ AUDFS_48KHz
-    #define INPUT_SAMPLE_FREQ_HZ 48000L
+    #define INPUT_SAMPLE_FREQ_HZ 44100L
     #define OUTPUT_CHANNEL 2 // 3 // 4 // 5//6 //7 //8
 
     #define CNOFIG_INPUT_AUDIO_TYPE T_AUDIO_LPCM