自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

原创 iPhone/iPad开发札记 2012/03/31

1. 解决真机声音采集相关问题* 目前状态:在真机中无法同时使用播放与采集,只能使用播放功能。调试发现,在真机中,采集的call back没有被执行!Q:是否和Audio Session的Recording&Playback设置有关?    A:YES。在Audio Unit的setup程序中,设置了Audio Category = Playback,改设为Record

2012-03-31 09:12:09 497

原创 iPad/iPhone开发札记 2012/03/30

1. Audio Unit问题* 状态回顾完全无声:通过设置输入、输出音量 ,已经有声感觉:音调降低了,并且声音不饱满怀疑:取音频数据320B,未能填满buffer,造成声音断续及拉长。            AudioUnit OUTPUT sample rate不正确Q: 两个bus可以共用一个ASDB吗?* 最新状态在对output sampl

2012-03-30 16:38:12 334

原创 iPhone/iPad开发札记 2012/03/29

1. 声音问题处理* 搞定混音从12:00 - 13:30,一直没有声音。其间,对bits-per-packet进行了调整,变成8*4=32,仍然没有声音。Q:是否音量开关为0了?Q:inBusNumber = 0 or 1 ???另,录音的声音有明显断续,估计和采集时使用的bit/sample与发送端要求的的不符有关,或者sendVideoData

2012-03-29 13:43:36 371

原创 iPhone/iPad开发札记 2012/03/15 总结与思考音频问题

1. brain storm * 昨晚做的server与client之间rudp实验    #Windows平台是否有同样的现象?    #这个现象本身是否就说明network真的有问题?真地会影响声音?*关于昨天做的speex相关实验    #现象:在数据包进入speex之间抓包存盘,在Windows平台上播放基本是噪音;观察波形明显有丢失;通过speex播放,出现前几天遇见

2012-03-15 07:13:09 490

原创 iPhone/iPad开发札记2012/03/14 Audio Unit into conference project

1. Audio Unit into conference project. * compile error Expected ')' before '&' token in file ConferenceInterface.h    /**     *加会方法     * param:加会的配置参数,和ini中的值一致     */    int

2012-03-14 12:51:35 519

原创 iPhone/iPad开发札记 2012/03/13

1. 尝试G711* playback有时能通,通的时候声音质量很好,后台也没有错误出现。有时是杂音。另外,读audio data的时间似乎在变,大部分时候是10ms左右,有时只有1ms甚至0ms. *recording完全无声,但PC端能见到数据传过来,而且是连续的,完全不中断。(奇怪)Error: Error from Debugge

2012-03-13 17:34:36 371

原创 iPhone/iPad开发札记2012/03/12 Audio Unit

1. MixerHost * AudioBufferList Declaration: struct AudioBufferList {   UInt32      mNumberBuffers;   AudioBuffer mBuffers[1];};Q:WHY AudioBuffer[1]? WHY NOT AudioBuffer *? seems the same

2012-03-12 07:43:44 1064

原创 iPhone/iPad开发札记2012/03/11 -2 Audio Unit

1. Reading "Audio Unit Hosting Guide for iOS" / "Audio Unit Processing Graph Service References" / - for managing the graph ( a collection of units )"Audio Component Services Reference" / - for

2012-03-11 12:09:55 2066

原创 iPhone/iPad札记2012/03/11 - 1 音频,混音

1. conference音频问题总结* 音频双向都通过,但不稳定,时好时坏(录音只成功过一次,播放曾有过连续工作20-30分钟一切正常的记录,但重启系统后就出现问题)    Q Action: to see how often the callback would be called ?        A: playing: 10 ms, recording 3ms *

2012-03-11 10:06:52 1308

原创 iPhone/iPad开发札记 2012/03/10 音频:录音与混音

1. reading my code for recording * MyInputBufferHandler Q: 这里有Enqueue Buffer动作,这样,这个buffer有机会重新fill   A: YES!. callback中总会有enqueue动作的,无论recording还是playback. Q: 参数含义voidAQRecorder

2012-03-10 10:42:17 1677

原创 iPhone/iPad开发札记 2012/03/09 音频

1. 后续工作* 解决按hear钮按下后,event处理时间太长* 解决有时听不见声音的问题* 整理代码* 声音采集2. 听不见声音error in console: notification: Invalid mode encountered. The stream is corrupted.notification: More t

2012-03-09 10:08:02 2445

原创 iPhone/iPad开发札记 2012/03/08 音频

1. MixerHost * setupAudioSession 这个方法可以 commented out !Q: Why 不影响使用playing过程 ?比如sample rate/catetory之类?* understanding ASBD /*!    @struct         AudioStreamBasicDescription

2012-03-08 10:26:02 1242

原创 iPhone/iPad开发札记 2012/03/07 混音

1. MixerHost: sample code * slider.tag - (IBAction) mixerInputGainChanged: (UISlider *) sender {    UInt32 inputBus = sender.tag;    [audioObjectsetMixerInput: (UInt32) inputBusgain: (

2012-03-07 09:23:18 384

原创 iPhone/iPad开发札记2012/03/06

## iOS混音问题##1. reading document: Audio Unit Hosting Guide for iOS https://developer.apple.com/library/ios/documentation/MusicAudio/Conceptual/AudioUnitHostingGuide_iOS/AudioUnitHostingGuideFor

2012-03-06 10:56:35 474

原创 iPhone/iPad开发札记2012/03/05

1. conference编译错误,如下:*min/max macro related. /Developer325/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/c++/4.2.1/bits/locale_facets.tcc:610:34: error

2012-03-05 08:46:24 854

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除