Add missing consts for consistency
These getters do not modify the instance. PiperOrigin-RevId: 258345084
This commit is contained in:
parent
7760eca238
commit
09147ff548
@ -48,9 +48,11 @@ class FLACParser {
|
|||||||
return mStreamInfo;
|
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 {
|
int64_t getLastFrameTimestamp() const {
|
||||||
return (1000000LL * mWriteHeader.number.sample_number) / getSampleRate();
|
return (1000000LL * mWriteHeader.number.sample_number) / getSampleRate();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user