readme

来自「SDL_mixer 是一个基于 SDL 的混音器」· 代码 · 共 33 行

TXT
33
字号
SDL_mixer 1.2The latest version of this library is available from:http://www.libsdl.org/projects/SDL_mixer/Due to popular demand, here is a simple multi-channel audio mixer.It supports 8 channels of 16 bit stereo audio, plus a single channelof music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3libraries.See the header file SDL_mixer.h and the examples playwave.c and playmus.cfor documentation on this mixer library.The mixer can currently load Microsoft WAVE files and Creative Labs VOCfiles as audio samples, and can load MIDI files via Timidity and thefollowing music formats via MikMod:  .MOD .S3M .IT .XM. It can loadOgg Vorbis streams as music if built with the Ogg Vorbis libraries,and finally it can load MP3 music using the SMPEG library.The process of mixing MIDI files to wave output is very CPU intensive,so if playing regular WAVE files sound great, but playing MIDI filessound choppy, try using 8-bit audio, mono audio, or lower frequencies.To play MIDI files, you'll need to get a complete set of GUS patchesfrom:http://www.libsdl.org/projects/mixer/timidity/timidity.tar.gzand unpack them in /usr/local/lib under UNIX, and C:\ under Win32.This library is available under the GNU Library General Public License,see the file "COPYING" for details.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?