| 124 | }; |
| 125 | |
| 126 | float GetRampDelta(const MixContext* mix_context, const Value* value, uint32_t total_samples, float& from) |
| 127 | { |
| 128 | float ramp_length = (value->m_Current - value->m_Prev) / mix_context->m_TotalBuffers; |
| 129 | from = value->m_Prev + ramp_length * mix_context->m_CurrentBuffer; |
| 130 | return ramp_length / total_samples; |
| 131 | } |
| 132 | |
| 133 | void GetRampDelta(uint32_t num_channels, const MixContext* mix_context, const Value value[], uint32_t total_samples, float from[], float delta[]) |
| 134 | { |
no outgoing calls
no test coverage detected