2016年9月21日

摘要: 这个类提供了对于音频文件的描述An audio stream is a continuous series of data that represents a sound, such as a song.A channel is a discrete track of monophonic audio. A monophonic stream has one channel; a stereo s... 阅读全文
posted @ 2016-09-21 23:44 花老🐯 阅读(2208) 评论(0) 推荐(0) 编辑
摘要: 像素对齐的概念在iOS中,有一个概念叫做像素对齐,如果像素不对齐,那么在GPU渲染时,需要进行插值计算,这个插值计算的过程会有性能损耗。在模拟器上,有一个选项可以把像素不对齐的部分显示出来。逻辑像素与物理像素在iOS设备上,有point(逻辑像素)的概念,以及pixel(物理像素)的概念。在编程序时,用的是point,实际渲染时用的是pixel。一个point可以对应多个pixel。point和... 阅读全文
posted @ 2016-09-21 00:07 花老🐯 阅读(1050) 评论(0) 推荐(0) 编辑

导航