mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-29 19:33:14 -04:00
Remove global oversampling (#7228)
Oversampling can have many different effects to the audio signal such as latency, phase issues, clipping, smearing, etc, so this should really be an option on a per-plugin basis, not globally across all of LMMS (which, in some places, shouldn't really need to oversample at all but were oversampled anyways).
This commit is contained in:
@@ -284,7 +284,7 @@ auto AudioFileProcessor::beatLen(NotePlayHandle* note) const -> int
|
||||
// Otherwise, use the remaining sample duration
|
||||
const auto baseFreq = instrumentTrack()->baseFreq();
|
||||
const auto freqFactor = baseFreq / note->frequency()
|
||||
* Engine::audioEngine()->processingSampleRate()
|
||||
* Engine::audioEngine()->outputSampleRate()
|
||||
/ Engine::audioEngine()->baseSampleRate();
|
||||
|
||||
const auto startFrame = m_nextPlayStartPoint >= m_sample.endFrame()
|
||||
|
||||
Reference in New Issue
Block a user