mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
Fix i2s media player on devices with no internal DAC (#4768)
This commit is contained in:
parent
fb094fca0f
commit
4a3f9712b2
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ void I2SAudioMediaPlayer::start_() {
|
|||
this->audio_ = make_unique<Audio>(true, this->internal_dac_mode_, this->parent_->get_port());
|
||||
} else {
|
||||
#endif
|
||||
this->audio_ = make_unique<Audio>(false, I2S_DAC_CHANNEL_BOTH_EN, this->parent_->get_port());
|
||||
this->audio_ = make_unique<Audio>(false, 3, this->parent_->get_port());
|
||||
|
||||
i2s_pin_config_t pin_config = this->parent_->get_pin_config();
|
||||
pin_config.data_out_num = this->dout_pin_;
|
||||
|
|
Loading…
Reference in a new issue