From 281b65934e9ca59ae9090f940f62721b43b987aa Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 27 Aug 2018 09:04:29 +0200 Subject: [PATCH] audioconvert: fix debug --- spa/plugins/audioconvert/fmtconvert.c | 4 ++-- spa/plugins/audioconvert/merger.c | 4 ++-- spa/plugins/audioconvert/splitter.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/spa/plugins/audioconvert/fmtconvert.c b/spa/plugins/audioconvert/fmtconvert.c index c640970ad..e52d38e8c 100644 --- a/spa/plugins/audioconvert/fmtconvert.c +++ b/spa/plugins/audioconvert/fmtconvert.c @@ -161,11 +161,11 @@ static int setup_convert(struct impl *this) dst_fmt = outformat.format.info.raw.format; spa_log_info(this->log, NAME " %p: %s/%d@%d.%d->%s/%d@%d.%d", this, - spa_debug_type_find_name(spa_debug_types, src_fmt), + spa_debug_type_find_name(spa_type_audio_format, src_fmt), informat.format.info.raw.channels, informat.format.info.raw.rate, informat.format.info.raw.layout, - spa_debug_type_find_name(spa_debug_types, dst_fmt), + spa_debug_type_find_name(spa_type_audio_format, dst_fmt), outformat.format.info.raw.channels, outformat.format.info.raw.rate, outformat.format.info.raw.layout); diff --git a/spa/plugins/audioconvert/merger.c b/spa/plugins/audioconvert/merger.c index 945ea4327..2d43c3008 100644 --- a/spa/plugins/audioconvert/merger.c +++ b/spa/plugins/audioconvert/merger.c @@ -532,12 +532,12 @@ static int setup_convert(struct impl *this) dst_fmt = outport->format.info.raw.format; spa_log_info(this->log, NAME " %p: %s/%d@%d.%dx%d->%s/%d@%d.%d", this, - spa_debug_type_find_name(spa_debug_types, src_fmt), + spa_debug_type_find_name(spa_type_audio_format, src_fmt), inport->format.info.raw.channels, inport->format.info.raw.rate, inport->format.info.raw.layout, this->port_count, - spa_debug_type_find_name(spa_debug_types, dst_fmt), + spa_debug_type_find_name(spa_type_audio_format, dst_fmt), outport->format.info.raw.channels, outport->format.info.raw.rate, outport->format.info.raw.layout); diff --git a/spa/plugins/audioconvert/splitter.c b/spa/plugins/audioconvert/splitter.c index ac2b5bc40..0b0d1799e 100644 --- a/spa/plugins/audioconvert/splitter.c +++ b/spa/plugins/audioconvert/splitter.c @@ -534,12 +534,12 @@ static int setup_convert(struct impl *this) dst_fmt = outport->format.info.raw.format; spa_log_info(this->log, NAME " %p: %s/%d@%d.%dx%d->%s/%d@%d.%d", this, - spa_debug_type_find_name(spa_debug_types, src_fmt), + spa_debug_type_find_name(spa_type_audio_format, src_fmt), inport->format.info.raw.channels, inport->format.info.raw.rate, inport->format.info.raw.layout, this->port_count, - spa_debug_type_find_name(spa_debug_types, dst_fmt), + spa_debug_type_find_name(spa_type_audio_format, dst_fmt), outport->format.info.raw.channels, outport->format.info.raw.rate, outport->format.info.raw.layout);