2011年8月29日

Android平台的音乐资源管理与播放

摘要: Android平台基于Linux和开放手机联盟(OHA)系统,经过中国移动的创新研发,设计出拥有新颖独特的用户操作界面,增强了浏览器能力和WAP 兼容性,优化了多媒体领域的OpenCORE、浏览器领域的WebKit等业内众多知名引擎,增加了包括游戏、Widget、Java ME等在内的先进平台中间件。本文主要介绍如何利用OPhone平台提供的多媒体编程环境进行音乐资源的管理与播放。MediaScanner与音乐信息扫描 Android系统在SD卡插入后,MediaScanner服务会在后台自动扫描SD上的文件资源,将SD上的音乐媒体信息加入到MediaStore数据库中。程序可以直接从Med. 阅读全文

posted @ 2011-08-29 10:15 eustoma 阅读(6313) 评论(0) 推荐(0)

2011年8月28日

stagefright

摘要: http://www.cublog.cn/u1/57901/showart_2423206.htmlhttp://blogold.chinaunix.net/u2/61880/showart_2339481.htmlhttp://blog.csdn.net/bonderwu/article/details/6261798http://hi.baidu.com/zhupan19851230/blog/item/9df07ef393d5d5b9a50f52b7.htmlhttp://www.360doc.com/content/11/0613/15/474846_126642406.shtmlht 阅读全文

posted @ 2011-08-28 18:58 eustoma 阅读(252) 评论(0) 推荐(0)

2011年8月27日

Camera blog

摘要: http://blog.csdn.net/wxzking/article/category/655519/2http://blog.csdn.net/wxzking/archive/2011/04/09/6311977.aspx 阅读全文

posted @ 2011-08-27 09:01 eustoma 阅读(206) 评论(0) 推荐(0)

Camera interface

摘要: The CAMIF, also the Camera Interface block is the hardware block that interfaces with different image sensor interfaces and provides a standard output that can be used for subsequent image processing.A typical Camera Interface would support at least a parallel interface although these days many came 阅读全文

posted @ 2011-08-27 08:53 eustoma 阅读(644) 评论(0) 推荐(0)

什么是ISO

摘要: ISO (sensitivity) ISO is the number indicating a digital camera sensors sensitivity to light. The higher the sensitivity, the less light is needed to make an exposure.Digital cameras automatically select the ISO but most have a setting to change it manually. Auto ISO generally works best for bright 阅读全文

posted @ 2011-08-27 08:44 eustoma 阅读(505) 评论(0) 推荐(0)

2011年8月25日

Pcm/Mp3编码

摘要: http://www.360doc.com/content/10/0117/12/390124_13792528.shtmlhttp://www.360doc.com/content/10/0117/12/390124_13792343.shtml 阅读全文

posted @ 2011-08-25 21:54 eustoma 阅读(211) 评论(0) 推荐(0)

Oss程序迁移到Alsa时遇到的问题

摘要: http://mypyg.iteye.com/blog/845954这两天把以前的一个程序从Oss接口改为Alsa接口,按照Alsa的例子将声音输出部分修改后,播放时发出的声音断断续续,并且有很大的杂音。开始以为是Format没有设对,将所有的Format设了一遍仍然不行。将声音转成PCM数据用aplay来播放就没问题,看了aplay的代码发现自己调用snd_pcm_writei有错。原来Oss接口时直接使用write(设备句柄,buffer,data_size),现在改成 snd_pcm_writei时没有修改,snd_pcm_writei要求的参数是(设备句柄,buffer,frame_s 阅读全文

posted @ 2011-08-25 21:52 eustoma 阅读(293) 评论(0) 推荐(0)

ALSA的采样频率不一致问题

摘要: ALSA的采样频率不一致问题 选项twn 查看个人资料 发件人:twn <twn2...@163.com>日期:Thu, 31 Mar 2011 10:16:59 +0800 (CST)当地时间:2011年3月30日(星期三) 下午10时16分主题:ALSA的采样频率不一致问题打印 | 单个帖子 | 显示原始帖 | 举报此帖 | 查找此作者的帖子hi,宋老师我遇到一下问题,请你看一下,给个建议电脑实时把录到的声音传到我的板子上,我的板端程序实时去放音,结果声调变得很厉害,我上网找资料说是电脑的声卡采样频率和板子的采样频率不一致造成的,大家知­道怎么解决吗?Barry So 阅读全文

posted @ 2011-08-25 21:50 eustoma 阅读(1990) 评论(0) 推荐(1)

遇到的StageFright问题 一 音视频因ALSA不同步

摘要: http://blog.csdn.net/SkyGray/article/details/6133514http://blog.chinaunix.net/space.php?uid=20564848&do=blog&id=329040 阅读全文

posted @ 2011-08-25 21:45 eustoma 阅读(204) 评论(0) 推荐(0)

2011年8月22日

Android Mediaplayer解读

摘要: http://blog.csdn.net/menguio/article/details/63239651 Gallery应用端表现 Gallery仅仅提供一个呈现框架,Gallery用来管理所有的视频和图片文件,具有播放、查看、删除等功能。自动搜索本地sdcard存有的picture和video,并分类将同性质文件picture和video集中在一起,播放时呈现。Gallery内部实现的播放主用是同MediaPlayer,主要包含了Audio和video的播放功能。 Gallery中增加从指定目录选择播放文件的功能:方法:首先遍历sdcard下的目录,然后通过选择某个目录,再遍历文件,点击. 阅读全文

posted @ 2011-08-22 21:08 eustoma 阅读(12920) 评论(0) 推荐(0)

导航