fix remaining bugs due to new AudioEngine implementation
This commit is contained in:
parent
4bcd4552c0
commit
c8c4e9bfb2
@ -93,10 +93,13 @@ namespace UniversalEditor.Plugins.Multimedia.UserInterface.Editors.Multimedia.Au
|
||||
if (wave == null) return /*false*/;
|
||||
|
||||
// get the setting "Editors -> Audio -> Waveform -> Audio engine
|
||||
using (AudioEngine ae = new MBS.Audio.PortAudio.PortAudioEngine())
|
||||
{
|
||||
|
||||
// get the setting "Editors -> Audio -> Waveform -> Synchronize with JACK transport
|
||||
AudioPlayer player = new AudioPlayer();
|
||||
player.Play(wave);
|
||||
// get the setting "Editors -> Audio -> Waveform -> Synchronize with JACK transport
|
||||
AudioPlayer player = new AudioPlayer(ae);
|
||||
player.Play(wave);
|
||||
}
|
||||
|
||||
return /*true*/;
|
||||
}
|
||||
|
||||
@ -119,7 +119,7 @@
|
||||
<Project>{29E1C1BB-3EA5-4062-B62F-85EEC703FE07}</Project>
|
||||
<Name>MBS.Framework.UserInterface</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\MBS.Audio\MBS.Audio\MBS.Audio.csproj">
|
||||
<ProjectReference Include="..\..\..\MBS.Audio\Libraries\MBS.Audio\MBS.Audio.csproj">
|
||||
<Project>{E0897B7B-617A-4709-A4C6-FC0F6B441B2A}</Project>
|
||||
<Name>MBS.Audio</Name>
|
||||
</ProjectReference>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user