Initial ui test.
This commit is contained in:
parent
7fcc8e43ae
commit
36515556b8
15 changed files with 178 additions and 28 deletions
|
@ -3,11 +3,16 @@
|
|||
|
||||
#include "AudioSample.h"
|
||||
#include "AudioSynth.h"
|
||||
#include "AudioDevice.h"
|
||||
#include "WasapiInterface.h"
|
||||
|
||||
TEST_CASE(TestWasapiInterface, "audio")
|
||||
{
|
||||
WasapiInterface audio_interface;
|
||||
auto device = AudioDevice::Create();
|
||||
audio_interface.Play(device);
|
||||
|
||||
AudioSynth synth;
|
||||
const auto sample = synth.getSineWave(240, 5);
|
||||
|
||||
audio_interface.play(device.get(), sample.get(), 1000);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue