Commit Graph

22 Commits

Author SHA1 Message Date
Amar Takhar 0763541848 Change how configuration works.
* move win32/config0.h -> config/config_windows0.h
  * move win32/stdint.h -> msvc/stdint.h
  * move posix/defines.h -> config/config_unix.h
  * add config.h - brings in config_(windows|unix).h as required
  * add config.h to *.cpp
  * Self-contain FFmpegSource2 with required function defines wrapped with
    __UNIX__ instead of the now removed defines.h.
  * Edit aegisub_vs2008.vcproj to remove explicit inclusion of config.h, also
    change VCPreBuildEventTool to create windows_config.h from
    windows_config0.h.  Add msvc to include path.
  * Change configure to create ./acconf.h instead of posix/acconf.h

This will allow us to create a more standard and platform agnostic way of
configuration aegsisub during build time.

Originally committed to SVN as r2621.
2009-01-04 06:31:48 +00:00
Rodrigo Braz Monteiro 398da989f9 Fixed small OpenMP bug.
Originally committed to SVN as r2089.
2008-03-21 03:02:39 +00:00
Rodrigo Braz Monteiro c248ca39f2 Fixed several warnings on g++.
Originally committed to SVN as r2044.
2008-03-13 18:55:09 +00:00
Rodrigo Braz Monteiro e5439a03fe er... ACTUALLY fixed it now.
Originally committed to SVN as r1768.
2008-01-18 18:36:52 +00:00
Rodrigo Braz Monteiro e84071395a Fixed a crash in spectrum analyzer.
Originally committed to SVN as r1767.
2008-01-18 18:35:55 +00:00
Rodrigo Braz Monteiro e271b979b2 Added OpenMP support on audio spectrum generation, and updated portuguese translation a little bit.
Originally committed to SVN as r1734.
2008-01-15 22:18:54 +00:00
Niels Martin Hansen eeee2aeb53 Update to audio spectrum quality settings. The quality settings now means something slightly different (but are more sensible) and there is always a memory max enforced for the spectrum cache.
Originally committed to SVN as r1615.
2007-10-19 03:32:53 +00:00
Rodrigo Braz Monteiro 489abd6663 jfs's mac patches applied
Originally committed to SVN as r1560.
2007-09-11 23:22:26 +00:00
Niels Martin Hansen 89d076c760 Apparently long long isn't safe, trying with int64_t instead then...
Originally committed to SVN as r1547.
2007-08-31 14:11:35 +00:00
Niels Martin Hansen 8909ea48e2 Replace all (applicable) instances of __int64 with long long. (All except those in foreign header files.)
Originally committed to SVN as r1540.
2007-08-29 13:36:30 +00:00
Niels Martin Hansen 336f0621d7 Implemented spectrum cache aging/memory limiting.
Originally committed to SVN as r1317.
2007-06-30 14:40:52 +00:00
Niels Martin Hansen 405c263700 Tweaks to spectrum quality index meaning. Insane quality is no longer nearly as insane.
Originally committed to SVN as r1305.
2007-06-24 20:54:02 +00:00
Niels Martin Hansen 0a1069407e Replaced Audio Spectrum Window and Audio Spectrum Overlaps with a single Audio Spectrum Quality option.
Originally committed to SVN as r1304.
2007-06-24 20:46:52 +00:00
Niels Martin Hansen e2858d07c9 Overlapping FFT's seem to work now.
Originally committed to SVN as r1303.
2007-06-24 20:09:18 +00:00
Niels Martin Hansen 18340499c6 Functionally useless implementation of overlapping FFT's. The overlaps should be calculated right but seem to not be rendered. (Rendered result is same as without any overlapping.)
Originally committed to SVN as r1302.
2007-06-24 19:53:41 +00:00
Niels Martin Hansen 7779ad6dde Add some preliminary FFT cache aging... while it "works" it doesn't do so in a very useful fashion, since unused cache segments are killed off much faster when you scroll the view in short segments than when doing large scrolls. It should, however, limit memory usage to cache_line_age_limit*line_length*sizeof(float) bytes, which is 64 MB with the current Audio Spectrum Window size.
Originally committed to SVN as r1298.
2007-06-24 02:58:33 +00:00
Rodrigo Braz Monteiro 2940fa93d1 Changed colours of spectrum analyser display
Originally committed to SVN as r1151.
2007-04-28 23:43:58 +00:00
Rodrigo Braz Monteiro 97d996f995 Fixed all warnings while building on Linux, except for the ones on MatroskaParser.c and the ones about image conversion. Poke equinox for the later.
Originally committed to SVN as r1008.
2007-04-04 20:42:44 +00:00
Niels Martin Hansen 818b31edc3 Fixes for misc. compiler warnings.
Originally committed to SVN as r797.
2007-01-15 15:27:13 +00:00
Niels Martin Hansen a6773bf842 Additional sanity check in spectrum code
Changed default settings for spectrum (no reason to throw away 32 perfectly good bands!)

Originally committed to SVN as r735.
2007-01-07 07:28:39 +00:00
Niels Martin Hansen b3ac7e40cb Removed now unused Spectrum Invert Selection option (it should possibly be replaced with something else)
Fixed scaling of spectrum to also take FFT size into account
Fixed selection drawing in karaoke mode for spectrum
Moved syllable texts to top of audio display in karaoke mode

Originally committed to SVN as r733.
2007-01-07 06:36:10 +00:00
Niels Martin Hansen 9babda0720 New spectrum rendering code, scrapped threading and now caches FFT results instead. Also the visual appearance of the selection in spectrum was improved.
Originally committed to SVN as r731.
2007-01-07 04:44:11 +00:00