mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
erosqnative: Updated documentation about an odd quirk of hw3/hw4 platforms
The ES9018K2M DAC used on hw3/hw4 defaults to 32-bit audio frames but when configuring it to match the SoC I2S settings (ie 16 or 24-bit) it results in garbled output for unexplained reasons. Change-Id: If3074f38178b19520ca6222a1e020ea210069a6d
This commit is contained in:
parent
df85814e74
commit
9a80f5af55
1 changed files with 5 additions and 4 deletions
|
|
@ -105,10 +105,11 @@ void audiohw_init(void)
|
|||
es9018k2m_present_flag = true;
|
||||
builtin_pcm_sink.caps.volume_type = PCM_SINK_HWVOL;
|
||||
|
||||
/* Default is 32-bit data, and it works ok. Enabling the following
|
||||
* causes issue. Which is weird, I definitely thought AIC was configured
|
||||
* for 16-bit data... */
|
||||
// es9018k2m_write_reg(ES9018K2M_REG1_INPUT_CONFIG, 0b00001100); // 16-bit data
|
||||
/* ES9018K2M defaults to 32-bit sample depth, which appears to work
|
||||
properly with both 16-bit and 24-bit AIC configuration! Enabling
|
||||
the following (ie to match the actual AIC configuration) produces
|
||||
garbled output!
|
||||
// es9018k2m_write_reg(ES9018K2M_REG1_INPUT_CONFIG, 0b00001100); // 16-bit data
|
||||
|
||||
/* Datasheet: Sets the number os FSR edges that must occur before *
|
||||
* the DPLL and ASRC can lock on to the the incoming Signal. *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue