1. ALSA设备驱动将ALSA设备描述分为四层,从上到下为:default default:0plughw:0,0hw:0,0 不同的层次,对设备的控制权限不同,比如hardware parameters 的period/buffer size 需要在plughw:0,0 和 hw:0,0 这两....
分类:
其他好文 时间:
2014-06-26 00:47:22
阅读次数:
661
- (void)yourButtonTitleTime{ __block int timeout=30; //倒计时时间 dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);.....
分类:
其他好文 时间:
2014-06-26 00:43:27
阅读次数:
305
When using rsync to backup and synchronize configuration files, do remember to close all LibreOffice sessions including the Quick Starter.However, eve...
分类:
其他好文 时间:
2014-06-25 21:51:54
阅读次数:
312
[{ "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} }, { // Emmet: Zencoding "ke...
分类:
其他好文 时间:
2014-06-25 15:31:43
阅读次数:
154
加入 CoreImage.framework CoreGraphic.framework 等库
在使用时引入:#import
,支持iOS 5.0 及以上。
-(void)show
{
UIImage* img = [self
getBlurImage:[UIImage
imageNamed:@"Default...
分类:
移动开发 时间:
2014-06-24 17:23:41
阅读次数:
297
工作当中遇到oracle运行时CPU占用率达到90%以上,调小以下参数值后恢复正常。fs.file-max = 65536 net.core.rmem_default=262144net.core.rmem_max=262144net.core.wmem_default=262144net.core...
分类:
数据库 时间:
2014-06-24 14:50:14
阅读次数:
228
修改MyEclipse编辑框背景色
1、未修改之前,编辑框背景色
2、依次操作,“Window--->Preferences”
3、选择“General--->Editors--->Text Editors”,找到右侧的“Background color”,
取消“System Default”,单击“Color”,选中喜欢的颜色...
分类:
系统相关 时间:
2014-06-22 21:37:45
阅读次数:
302
Toast can show the help/prompts to user. There have five effect of toast as bellow:
1.default effect:
code:
Toast.makeText(getApplicationContext(), "默认Toast样式",
Toast.LENGTH_SHORT).sho...
分类:
移动开发 时间:
2014-06-22 11:35:38
阅读次数:
500
随时修改: 1 [mysqld] 2 #basedir= 3 datadir=/var/lib/mysql 4 #mysql.default_port=3306 5 #mysql.default_socket=/tmp/mysql.sock 6 socket=/var/lib/mysql/mysql...
分类:
数据库 时间:
2014-06-22 10:53:32
阅读次数:
277
public member function
std::vector::vector
C++98
C++11
default (1)
explicit vector (const allocator_type& alloc = allocator_type());
fill (2)
explicit vec...
分类:
其他好文 时间:
2014-06-22 07:02:06
阅读次数:
386