虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

dev-Cpp

  • VC 中音乐最完美的实现 想在程序中播放mp3

    VC 中音乐最完美的实现 想在程序中播放mp3,wma,wav等所有格式的音乐文件吗?网上这样的介绍真是少!!这是一个封装了音乐的各种操作,比如音量调节,进度调节,的类。包 含两个类,CMusic,CSound。分别在文件music.h,music.cpp,sound.h,sound.cpp。

    标签: mp3 VC 美的 程序

    上传时间: 2014-08-12

    上传用户:xiaohuanhuan

  • 其中sound.c 用于录音和回放。其中特别需要注意的是:1。目前声卡似乎不能打开全双工

    其中sound.c 用于录音和回放。其中特别需要注意的是:1。目前声卡似乎不能打开全双工,所以如果fd = open("/dev/dsp", O_RDWR) ,则无法录音和回放。只能分别设置RDONLY和WRONLY。即半双工方式。否则,就是在录音的时候可以听见,但是无法回放。分析下来似乎是IIC总线中只分配了一个通道给声卡,或者是只启用了一个通道,所以无法录音和放音同步进行。解决方法就是分别以RDONLY方式打开进行录音和WRONLY方式打开进行放音。 Sound1.c用于将录音保存在test.wav文件中,并利用cast test.wav > /dev/sound/dsp回放文件。此处需要注意的是,录音频率必须是44100才能正确回放。否则就会出现类似快放的效果。分析应该是cast方式利用了dsp的默认播放频率44100,所以如果录音的时候低于这个频率,这放的时候就会快放。 此外,设置采样率的时候必须设置成16bit,否则会提示出错。原因尚不知道,估计是与声卡有关。

    标签: sound 回放 全双工 声卡

    上传时间: 2013-12-31

    上传用户:cc1

  • UC Library Extensions UnderC comes with a pocket implementation of the standard C++ libraries, wh

    UC Library Extensions UnderC comes with a pocket implementation of the standard C++ libraries, which is a reasonably faithful subset. This documentation describes those UnderC functions and classes which are not part of the C++ standard. UC Library Builtin functions: Most of these are standard C functions, but there are a few unique to the UnderC system which give you runtime access to the compiler. You may evaluate expressions, execute commands, compile code, etc. * Expands the text in expr using the UnderC preprocessor, putting the result into buff. void uc_macro_subst(const char* expr, char* buff, int buffsize) * Executes a UC #-command, like #l or #help. uc_cmd() expects the name of the command, _without_ the hash, e.g. uc_cmd("l fred.cpp") or uc_cmd("help"). void uc_cmd(const char* cmd) * Evaluates any C++ expression or statement will return non-zero if unsuccessful.

    标签: implementation Extensions libraries standard

    上传时间: 2013-12-14

    上传用户:leehom61

  • 1、简介 此代码是IS0 13818-5 MPEG2系统层协议分析代码

    1、简介 此代码是IS0 13818-5 MPEG2系统层协议分析代码,经过我的一点修改,现在终于可以在VC++ 6.0下编译运行, 发布上来献给那些为了理解MPEG2系统层协议而苦苦加班的程序员。为了可以在windows下编译,我修改了部分操作系统相关代码,注解掉了一些main函数,只留下decode.cpp中的main函数没有注解,所以编译后的程序是TS流系统层解码分析程序,如果要实现其他功能如encode,只要把decode.cpp中的main函数注解,把encode.cpp中的main函数注解去掉即可。

    标签: 13818 MPEG2 IS0 代码

    上传时间: 2014-01-21

    上传用户:ywqaxiwang

  • 以构建的方式来实现对通用的查询统计

    以构建的方式来实现对通用的查询统计,并且将查询结果在地图上展现出来(饼图和直方图),本组件需要arcgis engine和Dev Express7.1.1的支持。

    标签: 方式 查询

    上传时间: 2015-12-20

    上传用户:zhengjian

  • 原本.net1.1都是采用justinIO.cs的

    原本.net1.1都是采用justinIO.cs的,它调用的是winAPI,可能存在不同设备的兼容性问题。现在.net2直接在system.io.port下面有serialPort了,这样可以直接用。 鉴于.net2和.netCF2对于threading有不同的用法,所以两个版本都做了,分别是PC+.net2和wm5sp+.netcf2的。 由于smartphone的蓝牙都是默认com6和com7的,所以如果这个程序大家想用作蓝牙串行,在你们的桌面端蓝牙配置的时候要注意把虚拟串口重新定义到com6。具体做法以IVT Bluesoleil为例子,装好蓝牙驱动程序以后,会在设备管理器里面多出几个串行口;而IVT默认的串行口是com10/11,这样就要把设备管理器com10/11的高级属性里面的端口重新强制定义到com6/7,这样就可以了。因为我做蓝牙串行,所以程序代码中都采用了COM6, 9600, 8, N, 1 的通信格式。 本论坛也有cpp的smartphone串行程序,大家可以搜索一下。那个也不错,我调试的时候smartphone采用这个来调试的。

    标签: justinIO net 1.1 cs

    上传时间: 2014-01-19

    上传用户:moshushi0009

  • 这是基于jsoncpp项目写扩展功能

    这是基于jsoncpp项目写扩展功能,jsoncpp只支持简单的系列化,我写了JsonArchive.h类,并提供了测试源代码tt.cpp。扩展了value,自动支持list、vector的系列化,支持2进制数据的系列化。这可是我花费了不少时间才搞定的。 包中不包含jsoncpp,请使用者自己下载。

    标签: jsoncpp 项目 扩展功能

    上传时间: 2014-09-06

    上传用户:aa54

  • 员工培训系统 首先确认您的机器上已经安装了VC6.0以上版本

    员工培训系统 首先确认您的机器上已经安装了VC6.0以上版本,要编译生成可执行文件,需打开后缀名为dsw的文件,系统会默认用VC打开,然后选择Build菜单下的Set Active Configuration选项,选择Project Configuration为Win32 Release,然后编译项目,得到可执行文件。连接数据库请参照第2章的方法,在ODBC数据源内添加Microsoft Access数据库train.mdb,并将数据源名设定为train即可实现数据库和应用程序的正常连接,程序才能正常实现数据库的访问。另外,如果用户自己编写了.chm的帮助文档只要和可执行文件放在同一个目录下就可以了。 用户要修改程序源码可以选择相应的.h和.cpp文件,本实例使用的命名规则基本是:DIALOG_***** 为管理对话框资源, *****Info为数据输入窗口资源, *****Set为结果集对应的类

    标签: 6.0 VC 机器

    上传时间: 2014-01-03

    上传用户:luopoguixiong

  • The PCI Utilities package contains a library for portable access to PCI bus configuration registers

    The PCI Utilities package contains a library for portable access to PCI bus configuration registers and several utilities based on this library. In runs on the following systems: Linux (via /sys/bus/pci, /proc/bus/pci or i386 ports) FreeBSD (via /dev/pci) NetBSD (via libpci) OpenBSD (via /dev/pci) GNU/kFreeBSD (via /dev/pci) Solaris/i386 (direct port access) Aix (via /dev/pci and odmget) GNU Hurd (direct port access) Windows (direct port access)

    标签: configuration PCI Utilities registers

    上传时间: 2016-01-20

    上传用户:徐孺

  • This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS

    This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen.

    标签: code implementing directory algorithm

    上传时间: 2014-01-15

    上传用户:woshini123456