Top "Audiotoolbox" questions

The Audio Toolbox framework provides interfaces for recording, playback, and stream parsing.

Play audio through upper (phone call) speaker

I'm trying to get audio in my app to play through the upper speaker on the iPhone, the one you …

ios objective-c avfoundation media-player audiotoolbox
How to generate audio wave form programmatically while recording Voice in iOS?

How to generate audio wave form programmatically while recording Voice in iOS? m working on voice modulation audio frequency in …

iphone ios avfoundation core-audio audiotoolbox
Is there an event for when the headphones are unplugged?

During a test, a client noticed that video playback in the iPhone pauses when headphones are unplugged. He wanted similar …

iphone ios objective-c audiotoolbox headphones
AudioServicesPlaySystemSound not playing sounds

I am playing a small .wav file using the AudioToolBox. AudioServicesPlaySystemSound (soundFileObject); But sometimes it is not playing. What is …

objective-c audiotoolbox
Encoding PCM (CMSampleBufferRef) to AAC on iOS - How to set frequency and bitrate?

I want to encode PCM (CMSampleBufferRef(s) going live from AVCaptureAudioDataOutputSampleBufferDelegate) into AAC. When the first CMSampleBufferRef arrives, I set …

ios audio core-audio aac audiotoolbox
AudioServicesPlaySystemSound not playing any sound in iOS 8 device

I have AVFoundation and AudioToolbox frameworks added to my project. In the class from where I want to play a …

ios audio avfoundation audiotoolbox system-sounds
How to trigger vibration on Apple Watch OS 2?

I have been working with Apple Watch OS 2 for a while, but have not succeeded in triggering vibration on Apple …

xcode swift2 apple-watch audiotoolbox watchos-2