schovan
Topic Author
Posts: 2
Joined: 01 Jun 2019, 16:37

Sounds in Windows desktop

19 Jun 2019, 11:44

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?

Tags:
 
User avatar
sfernandez
Site Admin
Posts: 2323
Joined: 22 Dec 2011, 19:20

Re: Sounds in Windows desktop

19 Jun 2019, 18:39

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.
 
User avatar
jsantos
Site Admin
Posts: 3201
Joined: 20 Jan 2012, 17:18
Contact:

Re: Sounds in Windows desktop

20 Jun 2019, 11:19

Any suggestion about a Nuget library we could use for this? We are using miniaudio in C++.

Who is online

Users browsing this forum: Google [Bot] and 4 guests