
音频相关
GreenArrowMan
这个作者很懒,什么都没留下…
展开
-
directxsdk 下载地址
https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=6812原创 2017-11-20 16:02:49 · 957 阅读 · 0 评论 -
使用sdl播放音频流
获取SDL库:http://download.youkuaiyun.com/detail/u011417605/9249383#include "SDL.h"static Uint8 *audio_chunk;static Uint32 audio_len;static Uint8 *audio_pos;void fill_audio(void *udata, Uint8原创 2015-11-07 09:24:35 · 1853 阅读 · 0 评论 -
使用openal播放WAV音频
不使用alut,只使用openal播放WAV文件:#include #include struct WAVE_Data { char subChunkID[4]; //should contain the word data long subChunk2Size; //Stores the size of the data block};struct WAVE_Form原创 2015-11-05 18:48:33 · 2769 阅读 · 2 评论 -
OpenAL Tutorial - Playing WAV files (No ALUT required!)
http://enigma-dev.org/forums/index.php?topic=730.0;wap2luiscubal: OpenAL is a 3D audio library that is available across multiple platforms.Although it supports 3D sound, it can also be use转载 2015-11-05 14:42:50 · 1932 阅读 · 1 评论 -
Tutorial: Loading Wave files in OpenAL without ALUT
http://www.dunsanyinteractive.com/blogs/oliver/?p=72This week I have been busy reworking certain parts of the audio code in our Adventure game engine. Recently I discovered that ALUT has now becom转载 2015-11-05 14:40:18 · 1472 阅读 · 1 评论 -
IMMDeviceEnumerator 如何获取音频设备的名称
#include #include #include #include //PKEY_Device_FriendlyName//以下代码来自MSDN#define EXIT_ON_ERROR(hres) \ if (FAILED(hres)) { goto Exit; }#define SAFE_RELEASE(punk) \原创 2015-09-21 18:51:20 · 9586 阅读 · 1 评论