diff options
| author | bunnei <bunneidev@gmail.com> | 2016-05-04 10:13:59 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2016-05-04 10:13:59 -0400 |
| commit | 07411fb6317f007ececf6970c028e7584abdee2e (patch) | |
| tree | be7aebcd9c1160ab6716e5bbe8dab6487e1590bf /src/audio_core/hle/dsp.h | |
| parent | 678d15761f7a4070849476f736158d7c8215ff2c (diff) | |
| parent | b242bdf9458642201bab4f1f884556ef73051554 (diff) | |
Merge pull request #1734 from MerryMage/dsp-hle-source
DSP/HLE: Implement Source processing
Diffstat (limited to 'src/audio_core/hle/dsp.h')
| -rw-r--r-- | src/audio_core/hle/dsp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audio_core/hle/dsp.h b/src/audio_core/hle/dsp.h index 4f2410c27..4459a5668 100644 --- a/src/audio_core/hle/dsp.h +++ b/src/audio_core/hle/dsp.h @@ -169,9 +169,9 @@ struct SourceConfiguration { float_le rate_multiplier; enum class InterpolationMode : u8 { - None = 0, + Polyphase = 0, Linear = 1, - Polyphase = 2 + None = 2 }; InterpolationMode interpolation_mode; @@ -318,10 +318,10 @@ ASSERT_DSP_STRUCT(SourceConfiguration::Configuration::Buffer, 20); struct SourceStatus { struct Status { u8 is_enabled; ///< Is this channel enabled? (Doesn't have to be playing anything.) - u8 previous_buffer_id_dirty; ///< Non-zero when previous_buffer_id changes + u8 current_buffer_id_dirty; ///< Non-zero when current_buffer_id changes u16_le sync; ///< Is set by the DSP to the value of SourceConfiguration::sync u32_dsp buffer_position; ///< Number of samples into the current buffer - u16_le previous_buffer_id; ///< Updated when a buffer finishes playing + u16_le current_buffer_id; ///< Updated when a buffer finishes playing INSERT_PADDING_DSPWORDS(1); }; |
