made quality-settings (internal processing samplerate, interpolation and so on) independent of audio-devices (final output) and added new qualitySettings-structure to mixer - might be still buggy and HQ-mode is currently not working, this is going to be fixed tomorrow, anyways important preparation for new project-export-dialog

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@957 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-05-05 23:14:48 +00:00
parent 2b7b813f2f
commit 5cfb1b2f96
57 changed files with 441 additions and 325 deletions

View File

@@ -1,8 +1,8 @@
#ifndef SINGLE_SOURCE_COMPILE
/*
* controller.cpp - implementation of class controller which handles remote-control
* of automatableModels
* controller.cpp - implementation of class controller which handles
* remote-control of automatableModels
*
* Copyright (c) 2008 Paul Giblock <drfaygo/at/gmail.com>
*
@@ -82,8 +82,7 @@ unsigned int controller::runningFrames()
// Get position in seconds
float controller::runningTime()
{
return s_frames /
engine::getMixer()->sampleRate() ;
return s_frames / engine::getMixer()->processingSampleRate();
}