Devin J. Pohly
5868571f37
MacOS: fix potential crash due to language preferences
2013-08-28 11:16:41 -04:00
Devin J. Pohly
3527ad1ab8
JACK: let Init do the cleanup on failure
...
Previously, if Init failed, we were calling jack_client_close twice and
segfaulting.
2013-08-26 08:40:52 -04:00
Devin J. Pohly
d8d9f466a9
FFmpeg: remove unused PTS logic
...
No-op.
2013-08-23 00:08:25 -04:00
Devin J. Pohly
df543ff86c
FFmpeg: use the cached pkt_dts for timestamps
...
This appears to work far more consistently at the beginnings and ends of
videos.
2013-08-23 00:02:07 -04:00
Devin J. Pohly
9f06195b73
FFmpeg: reinitialize m_fLastFrame in Init()
...
After a Rewind(), the m_fLastFrame wasn't set back to 0. Now it is.
2013-08-23 00:00:00 -04:00
Devin J. Pohly
de74eb5814
FFmpeg: don't unconditionally skip first frame
...
This condition was true when 0 - 0 == 0, so the first frame was being skipped.
2013-08-22 23:58:38 -04:00
Devin J. Pohly
be082b6a7e
FFmpeg: use stream time_base to estimate FPS, not codec
...
Fixes the estimated frame length when we don't get an explicit DTS for the
frame. Also fixes a comment typo.
2013-08-22 16:55:24 -04:00
Devin J. Pohly
cc8ef654ca
MovieTexture_FFmpeg: move class defs to header file
...
No-op. Should make it a little easier to find things in the FFmpeg driver.
2013-08-22 15:11:57 -04:00
Devin J. Pohly
2933a71d5d
JACK: fix race condition with decode thread
...
It was possible for the JACK callback to execute before the decode thread had
been started, causing an assertion.
2013-08-20 09:33:35 -04:00
Devin J. Pohly
fca57e2569
editor: fix crash on revert from disk
...
This still doesn't read in the timing data from disk, but hey, at least it
doesn't crash now.
2013-08-13 11:43:31 -04:00
Devin J. Pohly
2ec80d86b1
editor: fix Undo for Alter and Turn menus
...
Looks like someone figured out the problem, implemented the required
functionality... and then just didn't use it.
2013-08-12 20:47:07 -04:00
Devin J. Pohly
72b490534e
Fix stereo problem - samples, not frames
2013-08-08 18:08:19 -04:00
Devin J. Pohly
eb634bae3e
Finish JACK audio driver: now with actual audio!
2013-08-08 14:56:38 -04:00
Devin J. Pohly
98352844ab
Add JACK sample rate callback
...
This will be necessary once we start the decoding thread, which calls
GetSampleRate a lot.
2013-08-08 14:43:15 -04:00
Devin J. Pohly
982d9e2dbc
Add MixDeinterlaced to RageSoundDriver
...
This complements the read_deinterlace function just added.
2013-08-08 13:30:39 -04:00
Devin J. Pohly
deab7e6f47
Add deinterlacing function to RageSoundMixBuffer
...
JACK processes every channel separately, so we need this. The audio data is
interlaced all the way back at RageSound::GetDataToPlay(), so this is an easier
hack for now than using deinterlaced until it's needed.
2013-08-08 13:24:21 -04:00
Devin J. Pohly
f9208e1276
Add skeletal sound driver for JACK
...
This doesn't make any sound yet, but it creates the JACK client and connects
the requested ports if any.
2013-08-06 19:24:55 -04:00
Devin J. Pohly
db729ff6de
Remove unus(ed|ual) ssasn function to fix warnings
...
Why in tarnation would you assign an int to a string anyway? We're
apparently not using this, so remove it for now. Should fix a lot of
unused-parameter warnings.
2013-07-29 11:58:19 -04:00
Devin J. Pohly
b423268568
Further simplify GetYOffset
...
And add a comment. *pats self on back*
No-op.
2013-07-18 15:52:56 -04:00
Devin J. Pohly
5c8d021e6e
Simplify logic in GetYOffset for arrows
...
No-op.
2013-07-18 14:40:16 -04:00
Devin J. Pohly
bcd90324c7
editor: show scroll segments in song timing
...
They function anyway in gameplay; there's no reason they should be
special-cased out of the editor.
2013-07-18 14:35:53 -04:00
Devin J. Pohly
66ed444726
Allow fstab to use persistent device names for cards
...
Previously you had to use /dev/sdx or /dev/sdx1 for the device in /etc/fstab,
but the order in which these are assigned is non-deterministic on modern
kernels. Now, if you want a specific card, you can use /dev/disk/by-uuid,
or if you want a specific port, you can use /dev/disk/by-path.
2013-07-09 12:41:18 -04:00
Jason Felds
b72b4a2036
Remove unused declaration. Thanks to vulture.
2013-07-07 18:50:30 -04:00
Jason Felds
0259af5c80
Prevent possible crash noticed during testing.
2013-07-04 22:54:38 -04:00
phantom
39c7613802
Apparently URLs contain exploits these days.
...
Thanks djpohly for fixing.
2013-06-30 00:12:31 +02:00
phantom
6c59100c31
Implemented ArchHooks_Unix::GoToURL
2013-06-29 18:47:16 +02:00
phantom
eb301edc44
Enable LTO switch for configure script and automake 1.14 fix
2013-06-29 18:37:57 +02:00
Shenjoku
e666d8ee89
Upon further consideration I think it's best to just add all possible device
...
types and let the user try to use whatever they might have. Even if it can't be
mapped properly to something that will work it's still worth trying and
shouldn't cause any major problems (other than just not being able to play with
some weird devices, like lightguns for example).
2013-06-18 21:38:16 -07:00
Shenjoku
1a8b196121
Added another missing device type that some controllers are showing up as.
2013-06-18 10:52:46 -07:00
Jason Felds
4c99830ce4
Version update, windows notes, LINE ENDINGS!
...
...I'm serious getting annoyed at this.
2013-06-15 21:09:23 -04:00
Shenjoku
c56c40fad1
Added another missing case when enumerating joysticks, DI8DEVTYPE_SUPPLEMENTAL,
...
that should fix a lot more pads that were being reported as not being detected.
Also added some debug log messages that output each device's type and name
so in the future if other devices fail to be detected we can easily see what it
is in the info log.
2013-06-12 10:30:37 -07:00
Devin J. Pohly
ec23a019e2
Fix ScreenJukebox when there are no matching steps
...
Also makes minor tweaks to the SetSong function and adds a SystemMessage to
display that no steps have been found. When this happens, the ScreenJukebox
will return to its PrevScreen.
2013-06-09 17:22:43 -04:00
Jason Felds
8d50a47d49
Require using the string format stuff.
...
Fixes a linux compilation bug.
2013-06-09 11:15:28 -04:00
Jason Felds
d6441690b4
Fix keysound editor crash.
2013-06-09 09:08:53 -04:00
Jason Felds
09dff9834a
Remove recursion. Make it public.
2013-06-08 22:28:10 -04:00
Jason Felds
575b6b8289
Remove unused label.
2013-06-08 22:22:15 -04:00
Jason Felds
6d9f4262b6
Restore consistent setting of exception handling.
2013-06-08 21:54:27 -04:00
Jason Felds
74432a062b
Revert "Consistent DX and Exception support."
...
This reverts commit 224c68f7c6 .
2013-06-08 21:52:47 -04:00
Jason Felds
1ff3195d7c
Revert "SM5 didnt want to compile with DirectX SDK (Summer 2004), which is the original DX9.0c SDK, please use conditional compilation for newer SDKs. Summer 2004 has the following constant: #define D3D_SDK_VERSION 32"
...
This reverts commit 8e37673954 .
2013-06-08 21:52:22 -04:00
Devin J. Pohly
38ae55f302
Remove Pay mode from Arcade Options menu
2013-06-08 16:16:47 -04:00
Devin J. Pohly
65450ce530
Remove Pay mode from debug overlay
2013-06-08 16:14:35 -04:00
Devin J. Pohly
00e6f6e924
Make Pay mode work like Free
...
Third time's a charm. Removing Pay mode without causing breakage to the Lua API.
This is the first step.
2013-06-08 16:11:02 -04:00
Devin J. Pohly
259e9b1e00
Revert "Round 2 of this."
...
This reverts commit 1d7b5fe852 .
2013-06-04 23:47:49 -04:00
Devin J. Pohly
1220dbe085
Revert "Round 2-2 of this."
...
This reverts commit 0ae4183f7b .
2013-06-04 23:47:22 -04:00
Devin J. Pohly
fa91154082
Revert "Forgot this one."
...
This reverts commit de396800d8 .
2013-06-04 23:46:40 -04:00
Devin J. Pohly
bf20306d07
Revert "Missed more of these darned spots."
...
This reverts commit bbb57b1600 .
2013-06-04 23:46:11 -04:00
Jason Felds
0a723885b7
Trying out locking entries. Need someone to test.
...
LUA hooks include UNLOCKMAN->LockEntryID and
UNLOCKMAN->LockEntryIndex. Similar to the Unlock
variants.
2013-06-04 20:20:59 -04:00
Jason Felds
224c68f7c6
Consistent DX and Exception support.
2013-06-03 17:55:17 -04:00
Devin J. Pohly
028de88b50
Revert "a shot in the dark."
...
This reverts commit 0bd052ed17 .
Broke build.
2013-06-03 12:46:57 -04:00
Aldo Fregoso
bd622e91ec
Merged changes
2013-06-02 22:53:39 -05:00