mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-15 07:01:18 +02:00
Return wide type from ImportFileHandle::GetFileUncompressedBytes()...
... and use override. But this function isn't (yet?) used anywhere.
This commit is contained in:
@@ -93,7 +93,7 @@ public:
|
||||
~PCMImportFileHandle();
|
||||
|
||||
wxString GetFileDescription();
|
||||
int GetFileUncompressedBytes();
|
||||
ByteCount GetFileUncompressedBytes() override;
|
||||
int Import(TrackFactory *trackFactory, TrackHolders &outTracks,
|
||||
Tags *tags) override;
|
||||
|
||||
@@ -215,7 +215,7 @@ wxString PCMImportFileHandle::GetFileDescription()
|
||||
return SFCall<wxString>(sf_header_name, mInfo.format);
|
||||
}
|
||||
|
||||
int PCMImportFileHandle::GetFileUncompressedBytes()
|
||||
auto PCMImportFileHandle::GetFileUncompressedBytes() -> ByteCount
|
||||
{
|
||||
return mInfo.frames * mInfo.channels * SAMPLE_SIZE(mFormat);
|
||||
}
|
||||
|
Reference in New Issue
Block a user