diff options
author | bunnei <bunneidev@gmail.com> | 2022-09-17 08:51:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-17 08:51:31 +0200 |
commit | 4a7a7713401983f94b6c07fa07cbbbfa4025556c (patch) | |
tree | ee9f4cac999d8c4f7e5c1d5d51e624ff82580607 /src/audio_core/in/audio_in.h | |
parent | Merge pull request #8916 from Docteh/muilti_build (diff) | |
parent | audio_renderer: Pass command buffer by const reference (diff) | |
download | yuzu-4a7a7713401983f94b6c07fa07cbbbfa4025556c.tar yuzu-4a7a7713401983f94b6c07fa07cbbbfa4025556c.tar.gz yuzu-4a7a7713401983f94b6c07fa07cbbbfa4025556c.tar.bz2 yuzu-4a7a7713401983f94b6c07fa07cbbbfa4025556c.tar.lz yuzu-4a7a7713401983f94b6c07fa07cbbbfa4025556c.tar.xz yuzu-4a7a7713401983f94b6c07fa07cbbbfa4025556c.tar.zst yuzu-4a7a7713401983f94b6c07fa07cbbbfa4025556c.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 |