mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
module/roc-*: fix position of comment
This commit is contained in:
parent
b47e799c9a
commit
8c0a94c9d8
2 changed files with 4 additions and 2 deletions
|
|
@ -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.fec_code = data->fec_code;
|
||||
|
||||
/* Fixed to be the same as ROC sender config above */
|
||||
info.rate = data->rate;
|
||||
|
||||
/* Fixed to be the same as ROC sender config above */
|
||||
info.channels = 2;
|
||||
info.format = SPA_AUDIO_FORMAT_F32;
|
||||
info.position[0] = SPA_AUDIO_CHANNEL_FL;
|
||||
|
|
|
|||
|
|
@ -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.resampler_profile = data->resampler_profile;
|
||||
|
||||
/* Fixed to be the same as ROC receiver config above */
|
||||
info.rate = data->rate;
|
||||
|
||||
/* Fixed to be the same as ROC receiver config above */
|
||||
info.channels = 2;
|
||||
info.format = SPA_AUDIO_FORMAT_F32;
|
||||
info.position[0] = SPA_AUDIO_CHANNEL_FL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue