summaryrefslogtreecommitdiffstats
path: root/src/audio_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-09-25 23:09:59 +0200
committerLioncash <mathew1800@gmail.com>2020-09-25 23:10:02 +0200
commit407393130589abe4d68ab7e144a4a74fe58e1b5a (patch)
tree26b8c3074a95c670757e29c2a727ebafe8cbcc0e /src/audio_core
parentMerge pull request #4717 from lioncash/debug (diff)
downloadyuzu-407393130589abe4d68ab7e144a4a74fe58e1b5a.tar
yuzu-407393130589abe4d68ab7e144a4a74fe58e1b5a.tar.gz
yuzu-407393130589abe4d68ab7e144a4a74fe58e1b5a.tar.bz2
yuzu-407393130589abe4d68ab7e144a4a74fe58e1b5a.tar.lz
yuzu-407393130589abe4d68ab7e144a4a74fe58e1b5a.tar.xz
yuzu-407393130589abe4d68ab7e144a4a74fe58e1b5a.tar.zst
yuzu-407393130589abe4d68ab7e144a4a74fe58e1b5a.zip
Diffstat (limited to 'src/audio_core')
-rw-r--r--src/audio_core/cubeb_sink.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/cubeb_sink.cpp b/src/audio_core/cubeb_sink.cpp
index 83c06c0ed..eb82791f6 100644
--- a/src/audio_core/cubeb_sink.cpp
+++ b/src/audio_core/cubeb_sink.cpp
@@ -192,8 +192,8 @@ SinkStream& CubebSink::AcquireSinkStream(u32 sample_rate, u32 num_channels,
long CubebSinkStream::DataCallback(cubeb_stream* stream, void* user_data, const void* input_buffer,
void* output_buffer, long num_frames) {
- CubebSinkStream* impl = static_cast<CubebSinkStream*>(user_data);
- u8* buffer = reinterpret_cast<u8*>(output_buffer);
+ auto* impl = static_cast<CubebSinkStream*>(user_data);
+ auto* buffer = static_cast<u8*>(output_buffer);
if (!impl) {
return {};