• 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: AVAudioSession or equivalent on Mac OSX?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AVAudioSession or equivalent on Mac OSX?


  • Subject: Re: AVAudioSession or equivalent on Mac OSX?
  • From: Bob Sabiston <email@hidden>
  • Date: Wed, 19 Dec 2012 10:22:59 -0600

Hello again,

	Well, amazingly I was able to run the exact same code on iOS and Mac and it works.  I just had to change my explicit SInt16 arguments to AudioSampleType.  I was thinking that the actual values I put into the buffers would have to change depending on whether they were shorts or floats, but is that not the case?

Or maybe it is, because there is one big problem.  On the mac, the sound is excruciatingly loud.  It does not seem to pay any attention to the volume setting in the menu bar, which I wouldn't have thought possible for an app to override.  If I actually put the slider at 0, then it's true that the sound it mute, but at one notch up it is ear-splittingly loud, seemingly as much as at full volume.

So is this something I need to do differently regarding the audio output unit on mac, or does it have to do with my samples?  Like, instead of ranging from +/- 32768, are they supposed to just range from +/-1?  If that were the case then I would think the sound would just be garbage.  It's not, it sounds right, just super loud.

Thanks for any suggestions,
Bob





 _______________________________________________
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: AVAudioSession or equivalent on Mac OSX?
      • From: Art Gillespie <email@hidden>
  • Prev by Date: Re: AVAudioSession or equivalent on Mac OSX?
  • Next by Date: AVAudioSession or equivalent on Mac OSX?
  • Previous by thread: Re: AVAudioSession or equivalent on Mac OSX?
  • Next by thread: Re: AVAudioSession or equivalent on Mac OSX?
  • Index(es):
    • Date
    • Thread