Jump to content
IGNORED

Atari800MacX macOS Sierra sound not working


Fletch

Recommended Posts

Yes, you're correct, that deprecated APIs often break, but here is a big caveat, especially for OS APIs:

Deprecation in itself, doesn't warrant breakage or removal.

It normally means that you shouldn't use this API for new stuff. E.g. look at Carbon: It's long deprecated, but as of El Capitan it still runs.

That the old audio API (which by the way?) is broken in the Beta, only means that it's broken at the moment.

 

 

Some part of CoreAudio, I'd imagine, that isn't being fully incorporated or supported as part of AV Foundation. Here, go nuts. Fix Atari800MacX while you're at it. :)

 

https://developer.apple.com/av-foundation/

 

As an aside: Logic X is in my opinion the superior product, so you should really consider buying it. I have worked with both version, so I tell that I never looked back to using Logic 9 again.

 

I'm sure Logic Pro X is great. I don't think paying $200 is great when what I already paid $200 for Logic Pro 9 a few years ago and that still serves my needs. I'm probably just going to spend $50 for Auria Pro on iOS and move away from using my Mac for any recording anyway if Logic Pro 9 isn't working by the final release.

 

Now all this petty nerd-fighting aside, Mac users can at least console ourselves that Altirra works under WINE/Crossover. Yes, it's got a horrible, clunky multi-menu Windows UI, but the underlying emulator is a wonderful piece of work that runs great, AND it supports accurate emulation of modern hardware upgrades and devices like the Ultimate 1MB, SIDE and SIDE2 carts, etc. Really fabulous work phaeron has done there.

Edited by DrVenkman
Link to comment
Share on other sites

 

Some part of CoreAudio, I'd imagine, that isn't being fully incorporated or supported as part of AV Foundation. Here, go nuts. Fix Atari800MacX while you're at it. :)

 

https://developer.apple.com/av-foundation/

 

 

I'm sure Logic Pro X is great. I don't think paying $200 is great when what I already paid $200 for Logic Pro 9 a few years ago and that still serves my needs. I'm probably just going to spend $50 for Auria Pro on iOS and move away from using my Mac for any recording anyway if Logic Pro 9 isn't working by the final release.

 

AV Foundation has been in use since Yosemite, I doubt that's the issue. Something is likely broken and I'm sure Atari800MacX is not the only application effected. We'll see once another beta or two hits the wire.

 

As far as Logic Pro X, you can always get a copy the same way most of us obtain our Atari software. There's this bay I've heard about with a bunch of people with eye patches. I seriously doubt Auria Pro could deal with my pile of x86-64 native VST plugins. And the difficulties with the sandboxing and filesystem abstraction on iOS make any attempts I've made at serious audio work on them subpar and not worth the hassle. Cute toy for an impromptu jam session but for a versatile do-it-all DAW the iPad blows.

 

I'm sure Logic 9 will be working by the release. Logic 9 is the only option for 32-bit plugins that haven't been updated. Apple knows better.

 

 

Now all this petty nerd-fighting aside, Mac users can at least console ourselves that Altirra works under WINE/Crossover. Yes, it's got a horrible, clunky multi-menu Windows UI, but the underlying emulator is a wonderful piece of work that runs great, AND it supports accurate emulation of modern hardware upgrades and devices like the Ultimate 1MB, SIDE and SIDE2 carts, etc. Really fabulous work phaeron has done there.

 

Or you could compile the Linux/UNIX version of Atari800SDL and use it with X11. Binary versions probably even exist in repositories like fink, brew or MacPorts. I got a Mac as a desktop-ready UNIX workstation with decent commercial software support, not to run Winblows software using some kludge. Atari800MacX might be dated by a few years but it's far from crap and it's quite likely that this issue may be fixed before Sierra's release. Apple doesn't have a habit of breaking API's on short notice.

Link to comment
Share on other sites

 

 

That is true, but the point is that if Apple has changed the audio subsystem in macOS Sierra and Atari800MacX is no longer being updated that Mac users need to be aware.

 

Will the final macOS Sierra and Atari800MacX work together? Who knows. But the way the beta currently stands it does not work.

 

I wanted other Mac users to be aware if that they wanted to play about with the beta that they should hold off if Atari800MacX is important to them.

 

Thx. I won't update my main systems then!

  • Like 1
Link to comment
Share on other sites

Look, I'm not gonna argue this any further. I know a bit more about Mac OS stuff than I can say publicly. As I said before, we should all consider this "brokenness" a warning of things to come. Whatever borked Atari800MacX may be reverted (or fixed or undone - pick your term) before the GM or it may not be. The writing is on the wall for older software though. That was my first point and it remains valid. And once again, the source code is out there. If anyone has time and skill to rewrite whatever portions are necessary to build it for a more recent base version of OS X or macOS, please do so. Otherwise ... tick tock ... tick tock ...

 

As for the Logic, I'm not buying Logic Pro X. Just not worth another $200 for me. If Logic Pro 9 remains unworkable in Sierra I'll either go to Reaper, PreSonus StudioOne or Auria Pro - watch some videos of Auria running on an iPad Pro - you might be pleasantly surprised. Since I don't use a giant collection of .VST plugins, that issue isn't relevant to me at all.

Link to comment
Share on other sites

  • 2 weeks later...

Installed macOS Sierra GM tonight, and as DrVenkman wrote above the sound is still borked. I was hoping for a different result, but alas. I guess I'll need to install a Wine port of Altirra.

 

 

Hi folks.

 

I saw this thread and looked into it. As it stands, sound is never going to work in Sierra or later because the current codebase relies on the SDL v1 library. SDL v1 uses Carbon Audio Units for sound on the Mac, and that API has been deprecated for the last couple of OS X versions, pending its ultimate removal in Sierra.

 

I also looked at the possibility of swapping in SDL v2. It is doable, and I played with it. I might even finish it, but while SDL v2 fixes audio (as it now employs CoreAudio as it should), it brings some API incompatibilities with SDL v1 that require some reworking of the code. Unfortunately, the Objective C code in the app has some important deficiencies -- specifically, multi-parameter Objective C method calls lack parameter names. I spent a little time and sorted that out, but my point here is that it requires a little reworking to use SDL v2 and is more effort than simply recompiling.

  • Like 6
Link to comment
Share on other sites

Hi folks.

 

I saw this thread and looked into it. As it stands, sound is never going to work in Sierra or later because the current codebase relies on the SDL v1 library. SDL v1 uses Carbon Audio Units for sound on the Mac, and that API has been deprecated for the last couple of OS X versions, pending its ultimate removal in Sierra.

 

I also looked at the possibility of swapping in SDL v2. It is doable, and I played with it. I might even finish it, but while SDL v2 fixes audio (as it now employs CoreAudio as it should), it brings some API incompatibilities with SDL v1 that require some reworking of the code. Unfortunately, the Objective C code in the app has some important deficiencies -- specifically, multi-parameter Objective C method calls lack parameter names. I spent a little time and sorted that out, but my point here is that it requires a little reworking to use SDL v2 and is more effort than simply recompiling.

Thank you so much, mellis! If you ever get a version that works properly in Sierra, I'm sure we will all appreciate it very much.

 

I still love your old SIO Server program. If you ever want to contribute to the RespeQt project, I know that would be welcom as well. Your app is still the best looking SIO peripheral emulator there is. :)

Link to comment
Share on other sites

 

 

Hi folks.

 

I saw this thread and looked into it. As it stands, sound is never going to work in Sierra or later because the current codebase relies on the SDL v1 library. SDL v1 uses Carbon Audio Units for sound on the Mac, and that API has been deprecated for the last couple of OS X versions, pending its ultimate removal in Sierra.

 

I also looked at the possibility of swapping in SDL v2. It is doable, and I played with it. I might even finish it, but while SDL v2 fixes audio (as it now employs CoreAudio as it should), it brings some API incompatibilities with SDL v1 that require some reworking of the code. Unfortunately, the Objective C code in the app has some important deficiencies -- specifically, multi-parameter Objective C method calls lack parameter names. I spent a little time and sorted that out, but my point here is that it requires a little reworking to use SDL v2 and is more effort than simply recompiling.

Not to rain on your parade, but Atari800 would remain on SDL1.2, so any updates on the Atari800 core would have rewritten again and again.

A better way would be look at what is causing the problem. I now have a Macbook Pro with the GM build of Sierra and I observed that the app crashes with an Division by Zero fault. I will try to look at the problem the coming week, if I find time.

Secondly, I installed Logic Pro 9 and played a bit around with it. The app seems to work perfectly.

Edited by JoSch
Link to comment
Share on other sites

Not to rain on your parade, but Atari800 would remain on SDL1.2, so any updates on the Atari800 core would have rewritten again and again.

A better way would be look at what is causing the problem. I now have a Macbook Pro with the GM build of Sierra and I observed that the app crashes with an Division by Zero fault. I will try to look at the problem the coming week, if I find time.

Secondly, I installed Logic Pro 9 and played a bit around with it. The app seems to work perfectly.

 

 

The crux of the problem is that, for the Mac port, SDL v1's audio is based on Carbon Audio Units. I suppose some effort could be expended to back port the audio code from SDL v2 (which uses CoreAudio) to SDL v1, as SDL v2's audio API is compatible with SDL v1. In doing so, a new SDL v1+ hybrid for Mac would result :-P .

 

I have isolated the areas that need changing, and the changes seem fairly localized. That said, I've made no effort to ascertain which pieces of code are particular to the Mac port and which pertain to the Atari800 codebase.

 

If I get a chance to play with it some more, I will post here. My immediate objective was to get enough ported to SDL v2 to get it to compile. At that point, I will need to address the keyboard input as the next order of business.

  • Like 1
Link to comment
Share on other sites

Secondly, I installed Logic Pro 9 and played a bit around with it. The app seems to work perfectly.

Not on my system (MPB 8,2) running the latest developer (GM) version of Sierra. It hasn't since the first time I tried months ago. Oh, the program loads and I can add an empty track or two, but if I create a project using any of the included templates, or try to copy the contents of an existing sample project to a blank project, I get a crash every time. I've reported it to Apple via private channels but no indication things will change. *shrug*

Edited by DrVenkman
Link to comment
Share on other sites

Not on my system (MPB 8,2) running the latest developer (GM) version of Sierra. It hasn't since the first time I tried months ago. Oh, the program loads and I can add an empty track or two, but if I create a project using any of the included templates, or try to copy the contents of an existing sample project to a blank project, I get a crash every time. I've reported it to Apple via private channels but no indication things will change. *shrug*

 

Well, I got an used Macbook Pro 2015 with a newly installed El Capitan. I installed Logic 9 and then upgraded to Sierra.

I play music and get no crash. Do you have some plugins installed?

Link to comment
Share on other sites

 

 

The crux of the problem is that, for the Mac port, SDL v1's audio is based on Carbon Audio Units. I suppose some effort could be expended to back port the audio code from SDL v2 (which uses CoreAudio) to SDL v1, as SDL v2's audio API is compatible with SDL v1. In doing so, a new SDL v1+ hybrid for Mac would result :-P .

 

I have isolated the areas that need changing, and the changes seem fairly localized. That said, I've made no effort to ascertain which pieces of code are particular to the Mac port and which pertain to the Atari800 codebase.

 

If I get a chance to play with it some more, I will post here. My immediate objective was to get enough ported to SDL v2 to get it to compile. At that point, I will need to address the keyboard input as the next order of business.

I think fixing the SDL1 audio driver is easier and more sustainable than porting Atari800MacX to SDL2, because you still have to join the Atari800 code to it, when updates to later code is coming.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...