Renamed Decoder:getBits to Decoder:getBitDepth (see issue #636)

This commit is contained in:
Alex Szpakowski
2013-08-11 04:15:42 -03:00
parent daf50698b8
commit 66a773d2a7
20 changed files with 52 additions and 52 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ FLACDecoder::FLACDecoder(Data *data, const std::string &ext, int nbufferSize)
process_until_end_of_metadata();
process_single();
seek(0);
bufferSize = 256 * getBits() * getChannels() * 2;
bufferSize = 256 * getBitDepth() * getChannels() * 2;
delete[](char *) buffer;
buffer = new char[bufferSize];
}
@@ -98,7 +98,7 @@ int FLACDecoder::getChannels() const
return get_channels();
}
int FLACDecoder::getBits() const
int FLACDecoder::getBitDepth() const
{
return get_bits_per_sample();
}