Prep before md work.
This commit is contained in:
parent
4d5ca4d654
commit
875cdc84ff
2 changed files with 47 additions and 49 deletions
|
@ -34,11 +34,11 @@ void MainApplication::RunServer()
|
|||
|
||||
void MainApplication::PlayAudio()
|
||||
{
|
||||
MidiReader reader;
|
||||
reader.Read("/home/james/sample.mid");
|
||||
// auto device = AudioDevice::Create();
|
||||
// mAudioManager->GetAudioInterface()->OpenDevice(device);
|
||||
// mAudioManager->GetAudioInterface()->Play(device);
|
||||
//MidiReader reader;
|
||||
//reader.Read("/home/james/sample.mid");
|
||||
auto device = AudioDevice::Create();
|
||||
mAudioManager->GetAudioInterface()->OpenDevice(device);
|
||||
mAudioManager->GetAudioInterface()->Play(device);
|
||||
}
|
||||
|
||||
void MainApplication::ShutDown()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue