Page 1 of 1

Sounds in Windows desktop

Posted: 19 Jun 2019, 11:44
by schovan
Audios like
<i:EventTrigger EventName="Click">
<ei:PlaySoundAction Source="AudioClick.mp3" Volume="0.3"/>
</i:EventTrigger>
don't work in Windows desktop C# .net app.
Is it expected?
Or I'm missing something in C# Windows project?

Re: Sounds in Windows desktop

Posted: 19 Jun 2019, 18:39
by sfernandez
Hello,

Our C# ApplicationFramework does not integrate audio yet, but the source code is available and you can include it in your project and modify it as you want.
You can add support for playing sounds using your preferred solution in Win32Display, just need to implement the PlaySound method.

Re: Sounds in Windows desktop

Posted: 20 Jun 2019, 11:19
by jsantos
Any suggestion about a Nuget library we could use for this? We are using miniaudio in C++.