Play Sound in .NET MAUI with Plugin.Maui.Audio
Описание
If you need to play a small sound effect or just a song this plugin is for you! With Plugin.Maui.Audio it's very easy to just add one or multiple sounds to your application. Ideal for your audio feedback whenever the user taps on something or maybe you're building a game PEW PEW!
? Join this channel to get access to perks:
https://www.youtube.com/channel/GeraldVersluis/join
Disclaimer: this channel is done on personal title, in my free time, and not officially affiliated with or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
? Don't forget to subscribe to my channel for more cool content: https://www.youtube.com/GeraldVersluis/?sub_confirmation=1
? Follow me on Twitter: https://twitter.com/jfversluis
? Join the Discord server: https://discord.gg/2cAyTGNHBD
? Links
Sample Code Repo: https://github.com/jfversluis/MauiPluginAudioSample
Plugin.Maui.Audio Repo: https://github.com/jfversluis/Plugin.Maui.Audio
.NET MAUI Docs: https://docs.microsoft.com/dotnet/communitytoolkit/maui
⏱ Timestamps
00:00 - Play Sound in .NET MAUI
00:13 - What is Plugin.Maui.Audio?
01:10 - Add NuGet Package
01:54 - Use with Dependency Injection
03:26 - Implement Playing a Sound
06:04 - Explore AudioPlayer APIs
07:44 - Prevent Memory Leaks!
08:35 - Play a Sound The Easy Way
09:12 - Bring Your Ideas!
? Video edited with Filmora
?♂️ Also find my...
Blog: https://blog.verslu.is
Twitch: https://twitch.tv/jfversluis
All the rest: https://jfversluis.dev
#dotnetmaui #sound #audio #dotnet6 #maui
Рекомендуемые видео



















