經過DirectSound實時播放PCM+混音

#include "StdAfx.h" #include "AudioPlayer.h" #define AUDIO_SECOND_COUNT 1 //10秒緩衝區 CAudioPlayer::CAudioPlayer(void) { for (int i = 0; i < AUDIO_MIX_COUNT; ++i) { m_pDS[i] = NULL; m_pDsb[i]
相關文章
相關標籤/搜索