1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-13 08:06:32 +01:00

More const and override

This commit is contained in:
Paul Licameli
2017-02-22 14:23:35 -05:00
parent 9ddb5bb1f3
commit 81285ee0c1
59 changed files with 193 additions and 165 deletions

View File

@@ -203,7 +203,7 @@ public:
bool InitCodecs();
wxString GetFileDescription();
wxString GetFileDescription() override;
ByteCount GetFileUncompressedBytes() override;
///! Imports audio
@@ -240,7 +240,7 @@ public:
///! Called by Import.cpp
///\return number of readable streams in the file
wxInt32 GetStreamCount()
wxInt32 GetStreamCount() override
{
return mNumStreams;
}
@@ -255,7 +255,7 @@ public:
///! Called by Import.cpp
///\param StreamID - index of the stream in mStreamInfo and mScs arrays
///\param Use - true if this stream should be imported, false otherwise
void SetStreamUsage(wxInt32 StreamID, bool Use)
void SetStreamUsage(wxInt32 StreamID, bool Use) override
{
if (StreamID < mNumStreams)
mScs->get()[StreamID]->m_use = Use;