Skip to content

Commit

Permalink
White noise (Issue #953)
Browse files Browse the repository at this point in the history
  • Loading branch information
schreibfaul1 committed Jan 16, 2025
1 parent 26d0610 commit 222a8cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/Audio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
*
* Created on: Oct 28.2018
*
* Version 3.1.0
* Updated on: Jan 07.2025
* Version 3.1.0a
* Updated on: Jan 16.2025
* Author: Wolle (schreibfaul1)
*
*/
Expand Down Expand Up @@ -192,7 +192,7 @@ Audio::Audio(uint8_t i2sPort) {
m_i2s_std_cfg.gpio_cfg.invert_flags.ws_inv = false;
m_i2s_std_cfg.clk_cfg.sample_rate_hz = 44100;
m_i2s_std_cfg.clk_cfg.clk_src = I2S_CLK_SRC_DEFAULT; // Select PLL_F160M as the default source clock
m_i2s_std_cfg.clk_cfg.mclk_multiple = I2S_MCLK_MULTIPLE_512; // mclk = sample_rate * 256
m_i2s_std_cfg.clk_cfg.mclk_multiple = I2S_MCLK_MULTIPLE_128; // mclk = sample_rate * 256
i2s_channel_init_std_mode(m_i2s_tx_handle, &m_i2s_std_cfg);
I2Sstart(m_i2s_num);
m_sampleRate = 44100;
Expand Down
4 changes: 2 additions & 2 deletions src/Audio.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*
* Created on: Oct 28,2018
*
* Version 3.1.0
* Updated on: Jan 07.2025
* Version 3.1.0a
* Updated on: Jan 16.2025
* Author: Wolle (schreibfaul1)
*/

Expand Down

0 comments on commit 222a8cf

Please sign in to comment.