[comp.sys.mac.system] Suitcase 1.2.9 & Sounds CDEV

folta@tove.cs.umd.edu (Wayne Folta) (04/23/91)

We just got our IIci back from the shop (new motherboard :-() and I went to
set the sound from the default beep to one of my favorite sounds...

BUT, the Sounds CDEV does not display any sounds that Suitcase has opened.
I was ready to blame the shop (they messed with my After Dark settings, so
they might have screwed something else up) when I remembered that I just
upgraded to Suitcase 1.2.9 last week (using the updater at sumex-aim).

Is there a known problem with Suitcase 1.2.9/System 6.0.7/IIci that would
result in Sounds not working correctly? (SuperClock can still find my chime,
and Suitcase will let me play the sounds.) I didn't try to change sounds in
the week, so maybe I just missed the problem. It would be funny that the system
would find the sound though Sounds couldn't set it, though.
--


Wayne Folta          (folta@cs.umd.edu  128.8.128.8)

brecher@public.BTR.COM (Steve Brecher) (04/23/91)

In <33378@mimsy.umd.edu>, folta@tove.cs.umd.edu (Wayne Folta) writes.

> ... the Sounds CDEV does not display any sounds that Suitcase has opened.
> ...
> Is there a known problem with Suitcase 1.2.9/System 6.0.7/IIci that would
> result in Sounds not working correctly?

Yep, Apple changed the behavior of the Sounds cdev in 6.0.7 to revert to
the way it used to be pre-6.0 (I don't know why).  In 1.2.9 I
conditionally removed workaround code that was there for pre-6.0 systems,
and neither I nor beta testers caught the 6.0.7 problem before release of
1.2.9.

As usual, there's a hex patch:

To patch Suitcase II 1.2.9 so that the Sounds cdev shows sounds in
suitcase files as well as in the System file:
 
With ResEdit, open a copy of Suitcase II that is not currently in use.
Double click on the INIT resource type; in the ensuing window
double-click on INIT 128 (the only item).  Choose Find Hex from the Find
menu.  In the Change Hex dialog box, *carefully* type the following
values (ResEdit will not echo the spaces if you type them; they are
shown here for readability).   Then click the Find Next button. (If
ResEdit beeps in response, there has been an error.)  Then click the
Change button.  Quit, confirming that changes are to be saved.
 
 Find Hex:  0006 015A
 Change to: 0007 015A

What this patch does is change "apply Sounds cdev workaround if System
version is less than 6" to "... less than 7."  (The workaround is
superfulous but harmless for Systems 6.0.x, x < 7.)  Note, however, that
the problem will persist with 7.0, which inherits 6.0.7's recidivistic
Sounds cdev.  If the "7" in the patch is changed to a higher number, e.g.,
"8", then the 7.0 cdev will show suitcased sounds *but* with the unwanted
side effect of having a Finder-opened System file container also showing
suitcased sounds as if they were in the System file.  Fixed in next
release...

--
brecher@btr.com (Steve Brecher)

eaton@pacvax.UUCP (Mark W. Eaton) (04/25/91)

This is a known incompatibility with Suitcase 1.2.9 and 6.0.7.  
Fortunately, I use SoundMaster which allows me to set the beep sound from 
their CDEV.

Disclaimer: My statements are my own, whether rational or not...