Mac Mini G4 - sound on OS 9.2

  • Nominations will close March 25th. If you'd like to join the board and influence how TinkerDifferent runs in the next year, put your name in now!
  • Hey Guest, MARCHintosh 2026 is upon us. Check out community projects, join GlobalTalk, and have fun!

x7x

New Tinkerer
Mar 20, 2026
1
0
1
Hi everyone,
I was sick for a week and I wanted to play some games, but the sound was almost not audible even with external speakers. I must say, I am a beginner in programming classic macs and especially anything low level. Anyways, I consulted the problem with AI and other forums and I always found, that I should buy some amplifiers and speakers. That is ridiculous, because the internal speaker as well as the jack work on different systems and Linux developers figured it out as well, so there must be a solution.

After several hours over few days I vibe-coded a "fix". Well, now the speakers and jack are at maximum volume all the time, but for the use case it is actually fine. It is now perfectly capable gaming machine.

You can find the code bellow with the extension. Hopefully, someone more capable in Mac programming could use it as starting point and maybe finish the sound management properly. I would assume, there must be enable disable pins and than some pins for the volume setting. But vibe-coding pin selection is actually tricky. The system crashed anytime I tired something more advanced. Well anyway, the antisolution as it is now works fine. I have tested it for hours and I did not find any problems and since it is an extension, you can disable it anytime.

Demo video:

Code: