Audio playing with Xamarin.Mac

Hi. What is the right way to play audio files in Xamarin.Mac?

I successfully applied the recipe in iOS ( /recipes/ios/media/sound/avaudioplayer/ ).
However, Xamarin.Mac does not provide class AVAudioSession.

How to set up an audio session/context in a Mac (Cocoa) app?


Best Answer


  • [UPDATE]
    Looks like the audio session is not required for playing sounds in a Mac app.

    Still, if there is an equivalent construct to AVAudioSession, please let me know.

Sign In or Register to comment.