Commit graph

77 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 6dba041df6 Fixed uninitialized variable (not that it matters)
Originally committed to SVN as r2490.
2008-11-25 01:52:35 +00:00
Rodrigo Braz Monteiro 07bc0a91b0 Fixed audio display's slowness.
Originally committed to SVN as r2488.
2008-11-25 01:49:17 +00:00
Rodrigo Braz Monteiro dae123d225 Fixed audio spectrum bug.
Originally committed to SVN as r2463.
2008-11-17 00:06:31 +00:00
Rodrigo Braz Monteiro e11bd3f659 Optimized the audio display redraw.
Originally committed to SVN as r2453.
2008-11-14 01:21:17 +00:00
Niels Martin Hansen 36f19a9d42 Fix #688 by moving the time display one line down when in karaoke mode.
Originally committed to SVN as r2209.
2008-06-21 18:34:57 +00:00
Niels Martin Hansen 025869468b Fix #704 with a slightly dirty hack.
Originally committed to SVN as r2208.
2008-06-21 17:25:00 +00:00
Niels Martin Hansen 6f23c635be Left-dragging the selection start marker in the audio display now only restarts the selection after a threshold defined by the Audio Start Drag Sensitivity option. A commented-out editbox for this value is added to the Options dialogue, it is commented out due to the feature freeze towards 2.2.0.
This should fix #703.

Originally committed to SVN as r2198.
2008-06-15 12:11:04 +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 045f60da35 Reverted last commit.
Originally committed to SVN as r1973.
2008-03-08 18:04:51 +00:00
Amar Takhar ea8d16dabe More s/wxString/Aegisub::String/ changes.
Originally committed to SVN as r1972.
2008-03-08 08:13:46 +00:00
Rodrigo Braz Monteiro 974efa126b Modified all providers to separate them between factory and factory manager. This will make plugin system easier. Also, made hunspell register manually as well.
Originally committed to SVN as r1946.
2008-03-07 02:32:29 +00:00
Rodrigo Braz Monteiro dd1ded0671 Made audio provider converter able to convert from 22 kHz
Originally committed to SVN as r1833.
2008-01-25 20:53:12 +00:00
Rodrigo Braz Monteiro 7e83986497 Some random changes around.
Originally committed to SVN as r1813.
2008-01-22 20:36:07 +00:00
Rodrigo Braz Monteiro 8ce9d53757 Fixed division by zero (OSHI-) in audio display code.
Originally committed to SVN as r1795.
2008-01-20 20:09:49 +00:00
Rodrigo Braz Monteiro 52d47c32e2 Fixed scrolling of audio display when it is resized. Fixes #524
Originally committed to SVN as r1771.
2008-01-19 00:39:42 +00:00
Rodrigo Braz Monteiro 6116b0af7b Implemented an optional line indicating the current video position on the audio (request #542)
Originally committed to SVN as r1712.
2008-01-14 01:18:24 +00:00
Dan Donovan e0b5576104 can disable dragging start/end times with config option "disable dragging times" (requested)
Originally committed to SVN as r1669.
2008-01-10 20:49:31 +00:00
Alysson Souza 6251d467f3 Fixed playback of dummy video with no audio loaded.
Originally committed to SVN as r1596.
2007-10-05 18:15:05 +00:00
Niels Martin Hansen acc2d3753f More fixes to hotkeys, consequently use Cmd instead of Ctrl on Mac, changed some default hotkeys on Mac to avoid clashes with system hotkeys and better follow Apple HIG.
Originally committed to SVN as r1579.
2007-09-22 15:16:48 +00:00
Niels Martin Hansen a353eaed38 Use Cmd+Rightclick instead of Ctrl+Rightclick on Mac to move line end marker in karaoke mode.
Originally committed to SVN as r1573.
2007-09-21 22:36:02 +00:00
Niels Martin Hansen 6587f4882a Fix crash when playback cursor leaves the visible part of the audio display on wxMac.
Originally committed to SVN as r1572.
2007-09-21 21:24:32 +00:00
Niels Martin Hansen 6b4ec2dcc5 Oops, speling error broke the build...
Originally committed to SVN as r1571.
2007-09-21 21:18:08 +00:00
Niels Martin Hansen d996c5f489 Remove sunken border from audio display on wxMac, this avoids some graphical glitches, and it really also looks better.
Originally committed to SVN as r1570.
2007-09-21 21:17:08 +00:00
Niels Martin Hansen a36a60375e Reverse audio display scrolling on Mac to have natural scrolling directions for four-way scrolling devices. (Unfortunately those also exist for Windows and other systems, can't support those properly ATM.)
Originally committed to SVN as r1569.
2007-09-21 21:00:41 +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 ed9dc1c28e (Attempt to) fix crashes when scroll events hit the audio display and no audio is loaded.
Originally committed to SVN as r1522.
2007-08-20 18:09:18 +00:00
Niels Martin Hansen 2124c58daf Add a little more error reporting to audio loading, also catch unspecified exceptions now. Additionally make sure to null out some pointers that might be delete'd during exception handling. (Also, GET.)
Originally committed to SVN as r1500.
2007-08-16 23:17:54 +00:00
Niels Martin Hansen 720ee8c309 Add some better error catching+reporting in audio loading/unloading. (Don't just crash.)
Originally committed to SVN as r1499.
2007-08-16 22:45:29 +00:00
Rodrigo Braz Monteiro e568425e97 Issue #464 - Fixed commiting of default line timing
Originally committed to SVN as r1454.
2007-07-29 07:32:40 +00:00
Niels Martin Hansen 9ab2d1c7fe Seems to fix DSound player repeat-at-end problem.
Also avoid throwing-catching an exception during audio display drawing, only because it looks bad in the debug output.

Originally committed to SVN as r1449.
2007-07-28 13:59:32 +00:00
Rodrigo Braz Monteiro 3f934a66db Resolved #341
Originally committed to SVN as r1448.
2007-07-27 08:24:49 +00:00
Niels Martin Hansen 742240b5d8 Added debug-builds-only dummy audio provider (can provide either blank or noise audio.)
Originally committed to SVN as r1436.
2007-07-23 15:19:48 +00:00
Niels Martin Hansen 3362b61f73 Hopefully fix assertion failure when audio provider creation succeeds but audio player fails to init.
Originally committed to SVN as r1397.
2007-07-09 11:52:28 +00:00
Niels Martin Hansen 9043bdecf8 Fix #450 point 4, playback of drag-retimed karaoke syllables now stops at the right position instead of at the end of line.
Originally committed to SVN as r1382.
2007-07-06 01:36:01 +00:00
Rodrigo Braz Monteiro e64f9b2cfe Applied demi's patch to fix default timing duration.
Originally committed to SVN as r1339.
2007-07-03 06:43:57 +00:00
Rodrigo Braz Monteiro 1125cbb5a9 Fixed two crashes
Originally committed to SVN as r1336.
2007-07-03 01:09:39 +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
David Lamparter 69bb371305 make audio display not crash on no audio loaded (1 FPE fix, 1 NULL deref fix)
Originally committed to SVN as r1294.
2007-06-23 02:43:42 +00:00
Niels Martin Hansen f205d35a5a Fix #383 and pray it didn't subtly break something else (reusable struct+function for properly splitting and handling karaoke)
Originally committed to SVN as r1290.
2007-06-23 00:21:20 +00:00
Niels Martin Hansen 3818649af7 Fix #441 (Join/Split karaoke buttons now become Cancel/Accept Split buttons when in karaoke split mode)
Originally committed to SVN as r1288.
2007-06-22 23:28:28 +00:00
Niels Martin Hansen cee5c46ab7 Fix #278 (desync between audio and karaoke selection after splitting karaoke)
Originally committed to SVN as r1287.
2007-06-22 22:50:02 +00:00
Rodrigo Braz Monteiro c4d94d4dfa Added ?script, ?video and ?audio to standard paths. It's now all done except for encoding, which isn't very important...
Originally committed to SVN as r1276.
2007-06-20 22:23:55 +00:00
Niels Martin Hansen de107f3108 Another load of debug prints in audio code, and a semi-working commit of karaoke changes when karaoke mode is just disabled. Still very broken.
Originally committed to SVN as r1269.
2007-06-20 02:18:55 +00:00
Rodrigo Braz Monteiro b2f2cf2d7f Changed the audio player interface to use pluggable factories and added audio player/provider to options (in a new page, where all advanced audio options were moved to)
Originally committed to SVN as r1107.
2007-04-22 01:23:25 +00:00
Rodrigo Braz Monteiro c014c93c4c Fixed drawing of inactive lines in audio display to prevent it from being drawn over selection.
Originally committed to SVN as r1066.
2007-04-13 01:29:05 +00:00
Rodrigo Braz Monteiro 161f07f6be Made the relevant audio options reload audio.
Originally committed to SVN as r1055.
2007-04-10 02:55:23 +00:00
Niels Martin Hansen 6f6f53f1b2 Karaoke is now more properly autoscrolled into audio display, per bug #334, it still can use some tweaking though
Originally committed to SVN as r1054.
2007-04-10 00:51:03 +00:00
Rodrigo Braz Monteiro 33b62e2ad5 Added option to disable automatic grabbing of times from selected lines on the audio display. Also, it will never pick the times from 0:00:00.00 -> 0:00:00.00 lines.
Originally committed to SVN as r1050.
2007-04-09 18:25:58 +00:00