diff options
author | Max Kellermann <max@duempel.org> | 2013-12-23 09:04:31 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-12-23 10:35:19 +0100 |
commit | 2d1a3073f63604a452e559ff8322520af98a4b65 (patch) | |
tree | 55e8892ec78eda8023f4434f3bafb4ab977c8fa5 /src/pcm/FormatConverter.cxx | |
parent | d7b988638722d245152b108456af1aad8fc9b8a0 (diff) | |
download | mpd-2d1a3073f63604a452e559ff8322520af98a4b65.tar.gz mpd-2d1a3073f63604a452e559ff8322520af98a4b65.tar.xz mpd-2d1a3073f63604a452e559ff8322520af98a4b65.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | src/pcm/FormatConverter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<void> 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)); |