• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
OpenAL in a OSX GUI App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OpenAL in a OSX GUI App


  • Subject: OpenAL in a OSX GUI App
  • From: Alexander Bollbach <email@hidden>
  • Date: Sat, 30 Jan 2016 02:28:32 +0000

Again, I'm working through this Learning Core Audio and I just finished the Open AL chapters.  Aside from some issues with buffers (EXC_BAD_ACCESS abound.. out of bounds, that is), I have gotten the examples to work as intended in a command line project.  I have, perhaps naively, placed most of the first example's code in 'applicationDidFinishLaunching:' in the App Delegate of a fresh GUI based project.  My simple aim was to create a few sliders for the X,Y,Z dimensions of the 3d audio source and perhaps graduate to some simple renderings and animations controlling sound such as in a game.  The problem is concurrency.  Maybe, I'm just missing something but This Gist links to the code I have in  AppDelegate.m and I just can't see how to get the function 'updateSourceLocation:' to loop in some thread while I modify its x,y,z parameters using UI elements. I tried wrapping it in a dispatch but that only made it worse. Any ideas? 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: OpenAL in a OSX GUI App
      • From: Aran Mulholland <email@hidden>
  • Prev by Date: Re: Coreaudio-api Digest, Vol 13, Issue 20
  • Next by Date: Re: OpenAL in a OSX GUI App
  • Previous by thread: Re: Coreaudio-api Digest, Vol 13, Issue 20
  • Next by thread: Re: OpenAL in a OSX GUI App
  • Index(es):
    • Date
    • Thread