Steve Checkoway
c9579fe6b5
Not quite working but I can work out a bug or two it _should_ play back the audio much better for computers that support multitple channels (I assume that they all can!) and it should play the same for those computers that don't support it.
...
Right now I'm getting an error of -223 from the bufferCmd but I haven't figured out what the hell that actually is.
If you want a working sound driver for OS X, just use the previous version of these files.
2003-07-05 07:38:03 +00:00
Steve Checkoway
307f9eae7a
Opps, the file is Objective-C++ not Objective-C.
2003-07-04 09:30:30 +00:00
Steve Checkoway
76eccb4701
Use LoadingWindow_Cocoa
2003-07-04 09:28:44 +00:00
Steve Checkoway
8d935ab24d
A loading window for OS X using Cocoa
2003-07-04 09:27:12 +00:00
Steve Checkoway
01f1aa02e8
Don't call FileSet::IsADirectory because this is where it is supposed to be set and it will always return false.
2003-07-04 00:23:04 +00:00
Steve Checkoway
c9a6e30621
Headers needed for mkdir function.
2003-07-03 09:22:03 +00:00
Steve Checkoway
562251ec37
strncasecmp and memicmp appear to be the same from the man pages. However I don't have memicmp and unless other systems don't have strncasecmp I see no reason to add more checks to the configure script.
2003-07-03 09:21:36 +00:00
Steve Checkoway
a468ae9aec
added new files
2003-07-02 00:46:08 +00:00
Steve Checkoway
1d655dcb7a
fix, update, etc.
2003-06-25 09:04:42 +00:00
Steve Checkoway
352a8ab860
remove LOG->Trace()
2003-06-25 05:16:19 +00:00
Steve Checkoway
8e7fd05c2d
Added smicon.icns
2003-06-25 02:33:44 +00:00
Steve Checkoway
8611441184
Don't change the application icon in OS X.
2003-06-25 02:31:33 +00:00
Steve Checkoway
a94b35af95
Works correctly now. One assertion might fail when the number of samples
...
excedes 2^32. That should be handled more gracefully but I haven't figured
out how yet.
2003-06-24 13:23:30 +00:00
Steve Checkoway
32940e177a
Removed RageSound_SDL class and add RageSound_QT instead. Added
...
PackageMaker files to create the various packages for SM.
Updated README.
2003-06-24 13:21:18 +00:00
Steve Checkoway
b7dc511b55
Remove'em in favor of a QuickTime driver.
2003-06-24 08:46:32 +00:00
Steve Checkoway
226c8e8e48
Use QuickTime instead of SDL audio
2003-06-24 08:44:02 +00:00
Steve Checkoway
a52d618a07
Remove SDL audio in favor of QuickTime
2003-06-24 08:42:55 +00:00
Steve Checkoway
614191bd2f
Fixed the README.
2003-06-21 23:26:01 +00:00
Steve Checkoway
f85d28c941
Change the text for the Jukebox.
2003-06-21 14:22:44 +00:00
Steve Checkoway
aa1e43dd63
Quick fix to make SM presentable on OS X until a better sound driver can be
...
written.
2003-06-21 12:18:10 +00:00
Steve Checkoway
a81fb268af
Updated README with new instructions.
...
Renamed install.sh to make_dist.sh.More accurately describe what it does.
Exactly the same files as the Windows' installer are copied.
ProjectBuilder project changed to only link dynamically with libraries. As
a result a seperate package (not included here--read README) with the
libraries needs to be installed--if needed--for both end user and dev.
2003-06-21 03:04:43 +00:00
Steve Checkoway
a3dbf06a58
Oops. Included some files that weren't in cvs because I haven't written them yet. FIXED.
2003-06-19 00:58:22 +00:00
Steve Checkoway
4eb256e1d5
Add code optimization and remove debugging symbols (saves 35+ MB).
...
Add installer script (install.sh)
2003-06-19 00:41:11 +00:00
Steve Checkoway
77cfa7b87a
Use local-endian screenshots. (This didn't just switch it for everybody screwing up little-endian machines did it?)
2003-06-18 09:56:46 +00:00
Steve Checkoway
426c8736b7
OS X only -
...
1. Change the quit key press from alt-F4 to CMD-Q.
2. Change the screenshot key from SysReq (which macs don't have) to keypad '*'.
All -
When taking screenshots it was using a 4 digit number but the counter was only going from 0000 to 0999. Fixed.
2003-06-18 09:33:22 +00:00
Steve Checkoway
04a324f96d
Added the two new files.
2003-06-18 08:05:32 +00:00
Steve Checkoway
7054e7ab7b
Fix the samplerate constant. Stupid mistake. I wondered why everything played too fast.
2003-06-18 08:04:05 +00:00
Steve Checkoway
339778ac62
This is the ProjectBuilder stepmania project with which one can build stepmania for OSX.
...
A README with instructions is included.
2003-06-14 09:19:37 +00:00
Steve Checkoway
6f0fd94580
Fix the delay. 10ms instead of 10s. Fix A stupid bug where only the last sound would be played.
2003-06-14 09:13:55 +00:00
Steve Checkoway
6abd605ce8
Added preliminary sound support for OSX. As far as I know, it should work on any system with SDL. However, I have no way of checking anything other than OSX.
2003-06-14 04:18:58 +00:00
Steve Checkoway
602ed81f48
Make the dtor virtual.
2003-06-14 04:15:35 +00:00
Steve Checkoway
9d3db00a96
Better encapsulation
2003-06-13 20:49:09 +00:00
Steve Checkoway
2b1099666c
Bring the Makefile up to date wrt new files.
2003-05-13 23:04:16 +00:00
Steve Checkoway
6dfe7091ce
Bring up to date wrt new files.
2003-05-12 23:14:20 +00:00
Steve Checkoway
433dda1d1f
Added check for roundf function. If it's defined in a system library, redefining it in RageUtil.h causes stepmania to fail to link with g++.
2003-05-09 22:13:27 +00:00
Steve Checkoway
2c814f4fda
Added check for roundf function. If it's defined in a system library, redefining it in RageUtil.h causes stepmania to fail to link with g++.
2003-05-09 21:34:25 +00:00
Steve Checkoway
b896f09a19
Bring it up to date wrt new files: ScreenUnlock.*, UnlockSystem.*, and StepmaniaTemplates.cpp.
2003-05-09 10:38:43 +00:00
Steve Checkoway
ede304a619
Explicitly instantiate: template class std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >. Needed for g++ compilation.
2003-05-09 10:37:08 +00:00
Steve Checkoway
de617df8ac
AC_CHECK_DECLS always defines HAVE_DECL_*.
2003-05-06 04:07:17 +00:00
Steve Checkoway
46124ee0ed
Added checks for SIGPWR and SIGUSR1. SIGPWR is defined in linux as 30 but is not defined in Darwin. Darwin defines SIGUSR1 as 30. If SIGPWR is not defined and SIGUSR1 is then config.h now defines SIGPWR as SIGUSR1. If neither are defined, SIGPWR is defined as 30.
2003-05-05 22:21:06 +00:00
Steve Checkoway
1d5f0c1078
Compile in alsa9 only if it is actually installed, not simply if you are building on linux.
2003-05-01 09:54:24 +00:00
Steve Checkoway
779a66e58e
Added check for alsa9 and like with it if it is found.
2003-05-01 09:52:53 +00:00
Steve Checkoway
69685e4791
Check for alsa9 in the configure script.
2003-05-01 09:51:45 +00:00
Steve Checkoway
33f016838d
include -DLINUX in CXXFLAGS if not compiling for Darwin
2003-04-28 01:40:23 +00:00
Steve Checkoway
d1db01ecfe
chmod a+x the two configure scripts in SDL-1.2.5 and SDL_sound-1.0.0.
2003-04-27 03:48:35 +00:00
Steve Checkoway
f7a139c2fe
Fixed broken VPATH builds. I broke it with the last version of Makefile.am
2003-04-27 02:44:30 +00:00
Steve Checkoway
1993dccc2b
Added some frameworks to the linker flags if compiling on OS X.
2003-04-27 02:41:27 +00:00
Steve Checkoway
f524a930cb
changed the selected group from string to CString to fix compilation error regarding different operands to ?:
2003-04-26 21:38:28 +00:00
Steve Checkoway
fbb6cb0e98
If Darwin don't compile ALSA9 drivers
2003-04-26 01:15:45 +00:00
Steve Checkoway
cc2d1aabb7
If building on Darwin only include $(Sound_Null). Otherwise everything is the same.
2003-04-26 01:11:54 +00:00
Steve Checkoway
3d14c8501d
Check for Darwin, if found, define DARWIN 1. This is to still compile SDL (with -DLINUX) but to not to compile the ALSA9 stuff.
2003-04-26 01:10:42 +00:00
Steve Checkoway
0d37ae065d
added some min/max overloads
2003-04-26 00:58:01 +00:00
Steve Checkoway
674f1c1704
added def of tanf if needed as determined by configure
2003-04-24 04:14:25 +00:00
Steve Checkoway
7f66579123
added check for tanf
2003-04-24 04:13:41 +00:00
Steve Checkoway
f3115189f6
added defs for other min/max overloads. Added defs for powf, sqrtf, cosf, sinf, and acosf, if needed as determined by configure.
2003-04-23 04:38:49 +00:00
Steve Checkoway
b3220c1f75
Added checks for powf, sqrtf, sinf, cosf, and acosf. They are now defined correctly, I hope, in src/global.h as inline functions.
2003-04-23 04:37:23 +00:00
Steve Checkoway
be9216fad5
converted min function args to proper type
2003-04-20 12:56:01 +00:00
Steve Checkoway
422b596de5
Added operator[](long unsigned int) functions
2003-04-20 12:54:46 +00:00
Steve Checkoway
86fce28601
fixed conversion warnings
2003-04-20 12:53:38 +00:00
Steve Checkoway
09d633005f
changed min/max to one function each (if it's missing) to remove ambiguity
2003-04-20 12:52:45 +00:00
Steve Checkoway
ace71ae2d2
Added def for powf, sinf, cosf, acosf, sqrtf, needed for darwin's incomplete libc
2003-04-20 12:51:39 +00:00