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_system.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_system.h')
-rw-r--r-- | src/audio_core/in/audio_in_system.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/audio_core/in/audio_in_system.h b/src/audio_core/in/audio_in_system.h index 9ddc8daae..b9dc0e60f 100644 --- a/src/audio_core/in/audio_in_system.h +++ b/src/audio_core/in/audio_in_system.h @@ -68,7 +68,7 @@ public: * * @return The default audio input device name. */ - std::string_view GetDefaultDeviceName(); + std::string_view GetDefaultDeviceName() const; /** * Get the default USB audio input device name. @@ -77,7 +77,7 @@ public: * * @return The default USB audio input device name. */ - std::string_view GetDefaultUacDeviceName(); + std::string_view GetDefaultUacDeviceName() const; /** * Is the given initialize config valid? @@ -86,7 +86,7 @@ public: * @param in_params - Input parameters, see AudioInParameter. * @return Result code. */ - Result IsConfigValid(std::string_view device_name, const AudioInParameter& in_params); + Result IsConfigValid(std::string_view device_name, const AudioInParameter& in_params) const; /** * Initialize this system. @@ -218,14 +218,14 @@ public: * @param tag - Unique 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 usable buffers (default 32). * * @return The number of buffers. */ - u32 GetBufferCount(); + u32 GetBufferCount() const; /** * Get the total number of samples played by this system. |