摘要: 声明:转载请注明出处http://www.cnblogs.com/xuanyuanchen/ 最近在做iphone上的流媒体播放,需要用到播放音频流,参考了好多博客、网站,最终算是把这个比较难弄的问题解决了。 这篇文章是播放音频文件的,我会专门用一篇文章来介绍如何用AudioQueue来播放raw 阅读全文
posted @ 2012-03-30 13:39 xiulug 阅读(17719) 评论(23) 推荐(4) 编辑
摘要: python 提取 中文 阅读全文
posted @ 2018-04-05 12:07 xiulug 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 1. Finding files on NIX and sort by size 阅读全文
posted @ 2017-11-07 15:35 xiulug 阅读(121) 评论(0) 推荐(0) 编辑
摘要: Lambda表达式 1、什么是Lambda表达式? 2、为什么要用Lambda表达式? 3、如何用Lambda表达式? 参考: "Understand Lambda Expressions in 3 Minutes" 阅读全文
posted @ 2017-09-20 16:50 xiulug 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Windows Bat 批处理脚本 – Getting Started – Variables – Return Codes – stdin, stdout, stderr – If/Then Conditionals – Loops – Functions – Parsing Input – Lo 阅读全文
posted @ 2017-09-13 12:52 xiulug 阅读(220) 评论(0) 推荐(0) 编辑
摘要: Google Now 'not available in your country' Don't know how to cope with this problem. 阅读全文
posted @ 2017-09-07 15:00 xiulug 阅读(319) 评论(0) 推荐(0) 编辑
摘要: Android ADB 1、What's ADB? is a command line tool that lets you communicate with an emulator or connected Android device. Reference: "ADB shell" 2、ADB 阅读全文
posted @ 2017-09-07 14:27 xiulug 阅读(212) 评论(0) 推荐(0) 编辑
摘要: VirtualBox vbox file not found Problem When I opened virtualbox, Today, it showed "inaccessible" and throws this error: Result Code: E_FAIL (0x8000400 阅读全文
posted @ 2017-09-06 14:40 xiulug 阅读(966) 评论(0) 推荐(0) 编辑
摘要: C/C++ 开放库 1、 "Best C/C++ Network Library" 2、 "A list of open source C++ libraries" 阅读全文
posted @ 2017-09-05 14:31 xiulug 阅读(201) 评论(0) 推荐(0) 编辑
摘要: C++ 'explicit' 关键字 1 作用 2 实例 参考: "What does the explicit keyword mean'?" 阅读全文
posted @ 2017-08-31 17:58 xiulug 阅读(136) 评论(0) 推荐(0) 编辑
摘要: C++ Websites C++ 推荐网站 1、cprogramming.com 2、cppreference.com 3、cplusplus.com 4、 "Boost C++ Library" 阅读全文
posted @ 2017-08-31 13:55 xiulug 阅读(167) 评论(0) 推荐(0) 编辑
摘要: C++ smart pointer 什么是 smart pointer/智能指针? 1、定义 2、实现 3、应用 "std::shared_ptr" 阅读全文
posted @ 2017-08-31 09:48 xiulug 阅读(235) 评论(0) 推荐(0) 编辑
摘要: "Use of 'Const' in Function Return Values" 为什么要在函数的返回值类型中添加Const? 1、Features Of the possible combinations of pointers and ‘const’, the constant pointe 阅读全文
posted @ 2017-08-28 13:02 xiulug 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 函数尾部的const是什么意思? 1 Answer by "Jnick Bernnet" A "const function", denoted with the keyword const after a function declaration, makes it a compiler erro 阅读全文
posted @ 2017-08-28 11:30 xiulug 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 为什么不要使用"using namespace XXX" 1、避免降低性能 2、避免Entity冲突 This is not related to performance at all. But consider this: you are using two libraries called Fo 阅读全文
posted @ 2017-08-25 14:53 xiulug 阅读(429) 评论(0) 推荐(0) 编辑
摘要: android.os.handler A Handler allows you to send and process Message and Runnable objects associated with a thread's MessageQueue. Each Handler instanc 阅读全文
posted @ 2017-08-21 15:52 xiulug 阅读(526) 评论(0) 推荐(0) 编辑