Thomas Goyne
6fad60e58d
Use NSDMIs where applicable
2013-12-11 18:50:12 -08:00
Thomas Goyne
a7f4fb5b87
Run clang-modernize on things
2013-11-23 09:57:22 -08:00
Thomas Goyne
95ef444c20
More unique_ptr
2013-10-27 13:07:19 -07:00
Thomas Goyne
0b133de08f
Remove pointless empty destructors
...
An explicit empty destructor is only needed when a class has a smart
pointer to an incomplete type.
2012-12-11 09:06:21 -08:00
Thomas Goyne
96cf5ea7ed
Kill the #ifndef AGI_PRE guards
...
They don't actually improve compilation performance and make it more
annoying to modify what things are in the precompiled header.
2012-12-02 06:33:29 -08:00
Thomas Goyne
e44c47c863
Remove $Id$ markers since git doesn't support them
2012-10-25 17:39:49 -07:00
Thomas Goyne
bd38cfc305
Only age the renderer caches when a new block is created
...
Originally committed to SVN as r6441.
2012-02-02 22:58:15 +00:00
Thomas Goyne
01b92aa4e3
Change AudioController's public API from samples to milliseconds
...
The sample rate of the currently open audio is not something that things
which do not interact with the raw audio data should have to care about,
or even know about.
Originally committed to SVN as r6426.
2012-02-01 23:58:58 +00:00
Thomas Goyne
e5f1719d8f
Use DC clipping in AudioRenderer rather than wxMemoryDC + Blit
...
In addition to being far simpler, this is marginally faster as
wxMemoryDC has a decent amount of overhead.
Originally committed to SVN as r6388.
2012-01-31 00:42:47 +00:00
Thomas Goyne
9ac2f93bf0
Fix some mostly unimportant uses of uninitialized memory
...
Originally committed to SVN as r6304.
2012-01-18 20:08:06 +00:00
Thomas Goyne
3cf1718ef6
Add support for the inactive color scheme to the audio renderers
...
Originally committed to SVN as r5886.
2011-11-18 22:58:02 +00:00
Thomas Goyne
8d28b44773
Get audio styling ranges from the timing controller. Based on a patch by jfs.
...
Originally committed to SVN as r5878.
2011-11-18 22:56:45 +00:00
Thomas Goyne
3e708eab10
Slightly simplify parts of AudioDisplay
...
Originally committed to SVN as r5588.
2011-09-15 05:16:18 +00:00
Thomas Goyne
256e098aa7
Remove header include order requirements
...
Originally committed to SVN as r5449.
2011-07-15 04:04:13 +00:00
Amar Takhar
c15777f844
Merge audio_display_rewrite branch to trunk. This is not a complete work, don't expect to time anything for a while.
...
Originally committed to SVN as r4903.
2010-12-08 03:36:10 +00:00
Amar Takhar
774fb0f674
Fix all the headers in *., this includes:
...
* Wrapping all headers that are in agi_pre.h with AGI_PRE.
* Sorting alphabetically.
* Same operation as r3515.
Note: This is broken when precompiled headers are not in use, I'll fix that after this commit so the two changes don't get jumbled up.
Originally committed to SVN as r3525.
2009-09-11 02:36:34 +00:00
Niels Martin Hansen
f3e84bea88
Some more cache management stuff for the audio rendering.
...
Originally committed to SVN as r3421.
2009-08-16 16:22:59 +00:00
Niels Martin Hansen
c97f91c137
Fix compilation errors on GCC.
...
Also fix a bug in the block cache where it wasn't the sorted order of the macroblocks by access count that was used in determining which ones to kill off.
Originally committed to SVN as r3415.
2009-08-16 01:10:20 +00:00
Niels Martin Hansen
e9e3b2d107
Change AudioRenderer to use DataBlockCache.
...
Originally committed to SVN as r3414.
2009-08-16 00:28:26 +00:00
Niels Martin Hansen
dcebd9be94
Add constructor and destructor to AudioRendererBitmapProvider base class.
...
GCC warned that it was missing a virtual destructor while having virtual methods.
Originally committed to SVN as r3399.
2009-08-13 16:14:41 +00:00
Niels Martin Hansen
5501c42cb0
Add (currently unused) AudioRendrer class and companions, see #951 , #965 and #990 .
...
Originally committed to SVN as r3390.
2009-08-12 23:42:53 +00:00