自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Sisopp的专栏

Just memos for myself

  • 博客(11)
  • 收藏
  • 关注

转载 Ubunt搭建Gstreamer开发环境

1. sudo apt-get install libgstreamer0.10-dev 2.

2015-03-31 11:38:49 632

原创 Ubuntu解压rar

1. 安装unrar: sudo apt-get intall unrar 2. 解压文件: unrar e abc.rar unrar的其他用法可查询帮助。

2015-03-31 11:18:03 520

原创 Linux ALSA 音频设备

音频设备文件路径:/dev/snd 命名规则: 1. pcmC0D3p => pcm设备,第一块声卡(C0), 第四个设备(D3), 用于播放(p -> playback). 2. pcmC1D0c => pcm设备,第二快声卡(C1), 第一个设备(D0), 用于捕捉(c -> capture).

2015-03-31 11:07:44 723

原创 固定的音频采样率

1. 蓝牙电话宽带16k,窄带8k。 2. Carplay固定24k。

2015-03-31 10:59:24 1629

原创 Ubuntu下搭建gtest环境

安装及编译gtest: 1. sudo apt-get install libgtest-dev 2. cd /usr/src/gtest 3. sudo mkdir build 4. cd build 5. cmake .. 6. sudo make 创建库文件软链接: 1. sudo ln -s libgtest.a /usr/lib/libgtest.a 2.

2015-03-31 10:43:25 899

原创 UNION and copy constructor

When user define an UNION like below: union ADDRESS {     char* road;     string street; }; The compiler will report an error(visual studio) : member 'ADDRESS::street' of union 'ADDRESS' ha

2013-08-21 14:39:43 903

转载 About opaque data type

User can define an opaque data type in C/C++ header file like below: typedef struct DataHandle DataHandle; or typedef struct DataHandle* PDataHandle; It will still work even there is no def

2013-08-20 17:22:32 950

转载 About placement new operator

We can use placement new operator to allocate an object on appointed memory. For example: char* buf = new char[1000]; Object* pobj = new(buffer)Object(); The object will use the buf space ins

2013-08-20 16:44:47 516

转载 Get all tables' name from sqlite database

A table named sqlite_master. It's storing all tables' properties. You can get all tables' name by executing a SQL sentence. 1. SELECT Name FROM sqlite_master WHERE type='table'

2013-08-20 13:05:16 953

转载 Generate .lib from .dll and .def

1. Start visual studio command line. 2. Change to the directory which includes .dll and .def files. 3. run cmd "lib /def:xxx.def /MACHINE:x86"

2013-08-13 15:36:58 922

原创 How to delete the hidden partition of Win7 OS

Suppose that the C partition is the system partition.   1. Start windows "CMD". 2. Run "bcdboot c:\windows /s c:" => This means copy the boot files into partition C. 3. In diskmgmt.msc set partiti

2013-08-08 08:44:06 594

空空如也

空空如也

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

TA关注的人

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