Files
nethack/include
nhmall 3d908c49ef take initial stab at macsound interface
Use macOS AppKit framework routines for a first cut at a
macsound soundlib interface.

Requires WANT_MACSOUND=1 on build.

Nothing has been done to move the stock sounds into the resources
of a bundle, so after building, if you want to try the stock sounds
out:
	cp sound/wav/*.wav ~/Library/Sounds

Because the NSSound macOS routines always do the search, supposedly
the following locations are searched in this order:
   1. the application’s main bundle
   2. ~/Library/Sounds
   3. /Library/Sounds
   4. /Network/Library/Sounds
   5. /System/Library/Sounds

Although not specifically implemented as of yet, it may be pretty
close to being able to put soundeffects wav files (by se_ name)
into ~/Library/Sounds working for the SND_SOUNDEFFECTS_AUTOMAP feature.

Feedback is welcome. Contributions for improving it are even more
welcome.

The new soundlib supporting file is named
sound/macsound/macsound.m since it's got objective C in it.

Known bugs and glitches:

The Hero_playnotes on a set of 5 notes goes too fast, so there
needs to be a slight delay added between the note of a multi-note
play.
2023-01-23 23:50:43 -05:00
..
2022-02-04 11:01:20 -05:00
2022-03-13 13:58:56 -07:00
2022-11-29 21:53:21 -05:00
2022-07-19 21:23:26 +03:00
2022-07-19 21:23:26 +03:00
2022-11-29 21:53:21 -05:00
2022-10-30 16:08:14 -04:00
2023-01-19 18:51:42 -05:00
2022-12-07 16:45:35 -08:00
2022-06-30 23:48:18 -04:00
2023-01-19 18:51:42 -05:00
2022-11-10 15:44:53 -08:00
2022-10-26 14:21:23 -04:00
2023-01-15 11:04:35 -08:00
2021-01-26 21:06:16 -05:00
2022-11-29 21:53:21 -05:00
2022-12-26 14:56:12 -08:00
2022-08-23 23:27:21 +03:00
2023-01-19 18:51:42 -05:00
2022-07-01 08:36:03 -04:00
2022-03-11 07:33:28 -05:00
2022-06-19 02:30:45 -07:00
2022-11-29 21:53:21 -05:00
2022-11-29 21:53:21 -05:00
2022-10-26 14:21:23 -04:00
2022-11-29 21:53:21 -05:00
2022-11-29 21:53:21 -05:00
2022-11-29 21:53:21 -05:00
2022-11-29 21:53:21 -05:00
2023-01-12 14:54:05 -08:00
2023-01-12 14:54:05 -08:00
2023-01-19 18:51:42 -05:00
2023-01-23 08:05:26 +02:00
2022-10-26 14:21:23 -04:00
2022-10-26 14:21:23 -04:00
2022-10-26 14:21:23 -04:00
2022-10-26 14:21:23 -04:00
2022-10-26 14:21:23 -04:00
2023-01-17 20:11:45 +02:00
2022-07-23 23:11:13 -07:00
2022-10-26 14:21:23 -04:00
2022-11-29 21:53:21 -05:00
2022-12-10 12:27:18 -05:00
2022-12-10 12:27:18 -05:00
2020-08-12 16:15:28 -07:00
2022-10-26 14:21:23 -04:00
2022-12-06 00:49:52 -08:00
2022-10-29 10:54:25 -04:00
2022-11-29 21:53:21 -05:00
2023-01-06 15:53:06 +02:00
2022-06-30 23:48:18 -04:00
2023-01-09 23:34:32 -08:00
2022-10-26 14:21:23 -04:00
2022-10-26 14:21:23 -04:00
2022-11-29 21:53:21 -05:00
2022-11-29 21:53:21 -05:00