Commit Graph

52 Commits

Author SHA1 Message Date
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
Rodrigo Braz Monteiro 6d988bdf4d Made middle click on audio display jump video to position, fixed a few uninitialized variable warnings and removed the GetString() method from AssFile, since it was only used by the old libass provider.
Originally committed to SVN as r1017.
2007-04-07 03:12:55 +00:00
Rodrigo Braz Monteiro 263df94e69 Some clean up to audio display code, added option to show/hide keyframes on audio display, and individual options to automatically snap to keyframes and adjascent lines (behavior can always be toggled by holding down shift).
Originally committed to SVN as r1016.
2007-04-07 02:39:18 +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
Dan Donovan 26cba4b46f Styles can be renamed when copied
Always call Stop in AudioDisplay on Play

Originally committed to SVN as r949.
2007-03-18 01:20:25 +00:00
Dan Donovan 4565a18369 Originally committed to SVN as r893. 2007-01-26 00:47:42 +00:00
Rodrigo Braz Monteiro 297dbd74b8 Fixed almost a hundred warning messages issued with /W4 in VC++ (with warning 4100 disabled)
Originally committed to SVN as r891.
2007-01-24 03:54:32 +00:00
Rodrigo Braz Monteiro 02bf068052 Basic (and somewhat broken) detached video dialog implemented.
Originally committed to SVN as r881.
2007-01-23 04:42:08 +00:00
Rodrigo Braz Monteiro afc19b74e1 Removed all stray references to VideoDisplay throughout the code.
Originally committed to SVN as r865.
2007-01-21 17:01:22 +00:00
Rodrigo Braz Monteiro 98ce168b31 Merged opengl branch from 806 to 859
Originally committed to SVN as r860.
2007-01-21 06:30:19 +00:00
Rodrigo Braz Monteiro b4d1384c6d Fixes to bugs #275 and #276, related to audio display.
Originally committed to SVN as r794.
2007-01-15 03:50:49 +00:00
Rodrigo Braz Monteiro c4233199c5 Fixes to audio and typesetting
Originally committed to SVN as r783.
2007-01-13 06:17:14 +00:00
Niels Martin Hansen c0b3721a7f Fixed karaoke mode committing
Other minor fixes/cleanup

Originally committed to SVN as r753.
2007-01-10 01:36:05 +00:00
Rodrigo Braz Monteiro 0ad1815eed Changes to text will no longer be discarded when you commit timing in the audio display and vice-versa, fixed glitches related to the Duration time edit box, and fixed snapping.
Originally committed to SVN as r742.
2007-01-08 03:05:26 +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 a88feab986 More fixes for dsound playing code and a bit for spectrum rendering
Originally committed to SVN as r732.
2007-01-07 04:52:33 +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
Rodrigo Braz Monteiro 064db890eb REALLY fixed snapping.
Originally committed to SVN as r729.
2007-01-06 22:13:56 +00:00
Rodrigo Braz Monteiro 71828a2df5 Fixed (I hope?) boundary snapping.
Originally committed to SVN as r728.
2007-01-06 22:07:48 +00:00
Niels Martin Hansen 2d7af197ee Seems to fix audio spectrum crash.
Originally committed to SVN as r727.
2007-01-06 21:56:25 +00:00
Rodrigo Braz Monteiro cd4b6c0f93 Holding down ctrl lets you retime the original line while in Karaoke mode.
Originally committed to SVN as r725.
2007-01-06 20:11:38 +00:00
Rodrigo Braz Monteiro 7843e2e89c Added options to toggle the display of the audio timeline and of the time over the mouse cursor.
Originally committed to SVN as r724.
2007-01-06 06:14:35 +00:00
Rodrigo Braz Monteiro d58fba3839 Fixed loading of SRT and TXT files, which were causing an empty line to appear at the start of the file. Also changed default WarpStyle to 0, instead of 1.
Originally committed to SVN as r723.
2007-01-06 05:04:57 +00:00
Rodrigo Braz Monteiro 1d647a9b09 Implemented new hotkeys for audio mode
Originally committed to SVN as r722.
2007-01-06 04:27:09 +00:00
Rodrigo Braz Monteiro 1a948d3bb9 All audio changes proposed in http://www.malakith.net/aegisub/viewtopic.php?t=632 done.
Originally committed to SVN as r721.
2007-01-06 04:19:00 +00:00
Rodrigo Braz Monteiro 7bdcb03fba Finished merging of SSA mode with standard mode and fixed auto-commit to work with it.
Originally committed to SVN as r720.
2007-01-06 03:40:58 +00:00