diff options
author | Lioncash <mathew1800@gmail.com> | 2022-09-16 15:40:41 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-09-16 15:45:54 +0200 |
commit | 7a5d235d944bb3837abb0be649303a5c15ea36f5 (patch) | |
tree | a84ff0e56d2ba965dbcc46a9b655137cea4b14a6 /src/audio_core/in/audio_in.h | |
parent | audio_out: Mark several functions as const (diff) | |
download | yuzu-7a5d235d944bb3837abb0be649303a5c15ea36f5.tar yuzu-7a5d235d944bb3837abb0be649303a5c15ea36f5.tar.gz yuzu-7a5d235d944bb3837abb0be649303a5c15ea36f5.tar.bz2 yuzu-7a5d235d944bb3837abb0be649303a5c15ea36f5.tar.lz yuzu-7a5d235d944bb3837abb0be649303a5c15ea36f5.tar.xz yuzu-7a5d235d944bb3837abb0be649303a5c15ea36f5.tar.zst yuzu-7a5d235d944bb3837abb0be649303a5c15ea36f5.zip |
Diffstat (limited to 'src/audio_core/in/audio_in.h')
-rw-r--r-- | src/audio_core/in/audio_in.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audio_core/in/audio_in.h b/src/audio_core/in/audio_in.h index 6253891d5..092ab7236 100644 --- a/src/audio_core/in/audio_in.h +++ b/src/audio_core/in/audio_in.h @@ -102,7 +102,7 @@ public: * * @return The current volume. */ - f32 GetVolume(); + f32 GetVolume() const; /** * Set the system volume. @@ -117,21 +117,21 @@ public: * @param tag - The tag to search for. * @return True if the buffer is in the system, otherwise false. */ - bool ContainsAudioBuffer(u64 tag); + bool ContainsAudioBuffer(u64 tag) const; /** * Get the maximum number of buffers. * * @return The maximum number of buffers. */ - u32 GetBufferCount(); + u32 GetBufferCount() const; /** * Get the total played sample count for this audio in. * * @return The played sample count. */ - u64 GetPlayedSampleCount(); + u64 GetPlayedSampleCount() const; private: /// The AudioIn::Manager this audio in is registered with |