diff options
-rw-r--r-- | akode/lib/sinkpluginhandler.cpp | 2 | ||||
-rw-r--r-- | akode/plugins/pulse_sink/pulse_sink.cpp | 2 | ||||
-rw-r--r-- | akode/plugins/src_resampler/src_resampler.cpp | 4 | ||||
-rw-r--r-- | akode/plugins/xiph_decoder/speex_decoder.cpp | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/akode/lib/sinkpluginhandler.cpp b/akode/lib/sinkpluginhandler.cpp index 222a44d..c310c34 100644 --- a/akode/lib/sinkpluginhandler.cpp +++ b/akode/lib/sinkpluginhandler.cpp @@ -39,7 +39,7 @@ list<string> SinkPluginHandler::listSinkPlugins() { SinkPluginHandler::SinkPluginHandler(const string lib) : sink_plugin(0) { - if (lib.size() > 0); + if (lib.size() > 0) load(lib); } diff --git a/akode/plugins/pulse_sink/pulse_sink.cpp b/akode/plugins/pulse_sink/pulse_sink.cpp index 395bfb3..c2e33be 100644 --- a/akode/plugins/pulse_sink/pulse_sink.cpp +++ b/akode/plugins/pulse_sink/pulse_sink.cpp @@ -35,7 +35,7 @@ namespace aKode { -extern "C" { PulseSinkPlugin pulse_sink; }; +extern "C" { PulseSinkPlugin pulse_sink; } struct PulseSink::private_data { diff --git a/akode/plugins/src_resampler/src_resampler.cpp b/akode/plugins/src_resampler/src_resampler.cpp index 2edb2ee..2040e0e 100644 --- a/akode/plugins/src_resampler/src_resampler.cpp +++ b/akode/plugins/src_resampler/src_resampler.cpp @@ -32,9 +32,9 @@ SRCResampler* SRCResamplerPlugin::openResampler() { return new SRCResampler(); } -extern "C" { SRCResamplerPlugin src_resampler; }; +extern "C" { SRCResamplerPlugin src_resampler; } -SRCResampler::SRCResampler() : speed(1.0), sample_rate(44100) {}; +SRCResampler::SRCResampler() : speed(1.0), sample_rate(44100) {} template<typename S> static void _convert1_FP(AudioFrame *in, float* outdata) diff --git a/akode/plugins/xiph_decoder/speex_decoder.cpp b/akode/plugins/xiph_decoder/speex_decoder.cpp index 4c3d816..495c323 100644 --- a/akode/plugins/xiph_decoder/speex_decoder.cpp +++ b/akode/plugins/xiph_decoder/speex_decoder.cpp @@ -53,9 +53,9 @@ bool SpeexDecoderPlugin::canDecode(File* src) { if (memcmp(header+28, "Speex ",8) == 0) res = true; src->close(); return res; -}; +} -extern "C" { SpeexDecoderPlugin speex_decoder; }; +extern "C" { SpeexDecoderPlugin speex_decoder; } struct SpeexDecoder::private_data { @@ -107,7 +107,7 @@ SpeexDecoder::SpeexDecoder(File *src) { src->openRO(); src->fadvise(); -}; +} SpeexDecoder::~SpeexDecoder() { if (m_data->initialized) { |