mirror of
https://github.com/LMMS/lmms.git
synced 2026-04-24 07:58:51 -04:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user