¡@

Home 

2014/10/15 ¤U¤È 10:04:12

iphone Programming Glossary: audiofilegetproperty

Reading MP3 information using objective c

http://stackoverflow.com/questions/1239460/reading-mp3-information-using-objective-c

ID3 information can be read retrieving the kAudioFilePropertyInfoDictionary property of an audio file using the AudioFileGetProperty function of the AudioToolbox framework. A detailed explanation is available at iphonedevbook.com edit Original link is now..

iPhone: get duration of an audio file

http://stackoverflow.com/questions/1246637/iphone-get-duration-of-an-audio-file

CFURLRef afUrl kAudioFileReadPermission 0 fileID UInt64 outDataSize 0 UInt32 thePropSize sizeof UInt64 result AudioFileGetProperty fileID kAudioFilePropertyEstimatedDuration thePropSize outDataSize AudioFileClose fileID You can check the docs here share..

SpeakHere sample can't play sound which loads from internet

http://stackoverflow.com/questions/293929/speakhere-sample-cant-play-sound-which-loads-from-internet

it set bufferByteSize to a huge number 806128768 which caused buffer allocation failed. And that because in AudioFileGetProperty audioFileID kAudioFilePropertyPacketSizeUpperBound propertySize maxPacketSize The maxPacketSize returned is 806128768. I.. propertySize maxPacketSize The maxPacketSize returned is 806128768. I am wondering how to make AudioFileGetProperty work. My sound file is here you could right click and download from here . I am using this way to set the URL in the AudioViewController..

Audio Processing: Playing with volume level

http://stackoverflow.com/questions/3982723/audio-processing-playing-with-volume-level

in AudioToolbox framework to do that. So I have the input file's bytes and also its audio data format via use of AudioFileGetProperty with kAudioFilePropertyDataFormat but I can't find a variable in these to play with the original file's maximum volume level... get some info about the file's format. AudioStreamBasicDescription fileFormat UInt32 size sizeof fileFormat err ExtAudioFileGetProperty audiofile kExtAudioFileProperty_FileDataFormat size fileFormat we'll need to know what type of file it is later when we.. fileFormat we'll need to know what type of file it is later when we write AudioFileID aFile size sizeof aFile err ExtAudioFileGetProperty audiofile kExtAudioFileProperty_AudioFile size aFile AudioFileTypeID fileType size sizeof fileType err AudioFileGetProperty..

iPhone FFT with Accelerate framework vDSP

http://stackoverflow.com/questions/6358764/iphone-fft-with-accelerate-framework-vdsp

inputURL kAudioFileReadPermission 0 mAudioFile if result noErr get format info UInt32 size sizeof mASBD result AudioFileGetProperty mAudioFile kAudioFilePropertyDataFormat size mASBD UInt32 dataSize sizeof packetCount result AudioFileGetProperty mAudioFile.. AudioFileGetProperty mAudioFile kAudioFilePropertyDataFormat size mASBD UInt32 dataSize sizeof packetCount result AudioFileGetProperty mAudioFile kAudioFilePropertyAudioDataPacketCount dataSize packetCount NSLog NSString stringWithFormat @ File Opened packet..

How to reverse an audio file?

http://stackoverflow.com/questions/6593118/how-to-reverse-an-audio-file

CFURLRef self.recordedAudioUrl kAudioFileReadPermission 0 inputAudioFile thePropertySize sizeof fileDataSize theErr AudioFileGetProperty inputAudioFile kAudioFilePropertyAudioDataByteCount thePropertySize fileDataSize UInt32 dataSize fileDataSize void theData..

AudioQueue how to find out playback length of queued data

http://stackoverflow.com/questions/7375309/audioqueue-how-to-find-out-playback-length-of-queued-data

ReportAudioError theErr UInt32 thePropertySize sizeof theFileFormat thePropertySize sizeof fileDataSize theErr AudioFileGetProperty audioFile kAudioFilePropertyAudioDataByteCount thePropertySize fileDataSize if theErr ReportAudioError theErr theErr AudioFileGetProperty.. audioFile kAudioFilePropertyAudioDataByteCount thePropertySize fileDataSize if theErr ReportAudioError theErr theErr AudioFileGetProperty audioFile kAudioFilePropertyAudioDataPacketCount thePropertySize _totalPackets if theErr ReportAudioError theErr UInt32.. thePropertySize _totalPackets if theErr ReportAudioError theErr UInt32 size size sizeof _packetInfo theErr AudioFileGetProperty audioFile kAudioFilePropertyPacketTableInfo size _packetInfo g @ Key @ key if theErr ReportAudioError theErr UInt32..

AudioFileSetProperty returning 'kAudioFileUnsupportedPropertyError (pty?)'

http://stackoverflow.com/questions/8658386/audiofilesetproperty-returning-kaudiofileunsupportedpropertyerror-pty

CFURLRef url kAudioFileReadWritePermission 0 fileID CFDictionaryRef piDict nil UInt32 piDataSize sizeof piDict AudioFileGetProperty fileID kAudioFilePropertyInfoDictionary piDataSize piDict NSLog @ @ __bridge NSDictionary piDict NSMutableDictionary dict..