1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-10 23:36:39 +00:00
Ryujinx/Ryujinx.Audio/Renderers/SoundIo
Ac_K 57c4e6ef21
audout: Implement and fix some calls (#1725)
* audout: Implement GetAudioOutBufferCount, GetAudioOutPlayedSampleCount and FlushAudioOutBuffers

This PR implement audout service calls:
- GetAudioOutBufferCount
- GetAudioOutPlayedSampleCount
- FlushAudioOutBuffers

The RE calls just give some hints about no extra checks.
Since we use a totally different implementation because of our backend, I can't do something better for now.

SetAudioOutVolume and GetAudioOutVolume are fixed too by set/get the volume of the current opened track, previous implementation was wrong.

This fix #1133, fix #1258 and fix #1519.

Thanks to @jduncanator for this help during the implementation and all his precious advices.

* Fix some debug leftovers

* Address jD feedback
2020-11-20 21:59:01 +01:00
..
SoundIoAudioOut.cs audout: Implement and fix some calls (#1725) 2020-11-20 21:59:01 +01:00
SoundIoAudioTrack.cs audout: Implement and fix some calls (#1725) 2020-11-20 21:59:01 +01:00
SoundIoAudioTrackPool.cs Misc cleanup (#708) 2019-07-02 04:39:22 +02:00
SoundIoBuffer.cs Implement libsoundio as an alternative audio backend (#406) 2018-11-15 03:22:50 +01:00
SoundIoRingBuffer.cs Implement libsoundio as an alternative audio backend (#406) 2018-11-15 03:22:50 +01:00