mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
fmt-ops: fix f32 to u8 conversion
This commit is contained in:
parent
8f41031933
commit
e9885a8ebb
1 changed files with 2 additions and 2 deletions
|
|
@ -317,8 +317,8 @@ conv_f32_to_u8d(void *data, int n_dst, void *dst[n_dst], int n_src, const void *
|
|||
static void
|
||||
conv_f32d_to_u8(void *data, int n_dst, void *dst[n_dst], int n_src, const void *src[n_src], int n_bytes)
|
||||
{
|
||||
const int8_t **s = (const int8_t **) src;
|
||||
float *d = dst[0];
|
||||
const float **s = (const float **) src;
|
||||
int8_t *d = dst[0];
|
||||
int i, n, n_samples;
|
||||
|
||||
n_samples = n_bytes / sizeof(float);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue