Remove unused stored extension in Decoder

As preparation for issue #1487
This commit is contained in:
Bart van Strien
2019-05-04 10:44:41 +02:00
parent 372a55c6ac
commit bf5e3820bd
17 changed files with 37 additions and 41 deletions
+3 -3
View File
@@ -32,8 +32,8 @@ namespace sound
namespace lullaby
{
FLACDecoder::FLACDecoder(Data *data, const std::string &ext, int nbufferSize)
: Decoder(data, ext, nbufferSize)
FLACDecoder::FLACDecoder(Data *data, int nbufferSize)
: Decoder(data, nbufferSize)
, pos(0)
{
init();
@@ -69,7 +69,7 @@ bool FLACDecoder::accepts(const std::string &ext)
love::sound::Decoder *FLACDecoder::clone()
{
return new FLACDecoder(data.get(), ext, bufferSize);
return new FLACDecoder(data.get(), bufferSize);
}
int FLACDecoder::decode()