mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
roc: use native float samples
This commit is contained in:
parent
60cbc44526
commit
df457e99b2
2 changed files with 2 additions and 2 deletions
|
|
@ -316,7 +316,7 @@ static int roc_sink_setup(struct module_roc_sink_data *data)
|
|||
/* Fixed to be the same as ROC sender config above */
|
||||
info.rate = 44100;
|
||||
info.channels = 2;
|
||||
info.format = SPA_AUDIO_FORMAT_F32_LE;
|
||||
info.format = SPA_AUDIO_FORMAT_F32;
|
||||
info.position[0] = SPA_AUDIO_CHANNEL_FL;
|
||||
info.position[1] = SPA_AUDIO_CHANNEL_FR;
|
||||
|
||||
|
|
|
|||
|
|
@ -337,7 +337,7 @@ static int roc_source_setup(struct module_roc_source_data *data)
|
|||
/* Fixed to be the same as ROC receiver config above */
|
||||
info.rate = 44100;
|
||||
info.channels = 2;
|
||||
info.format = SPA_AUDIO_FORMAT_F32_LE;
|
||||
info.format = SPA_AUDIO_FORMAT_F32;
|
||||
info.position[0] = SPA_AUDIO_CHANNEL_FL;
|
||||
info.position[1] = SPA_AUDIO_CHANNEL_FR;
|
||||
data->stride = info.channels * sizeof(float);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue