On 14/07/2021 18:03, Pierre-Louis Bossart wrote:
+ rc = q6apm_graph_media_format_pcm(dai_data->graph[dai->id], + substream->stream, cfg->sample_rate, + cfg->num_channels, NULL, cfg->bit_width); + + rc = q6apm_graph_prepare(dai_data->graph[dai->id]);any good static analyzer would tell you you didn't test rc before overriding it..
yes you are correct, I did forgot to do cppcheck after make W=1 C=1 These are now fixed in new version. --srini