diff options
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/erosqnative/audiohw-erosqnative.c')
-rw-r--r-- | firmware/target/mips/ingenic_x1000/erosqnative/audiohw-erosqnative.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_x1000/erosqnative/audiohw-erosqnative.c b/firmware/target/mips/ingenic_x1000/erosqnative/audiohw-erosqnative.c index 1e3e7f0b7f..df97aba0c8 100644 --- a/firmware/target/mips/ingenic_x1000/erosqnative/audiohw-erosqnative.c +++ b/firmware/target/mips/ingenic_x1000/erosqnative/audiohw-erosqnative.c | |||
@@ -162,7 +162,7 @@ void audiohw_set_volume(int vol_l, int vol_r) | |||
162 | /* set software volume just below unity due to | 162 | /* set software volume just below unity due to |
163 | * DAC offset. We don't want to overflow the PCM system. */ | 163 | * DAC offset. We don't want to overflow the PCM system. */ |
164 | pcm_set_master_volume(-1, -1); | 164 | pcm_set_master_volume(-1, -1); |
165 | es9018k2m_set_volume(l, r); | 165 | es9018k2m_set_volume_async(l, r); |
166 | } | 166 | } |
167 | else /* PCM5102A */ | 167 | else /* PCM5102A */ |
168 | { | 168 | { |
@@ -171,4 +171,12 @@ void audiohw_set_volume(int vol_l, int vol_r) | |||
171 | 171 | ||
172 | pcm_set_master_volume(l, r); | 172 | pcm_set_master_volume(l, r); |
173 | } | 173 | } |
174 | } | ||
175 | |||
176 | void audiohw_set_filter_roll_off(int value) | ||
177 | { | ||
178 | if (es9018k2m_present_flag) | ||
179 | { | ||
180 | es9018k2m_set_filter_roll_off(value); | ||
181 | } | ||
174 | } \ No newline at end of file | 182 | } \ No newline at end of file |