from:sourceforge.net Windows (WIN32) multimedia library for playing mp3, mp2, mp1, ogg, ac3, aac, flac, oga, wav and pcm files and streams. Supported language: C/C++, VC++.NET, VB.NET, C#.NET and Delphi
本文实例讲述了C语言使用libZPlay录制声音并写到文件的方法。分享给大家供大家参考。具体实现方法如下:
/**
* Record samples from line-in and save to out.mp3
*
*/
#define WIN32_LEAN_AND_MEAN
#include
#include
#include
#include
#include
#include
#include
#include