diff options
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 { | |||
| 169 | float_le rate_multiplier; | 169 | float_le rate_multiplier; |
| 170 | 170 | ||
| 171 | enum class InterpolationMode : u8 { | 171 | enum class InterpolationMode : u8 { |
| 172 | None = 0, | 172 | Polyphase = 0, |
| 173 | Linear = 1, | 173 | Linear = 1, |
| 174 | Polyphase = 2 | 174 | None = 2 |
| 175 | }; | 175 | }; |
| 176 | 176 | ||
| 177 | InterpolationMode interpolation_mode; | 177 | InterpolationMode interpolation_mode; |
| @@ -318,10 +318,10 @@ ASSERT_DSP_STRUCT(SourceConfiguration::Configuration::Buffer, 20); | |||
| 318 | struct SourceStatus { | 318 | struct SourceStatus { |
| 319 | struct Status { | 319 | struct Status { |
| 320 | u8 is_enabled; ///< Is this channel enabled? (Doesn't have to be playing anything.) | 320 | u8 is_enabled; ///< Is this channel enabled? (Doesn't have to be playing anything.) |
| 321 | u8 previous_buffer_id_dirty; ///< Non-zero when previous_buffer_id changes | 321 | u8 current_buffer_id_dirty; ///< Non-zero when current_buffer_id changes |
| 322 | u16_le sync; ///< Is set by the DSP to the value of SourceConfiguration::sync | 322 | u16_le sync; ///< Is set by the DSP to the value of SourceConfiguration::sync |
| 323 | u32_dsp buffer_position; ///< Number of samples into the current buffer | 323 | u32_dsp buffer_position; ///< Number of samples into the current buffer |
| 324 | u16_le previous_buffer_id; ///< Updated when a buffer finishes playing | 324 | u16_le current_buffer_id; ///< Updated when a buffer finishes playing |
| 325 | INSERT_PADDING_DSPWORDS(1); | 325 | INSERT_PADDING_DSPWORDS(1); |
| 326 | }; | 326 | }; |
| 327 | 327 | ||