Commit Graph

63 Commits

Author SHA1 Message Date
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
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