Remove some extra semicolons including a bypass of conditional if instruction.

Signed-off-by: gregory guy <gregory-tde@laposte.net>
pull/5/head
gregory guy 3 years ago
parent 5bfc01dac0
commit e8ad2c11ae
No known key found for this signature in database
GPG Key ID: 2CC84A1CC6823AF8

@ -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);
}

@ -35,7 +35,7 @@
namespace aKode {
extern "C" { PulseSinkPlugin pulse_sink; };
extern "C" { PulseSinkPlugin pulse_sink; }
struct PulseSink::private_data
{

@ -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)

@ -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) {

Loading…
Cancel
Save