module/roc-*: fix position of comment

This commit is contained in:
Julian Picht 2022-12-19 12:47:47 +01:00
parent b47e799c9a
commit 8c0a94c9d8
2 changed files with 4 additions and 2 deletions

View file

@ -315,8 +315,9 @@ static int roc_sink_setup(struct module_roc_sink_data *data)
sender_config.frame_encoding = ROC_FRAME_ENCODING_PCM_FLOAT; sender_config.frame_encoding = ROC_FRAME_ENCODING_PCM_FLOAT;
sender_config.fec_code = data->fec_code; sender_config.fec_code = data->fec_code;
/* Fixed to be the same as ROC sender config above */
info.rate = data->rate; info.rate = data->rate;
/* Fixed to be the same as ROC sender config above */
info.channels = 2; info.channels = 2;
info.format = SPA_AUDIO_FORMAT_F32; info.format = SPA_AUDIO_FORMAT_F32;
info.position[0] = SPA_AUDIO_CHANNEL_FL; info.position[0] = SPA_AUDIO_CHANNEL_FL;

View file

@ -336,8 +336,9 @@ static int roc_source_setup(struct module_roc_source_data *data)
receiver_config.frame_encoding = ROC_FRAME_ENCODING_PCM_FLOAT; receiver_config.frame_encoding = ROC_FRAME_ENCODING_PCM_FLOAT;
receiver_config.resampler_profile = data->resampler_profile; receiver_config.resampler_profile = data->resampler_profile;
/* Fixed to be the same as ROC receiver config above */
info.rate = data->rate; info.rate = data->rate;
/* Fixed to be the same as ROC receiver config above */
info.channels = 2; info.channels = 2;
info.format = SPA_AUDIO_FORMAT_F32; info.format = SPA_AUDIO_FORMAT_F32;
info.position[0] = SPA_AUDIO_CHANNEL_FL; info.position[0] = SPA_AUDIO_CHANNEL_FL;