hdmi: cat66121: set i2s freq 44.1k to fix sound too small on some tv

This commit is contained in:
xuhuicong
2013-06-22 16:06:34 +08:00
parent 3a9e58f89a
commit 4427d5d4a8
3 changed files with 3 additions and 3 deletions

View File

@@ -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));

View File

@@ -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

View File

@@ -100,7 +100,7 @@
#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