i2s_audio: Set player_task's prio to 1 (#5945)

This commit is contained in:
Alex Hermann 2023-12-18 00:58:13 +01:00 committed by Jesse Hills
parent 2309f15ce0
commit 168e704130
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A

View file

@ -29,7 +29,7 @@ void I2SAudioSpeaker::start_() {
} }
this->state_ = speaker::STATE_RUNNING; this->state_ = speaker::STATE_RUNNING;
xTaskCreate(I2SAudioSpeaker::player_task, "speaker_task", 8192, (void *) this, 0, &this->player_task_handle_); xTaskCreate(I2SAudioSpeaker::player_task, "speaker_task", 8192, (void *) this, 1, &this->player_task_handle_);
} }
void I2SAudioSpeaker::player_task(void *params) { void I2SAudioSpeaker::player_task(void *params) {