Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom audio doesn't work in Toast Notification for Desktop Application #1593

Closed
sergey-koryshev opened this issue Apr 11, 2019 · 5 comments
Closed
Assignees

Comments

@sergey-koryshev
Copy link

Hi,

I use custom audio in Toast Notification in Desktop Application. But I found some problems with play this audio. I have two versions of Windows:

  • 1607
  • 1809

In version 1607 custom audio plays perfectly. But in version 1809 custom audio file doesn't play, there is just standard sound instead my audio.

I added audio by follow code:

Audio = new ToastAudio()
{
    Src = new Uri("file:///...")
}

Am I missing something? Could someone please help me with the issue?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@sergey-koryshev sergey-koryshev changed the title Custom audio doesn't work in Desktop Application Custom audio doesn't work in Toast Notification fro Desktop Application Apr 11, 2019
@sergey-koryshev sergey-koryshev changed the title Custom audio doesn't work in Toast Notification fro Desktop Application Custom audio doesn't work in Toast Notification for Desktop Application Apr 11, 2019
@andrewleader
Copy link
Contributor

Thanks for reporting this! Looking into the issue with the dev team.

@andrewleader
Copy link
Contributor

@Ace-Lightning your app is a classic Win32 app, correct? It is NOT using the Desktop Bridge?

@sergey-koryshev
Copy link
Author

@andrewleader, yes, it’s classic .NET application, not Desktop Bridge

@andrewleader
Copy link
Contributor

Thanks @Ace-Lightning. I've confirmed with the dev team that this is a known issue. We don't have any current plans to address it, as the fix is relatively big compared to the number of people who have asked for this functionality.

If you use the Desktop Bridge to package your application, you'll be able to use resources via the ms-appx:/// file path and audio will work! Otherwise, if Desktop Bridge isn't an option for you, we'll continue to evaluate feedback around this area and see what happens! Thanks!

Andrew

@sergey-koryshev
Copy link
Author

I'm not familiar with Desktop Bridge. I will investigate this way.
But I look forward the issue will be handled for Win32 applications near future.

Thanks for looking at it!

QuinnRadich pushed a commit that referenced this issue Oct 4, 2021
…s-2.6

Updating docs based on new CommandBar features in WinUI 2.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants