Commit Graph
25 Commits
Author SHA1 Message Date
Devin J. Pohly b2744946c9 fix memory leak in JACK driver 2014-02-08 21:40:40 -05:00
Devin J. Pohly db894326e7 fix port-choosing logic in JACK driver 2014-02-08 21:40:40 -05:00
Ben "root" Anderson 970bb39a81 RageSoundDriver_JACK: Autoconnect by default. More robust port detection and connection logic. 2014-01-25 11:04:46 -06:00
Ben "root" Anderson 36864f8ae7 RageSoundDriver_JACK: Try to connect to the system playback ports if no SoundDevice was specified. 2014-01-25 10:16:26 -06:00
Ben "root" Anderson fe91ae4b18 RageSoundDriver_JACK: Explicitly hint that we would rather fail than start a new jackd instance. 2014-01-25 09:55:45 -06: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 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 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 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 feb919f0bf Revert memory leak commits
5f7001e: "Added a new branch"
01456ed: "Fixed a lot of memory leaks"
dac4493: "Fixed all remaining memory leaks that I could figure out"
0792db7: "Removed the smnew macro and the call to _CrtSetDbgFlag()"

Some of these caused destructor-time problems due to static initialization
order fiasco and related issues.  Notably, the program would no longer exit on
OSX and had to be killed.

There were probably legitimate fixes in here, but since these are monolithic
commits it's too much work to extract them now.  Let's reapply them
individually and in the forward direction.
2013-04-27 00:05:14 -04:00
Shenjoku 0792db752a Removed the smnew macro and the call to _CrtSetDbgFlag() to get ready for
merging with the main branch.
2013-04-19 20:34:11 -07:00
Shenjoku 01456ed0b9 Fixed a lot of memory leaks caused by static globals never getting
deleted and some other objects not getting deleted properly due to missing
destructors.
2013-04-18 21:17:57 -07:00
Shenjoku 5f7001ef0a Added a new branch that implements support for outputting all memory leaks to
the debug output for the Debug and FastDebug project configurations. This
requires replacing all instances of new with a macro, smnew, that defines a
special form of new which outputs file and line number information along with
the memory leak details. This makes finding memory leaks much easier since you
can just double-click the leak in the output window and it will take you to the
line that caused it.
2013-04-17 20:42:29 -07:00
Jason Felds d7518ef5b3 Bring Xcode up to 4.6 standards.
Basically includes hi def image stuff and headers.

Note: Mac OS X build is broken. LowLevelWindow_MacOSX.mm refers to the removed RageDisplay_Legacy_Helpers files. The replacement is not immediately obvious.
2013-02-10 01:10:01 -05:00
Jason Felds a15cbc431d War on -Werror, part 14: More hodgepodge. 2012-12-27 12:45:04 -05:00
Flameshadowxeroshin 64e74f4824 Fix some nasty behavior with ALSA thanks to custos-mundi (of irc.freenode.net #alsa) and /// 2012-04-07 21:21:18 +00:00
Colby Klein d69bbdbb9d Fix typo 2011-05-02 10:41:59 -07:00
Colby Klein 464f0f703b PulseAudio has some issue which causes arrows to stutter. 2011-05-02 10:36:08 -07:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
Jason Felds 61d36671da Effective C++ violations being weeded out.
Not yet below 40K.
2011-03-14 13:40:38 -04:00
AJ Kelly a89b2686a6 some more changes and additions 2010-12-15 19:24:40 -06:00
AJ Kelly 3e51544930 Initial commit. 2010-01-26 21:00:30 -06:00
Devin J. Pohly 80057f53cd smsvn -> ssc-hg glue: rearrange directory structure 2013-06-10 15:38:43 -04:00