• 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
Re: OpenAL in a OSX GUI App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenAL in a OSX GUI App


  • Subject: Re: OpenAL in a OSX GUI App
  • From: Aran Mulholland <email@hidden>
  • Date: Sat, 30 Jan 2016 22:05:46 +1100

I think you should look at a basic UI app. The code for the sliders should not be in applicationDidFinishLaunching as this is an event callback that is fired. Look at how to make a basic UI app first. The sliders should be in a view.

On Sat, Jan 30, 2016 at 1:28 PM, Alexander Bollbach <email@hidden> wrote:
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

 _______________________________________________
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: Alexander Bollbach <email@hidden>
References: 
 >OpenAL in a OSX GUI App (From: Alexander Bollbach <email@hidden>)

  • Prev by Date: OpenAL in a OSX GUI App
  • Next by Date: AudioUnit Volume
  • Previous by thread: OpenAL in a OSX GUI App
  • Next by thread: Re: OpenAL in a OSX GUI App
  • Index(es):
    • Date
    • Thread