mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
audioconvert: remove unused field
This commit is contained in:
parent
817d5bd7a4
commit
e0b3e06bea
2 changed files with 2 additions and 5 deletions
|
|
@ -1429,7 +1429,6 @@ static int setup_out_convert(struct impl *this)
|
|||
break;
|
||||
}
|
||||
}
|
||||
out->conv.quantize = calc_width(&dst_info) * 8;
|
||||
out->conv.src_fmt = src_info.info.raw.format;
|
||||
out->conv.dst_fmt = dst_info.info.raw.format;
|
||||
out->conv.rate = dst_info.info.raw.rate;
|
||||
|
|
@ -1439,10 +1438,9 @@ static int setup_out_convert(struct impl *this)
|
|||
if ((res = convert_init(&out->conv)) < 0)
|
||||
return res;
|
||||
|
||||
spa_log_debug(this->log, "%p: got converter features %08x:%08x quant:%d:%d:%d passthrough:%d %s", this,
|
||||
spa_log_debug(this->log, "%p: got converter features %08x:%08x quant:%d:%d passthrough:%d %s", this,
|
||||
this->cpu_flags, out->conv.cpu_flags, out->conv.method,
|
||||
out->conv.quantize, out->conv.noise,
|
||||
out->conv.is_passthrough, out->conv.func_name);
|
||||
out->conv.noise, out->conv.is_passthrough, out->conv.func_name);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -189,7 +189,6 @@ struct shaper {
|
|||
};
|
||||
|
||||
struct convert {
|
||||
uint32_t quantize;
|
||||
uint32_t noise;
|
||||
#define DITHER_METHOD_NONE 0
|
||||
#define DITHER_METHOD_RECTANGULAR 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue