Move audio decoder priorities below bluetooth

The previous priority was leading to a nasty consistent stutter, as reading samples from the drain suffer would lead to the decoder immediately unblocking and preempting the SBC encoding.
custom
jacqueline 10 months ago
parent 686e14794d
commit 53798f4a61
  1. 4
      src/tasks/tasks.cpp

@ -83,11 +83,11 @@ auto Priority() -> UBaseType_t;
// highest priority.
template <>
auto Priority<Type::kAudioDecoder>() -> UBaseType_t {
return configMAX_PRIORITIES - 1;
return 15;
}
template <>
auto Priority<Type::kAudioConverter>() -> UBaseType_t {
return configMAX_PRIORITIES - 1;
return 15;
}
// After audio issues, UI jank is the most noticeable kind of scheduling-induced
// slowness that the user is likely to notice or care about. Therefore we place

Loading…
Cancel
Save