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.
This commit is contained in:
Max Kellermann
2013-12-23 09:04:31 +01:00
parent d7b9886387
commit 2d1a3073f6
7 changed files with 57 additions and 9 deletions

View File

@@ -20,7 +20,7 @@
#include "config.h"
#include "ChannelsConverter.hxx"
#include "PcmChannels.hxx"
#include "PcmConvert.hxx"
#include "Domain.hxx"
#include "util/ConstBuffer.hxx"
#include "util/Error.hxx"
@@ -41,7 +41,7 @@ PcmChannelsConverter::Open(SampleFormat _format,
break;
default:
error.Format(pcm_convert_domain,
error.Format(pcm_domain,
"PCM channel conversion for %s is not implemented",
sample_format_to_string(format));
return false;