mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Remove unused stored extension in Decoder
As preparation for issue #1487
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user