mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
audioconvert: improvements
This commit is contained in:
parent
2cfb206d7c
commit
0b4cef586f
8 changed files with 710 additions and 29 deletions
|
|
@ -633,9 +633,8 @@ static int schedule_mix(struct spa_node *_node)
|
|||
|
||||
if (layer > 0)
|
||||
conv_f32_s16(outb->ptr, port->port_id, out, buffer_size, stride);
|
||||
else {
|
||||
else
|
||||
fill_s16(outb->ptr, port->port_id, buffer_size, stride);
|
||||
}
|
||||
|
||||
return SPA_STATUS_HAVE_BUFFER;
|
||||
}
|
||||
|
|
@ -910,7 +909,6 @@ static int module_init(struct pw_module *module, struct pw_properties *propertie
|
|||
pw_core_add_listener(core, &impl->core_listener, &core_events, impl);
|
||||
pw_module_add_listener(module, &impl->module_listener, &module_events, impl);
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue