From 2d1a3073f63604a452e559ff8322520af98a4b65 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 23 Dec 2013 09:04:31 +0100 Subject: pcm/PcmConvert: move the Domain instance to Domain.cxx Rename pcm_convert_domain to pcm_domain. Move it out so we can use it without depending on the whole PcmConvert library. --- src/pcm/FormatConverter.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pcm/FormatConverter.cxx') diff --git a/src/pcm/FormatConverter.cxx b/src/pcm/FormatConverter.cxx index f3f9c8685..8886a8ab0 100644 --- a/src/pcm/FormatConverter.cxx +++ b/src/pcm/FormatConverter.cxx @@ -20,7 +20,7 @@ #include "config.h" #include "FormatConverter.hxx" #include "PcmFormat.hxx" -#include "PcmConvert.hxx" +#include "Domain.hxx" #include "util/ConstBuffer.hxx" #include "util/Error.hxx" @@ -93,7 +93,7 @@ PcmFormatConverter::Convert(ConstBuffer src, Error &error) } if (result == nullptr) { - error.Format(pcm_convert_domain, + error.Format(pcm_domain, "PCM conversion from %s to %s is not implemented", sample_format_to_string(src_format), sample_format_to_string(dest_format)); -- cgit v1.2.3