Commit Graph
16 Commits
Author SHA1 Message Date
Tobias Doerffel 20589f19e4 Mixer: rewrote processing chain of rendered audio buffers
Until now, Mixer not only was responsible for rendering audio buffers
but also managed writing them to audio backend (through a FIFO) and
handled various quality related parameters.

All this functionality has been moved into the new AudioOutputContext
class. It glues together AudioBackend (formerly called AudioDevice),
global quality settings and the Mixer.

The AudioOutputContext class creates a FifoWriter which calls
Mixer::renderNextBuffer() and writes the output into the BufferFifo of
the AudioOutputContext it belongs to. The BufferFifo is read by the
according AudioBackend which belongs to the AudioOutputContext as well.

The AudioOutputContext also handles resampling in case the AudioBackend
wants the buffers in a different samplerate.

During this rewrite the Mixer class and the according source files have
been renamed from "mixer" to "Mixer". This results in small changes
all over LMMS' code base.
2009-11-29 01:46:23 +01:00
Tobias Doerffel 166701f9f3 sed: s/( void )/(), s/FALSE/false/, s/TRUE/true
Replaced remaining occurences of old constants and superfluous "void"
on empty argument list of functions.
2009-08-24 23:25:26 +02:00
Tobias Doerffel 7bea6d0e07 MainWindow: renamed class to match new style
Renamed mainWindow to MainWindow and engine::getMainWindow() to
engine::mainWindow(). Additionally reduced some header dependencies.
2009-08-21 12:09:39 +02:00
Tobias Doerffel 0bb54199b0 Whole code base: various cleanups, removed SINGLE_SOURCE_COMPILE relicts
* cleaned up code and improved coding style
* removed old SINGLE_SOURCE_COMPILE macro relicts
* use QString::toUtf8() instead of QString::toAscii() wherever possible
2009-08-05 11:41:59 +02:00
Tobias Doerffel bdf0545699 disable output monitor per default and show click-hint
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2033 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 14:54:18 +00:00
Paul Giblock 2877d9c47f Begin theming widgets with LmmsStyle
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1978 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-01-28 08:44:42 +00:00
Tobias Doerffel e609b6fcc7 set OpaquePaintEvent attribute for all widgets where suitable - makes whole GUI less sluggish :)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1835 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-11-10 23:50:05 +00:00
Tobias Doerffel 13c00f55a1 * added missing includes to compile with GCC 4.4
* optimized various loops for getting tree-vectorized, especially with upcoming GCC 4.4



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1733 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-04 14:27:55 +00:00
Tobias Doerffel ae8ed9e183 moved peridic update-timer from songEditor to mainWindow
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1567 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 12:08:10 +00:00
Tobias Doerffel 632a707e79 improved anti-aliased visualization
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1430 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-01 23:56:59 +00:00
Tobias Doerffel e637495489 migrated build-system to CMAKE
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1352 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-22 11:36:50 +00:00
Tobias Doerffel fd40b3e47b do not update visualization-widget while song-export
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@964 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-13 09:26:36 +00:00
Tobias Doerffel 650a5592e2 use new timer-framework
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@930 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-21 08:38:59 +00:00
Paul Giblock 78f0a045cc Improvements to controllers
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@902 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-08 08:23:58 +00:00
Tobias Doerffel 814076f10e use sampleFrame-array instead of surroundSampleFrame-array internally
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@866 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 20:13:54 +00:00
Tobias Doerffel 21cd837ea9 moved to src/gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@858 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 21:05:54 +00:00