iphone Programming Glossary: sint32
How to programatically detect earpiece in iphone? http://stackoverflow.com/questions/1832041/how-to-programatically-detect-earpiece-in-iphone routeChangeReasonRef CFDictionaryGetValue routeChangeDictionary CFSTR kAudioSession_AudioRouteChangeKey_Reason SInt32 routeChangeReason CFNumberGetValue routeChangeReasonRef kCFNumberSInt32Type routeChangeReason if routeChangeReason kAudioSessionRouteChangeReason_OldDeviceUnavailable.. CFSTR kAudioSession_AudioRouteChangeKey_Reason SInt32 routeChangeReason CFNumberGetValue routeChangeReasonRef kCFNumberSInt32Type routeChangeReason if routeChangeReason kAudioSessionRouteChangeReason_OldDeviceUnavailable Headset is unplugged.. if..
where to start with audio synthesis on iPhone http://stackoverflow.com/questions/2067267/where-to-start-with-audio-synthesis-on-iphone Fsharp Aflat Gsharp Helper function calculates fundamental frequency for a given note float CalculateFrequencyFromNote SInt32 semiTones SInt32 octave 4 float CalculateFrequencyFromMIDINote SInt32 midiNoteNumber File BleepMachine.mm BleepMachine.mm.. Helper function calculates fundamental frequency for a given note float CalculateFrequencyFromNote SInt32 semiTones SInt32 octave 4 float CalculateFrequencyFromMIDINote SInt32 midiNoteNumber File BleepMachine.mm BleepMachine.mm WgHeroPrototype.. a given note float CalculateFrequencyFromNote SInt32 semiTones SInt32 octave 4 float CalculateFrequencyFromMIDINote SInt32 midiNoteNumber File BleepMachine.mm BleepMachine.mm WgHeroPrototype Created by Andy Buchanan on 05 01 2010. Copyright 2010..
Display CFUserNotificationDisplayAlert on iPhone Lock Screen http://stackoverflow.com/questions/2199642/display-cfusernotificationdisplayalert-on-iphone-lock-screen NULL keys values sizeof keys sizeof keys kCFTypeDictionaryKeyCallBacks kCFTypeDictionaryValueCallBacks SInt32 err 0 CFUserNotificationRef notif CFUserNotificationCreate NULL 0 kCFUserNotificationPlainAlertLevel err dict CFRelease..
How to programmatically sense the iPhone mute switch? http://stackoverflow.com/questions/287543/how-to-programmatically-sense-the-iphone-mute-switch NULL inInterruptionListener NULL NSLog @ Error error in AudioSessionInitialize d. error else gAudioSessionInited YES SInt32 ambient kAudioSessionCategory_AmbientSound if AudioSessionSetProperty kAudioSessionProperty_AudioCategory sizeof ambient..
How to record sound produced by mixer unit output (iOS Core Audio & Audio Graph) http://stackoverflow.com/questions/7118429/how-to-record-sound-produced-by-mixer-unit-output-ios-core-audio-audio-graph the samples alternate between a normal looking number and a much smaller number try this code in your callback instead SInt32 dataLeftChannel SInt32 ioData mBuffers 0 .mData for UInt32 frameNumber 0 frameNumber inNumberFrames frameNumber NSLog @.. a normal looking number and a much smaller number try this code in your callback instead SInt32 dataLeftChannel SInt32 ioData mBuffers 0 .mData for UInt32 frameNumber 0 frameNumber inNumberFrames frameNumber NSLog @ sample lu ld frameNumber.. Then add this to your callback before you save your data UInt32 dataSizeCanonical ioData mBuffers 0 .mDataByteSize SInt32 dataCanonical SInt32 ioData mBuffers 0 .mData UInt32 dataSize16 dataSizeCanonical AudioConverterConvertBuffer effectState..
Need an API that detects when an iPhone is plugged in http://stackoverflow.com/questions/7301680/need-an-api-that-detects-when-an-iphone-is-plugged-in ioDevice IOIteratorNext deviceIterator IOUSBDeviceInterface deviceInterface NULL IOCFPlugInInterface ioPlugin NULL SInt32 score get a pointer to the device stored to ioPlugin IOCreatePlugInInterfaceForService ioDevice kIOUSBDeviceUserClientTypeID..
Detecting iPhone mute switch in iOS 5 http://stackoverflow.com/questions/8158087/detecting-iphone-mute-switch-in-ios-5 NULL inInterruptionListener NULL NSLog @ Error error in AudioSessionInitialize d. error else gAudioSessionInited YES SInt32 ambient kAudioSessionCategory_AmbientSound if AudioSessionSetProperty kAudioSessionProperty_AudioCategory sizeof ambient..
|