fix SDL issue (CID 1518457) (#19289)
* fix SDL issue (CID 1518457) * update for comments
This commit is contained in:
parent
d55e45f677
commit
61fcf3855a
@ -150,8 +150,7 @@ std::vector<std::vector<int>> get_streams_info_table(const int input_streams,
|
|||||||
((latencyThreadingMode == Config::LatencyThreadingMode::PER_PLATFORM) || (proc_type_table.size() == 1))) ||
|
((latencyThreadingMode == Config::LatencyThreadingMode::PER_PLATFORM) || (proc_type_table.size() == 1))) ||
|
||||||
((input_streams_changed == true) && (input_streams == 1))) {
|
((input_streams_changed == true) && (input_streams == 1))) {
|
||||||
n_streams = 1;
|
n_streams = 1;
|
||||||
if ((proc_type_table.size() == 1) && (model_prefer_threads > 0) &&
|
if ((proc_type_table.size() == 1) && (input_threads == 0) && (model_prefer_threads > 0)) {
|
||||||
((input_threads == 0) || (input_threads == 0))) {
|
|
||||||
stream_info[NUMBER_OF_STREAMS] = n_streams;
|
stream_info[NUMBER_OF_STREAMS] = n_streams;
|
||||||
if ((model_prefer_threads == proc_type_table[0][MAIN_CORE_PROC]) &&
|
if ((model_prefer_threads == proc_type_table[0][MAIN_CORE_PROC]) &&
|
||||||
(proc_type_table[0][MAIN_CORE_PROC] > 0)) {
|
(proc_type_table[0][MAIN_CORE_PROC] > 0)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user