mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Add missing consts for consistency
These getters do not modify the instance. PiperOrigin-RevId: 258345084
This commit is contained in:
parent
7760eca238
commit
09147ff548
1 changed files with 4 additions and 2 deletions
|
|
@ -48,9 +48,11 @@ class FLACParser {
|
|||
return mStreamInfo;
|
||||
}
|
||||
|
||||
bool isVorbisCommentsValid() { return mVorbisCommentsValid; }
|
||||
bool isVorbisCommentsValid() const { return mVorbisCommentsValid; }
|
||||
|
||||
std::vector<std::string> getVorbisComments() { return mVorbisComments; }
|
||||
const std::vector<std::string>& getVorbisComments() const {
|
||||
return mVorbisComments;
|
||||
}
|
||||
|
||||
int64_t getLastFrameTimestamp() const {
|
||||
return (1000000LL * mWriteHeader.number.sample_number) / getSampleRate();
|
||||
|
|
|
|||
Loading…
Reference in a new issue