Add files via upload

pull/113/head
Javidx9 6 years ago committed by GitHub
parent 7c4889c07a
commit 3c748dde53
  1. 5
      OneLoneCoder_PGE_SoundTest.cpp

@ -53,6 +53,8 @@
#define OLC_PGE_APPLICATION
#include "olcPixelGameEngine.h"
#define OLC_PGEX_SOUND
#include "olcPGEX_Sound.h"
#include <list>
@ -114,7 +116,8 @@ private:
bool OnUserCreate()
{
olc::SOUND::InitialiseAudio();
olc::SOUND::InitialiseAudio(44100, 1, 8, 512);
sndSampleA = olc::SOUND::LoadAudioSample("SampleA.wav");
sndSampleB = olc::SOUND::LoadAudioSample("SampleB.wav");
sndSampleC = olc::SOUND::LoadAudioSample("SampleC.wav");

Loading…
Cancel
Save