libpd/libpd — comment on commit 01492deb9cdaae5acf0c2d009c13f3fc7d423d1c
File: objc/PdAudioController.m line 84
By nettoyeurny:

About ternary operators, that's a matter of taste. I like the conciseness of it, as well as the fact that this way of invoking methods feels a little bit like functional programming, and I don't think I'll ever be tempted to step through these particular lines. Still, I don't feel too strongly about this, and I got rid of one ternary operator in the latest version.

I chose audio session categories according to my reading of the Apple docs. If they're inaccurate, then we definitely need to change this. Does this mean that we don't want ambient categories at all, ever?