DSP HLE: Broken PCM16 and handle DSP voice status better

This commit is contained in:
wheremyfoodat 2024-04-28 16:58:42 +03:00
parent 8e303d8d08
commit 2fc9c0a573
3 changed files with 138 additions and 25 deletions

View file

@ -297,7 +297,7 @@ namespace Audio::HLE {
u8 isEnabled; ///< Is this channel enabled? (Doesn't have to be playing anything.)
u8 currentBufferIDDirty; ///< Non-zero when current_buffer_id changes
u16_le syncCount; ///< Is set by the DSP to the value of SourceConfiguration::sync_count
u32_dsp bufferPosition; ///< Number of samples into the current buffer
u32_dsp samplePosition; ///< Number of samples into the current buffer
u16_le currentBufferID; ///< Updated when a buffer finishes playing
u16_le lastBufferID; ///< Updated when all buffers in the queue finish playing
};