iPhone/iPad开发扎记 2012/02/11 - 玩转iOS Audio Service
2012-02-11 07:49
302 查看
### 主要任务:玩转xcode document中所有audio samples ###
1. sysSound
Q: Why uses iPad by default ?
Q: what's the reason for the following statement ?
// Store the URL as a CFURLRef instance
self.soundFileURLRef = (CFURLRef) [tapSoundretain];
A: required by AudioServiceCreateSystemSoundId(...)
Q: sound file's position matters ?
Q: why sound still works after renaming the sound file name ?
2. avTouch
Crash when pressing "play" button as follows:
(gdb) continue
LLVM ERROR: Cannot yet select: 0x7014fd8: v16i8 = bit_convert 0x701ba48 [ORD=246] [ID=170]
0x701ba48: v8i16 = X86ISD::PSHUFLW 0x701b828, 0x701b608 [ID=166]
0x701b828: v8i16 = X86ISD::PSHUFHW 0x7014db8, 0x701b608 [ID=162]
0x7014db8: v8i16 = llvm.x86.sse2.packssdw.128 0x7014d30, 0x7014ca8, 0x7014c20 [ORD=243] [ID=158
see here : http://stackoverflow.com/questions/5339470/llvm-error-cannot-yet-select-error
It may has something to do with SDK version. xcode 3.2.4/SDK4.1 might fix this issue. ( current is xcode 3.2.6/SDK4.3 )
Q:存盘后,不知为何突然无法执行了,没有选simulator/device的选项了?
3. download xcode 4.x
my apple programmer id: xuejunzou@gmail.com
不成功:
本机OS:MAC OS X 10.6.8 ( xcode 4.x requires 10.7+ )
4. task: to change the simulator version for a specific project ?
Q: where is the following folder ?
tip: Simulator程序可以模拟不同版本的模拟器,程序放在不同目录里的。
1. sysSound
Q: Why uses iPad by default ?
Q: what's the reason for the following statement ?
// Store the URL as a CFURLRef instance
self.soundFileURLRef = (CFURLRef) [tapSoundretain];
A: required by AudioServiceCreateSystemSoundId(...)
Q: sound file's position matters ?
Q: why sound still works after renaming the sound file name ?
2. avTouch
Crash when pressing "play" button as follows:
(gdb) continue
LLVM ERROR: Cannot yet select: 0x7014fd8: v16i8 = bit_convert 0x701ba48 [ORD=246] [ID=170]
0x701ba48: v8i16 = X86ISD::PSHUFLW 0x701b828, 0x701b608 [ID=166]
0x701b828: v8i16 = X86ISD::PSHUFHW 0x7014db8, 0x701b608 [ID=162]
0x7014db8: v8i16 = llvm.x86.sse2.packssdw.128 0x7014d30, 0x7014ca8, 0x7014c20 [ORD=243] [ID=158
see here : http://stackoverflow.com/questions/5339470/llvm-error-cannot-yet-select-error
It may has something to do with SDK version. xcode 3.2.4/SDK4.1 might fix this issue. ( current is xcode 3.2.6/SDK4.3 )
Q:存盘后,不知为何突然无法执行了,没有选simulator/device的选项了?
3. download xcode 4.x
my apple programmer id: xuejunzou@gmail.com
不成功:
本机OS:MAC OS X 10.6.8 ( xcode 4.x requires 10.7+ )
4. task: to change the simulator version for a specific project ?
Q: where is the following folder ?
~/Library/Application Support/iOS Simulator |
相关文章推荐
- (iPhone/iPad开发)在iOS设备上实现摇晃手机体验的相关功能
- ios(iphone/ipad)开发每日一练【2011-12-3】
- 斯坦福大学公开课 iOS应用开发教程学习笔记(第七课)UIToolbar、iPad 和iPhone的通用程序
- iOS开发UI篇—iPad和iPhone开发的比较
- IOS开发之Iphone和Ipad应用程序图标和启动动画
- iPhone/iPad开发讲座 第一讲 IOS开发简介 Keynote放出
- iOS 开发 中级:Audio之利用AVAudioPlayer实现SystemSoundService的功能
- (iPhone/iPad开发)细数Xcode 4.6+iOS 6 SDK中存在的bug漏洞之MPMoviePlayerController、AVAudioRecorder
- IOS开发之Iphone和Ipad应用程序图标和启动动画
- iPhone 和 iPad的ios 开发中 利用 WebViewJavascriptBridge组件,通过 UIWebView 对Html进行双向通讯
- iOS开发那些事-构建自适应iPhone和iPad工程 推荐
- IOS开发之Iphone和Ipad应用程序图标和启动动画 .
- iOS开发iPad和iPhone的启动画面设置
- iOS开发 ( iPhone/iPad):利用ffmpeg 实现音频解码、声音播放
- iOS开发 - Xcode如何更换iPhone或iPad模拟器的类型
- iOS开发之获取iPhone/iPad/Android 界面和icon尺寸规范
- iPhone与iPad开发实战——iOS 经典应用剖析--实战视频
- iPhone与iPad开发实战——精通iOS开发(更新完毕)
- (iPhone/iPad开发)how to browse the document directory of iOS Devices
- iPhone iPad iOS 开发环境 之 XCODE 4.1 on Lion