isaac
isaac
CC#
Created by isaac on 10/11/2024 in #help
I want a page to play music in my WPF app, I have it working at the minute, but there is a problem.
I have a function that when a specific page opens, it starts playing music. It works fine, but when you click off the page or go on it multiple times, the music starts slowing down and bugging out, and it starts using absurd amounts of RAM. Voice calls in Discord also sound ass when it starts bugging everything out, but I'm guessing that's due to the RAM problem. I just need help trying to figure out how to stop and sort of dispose of the music, so it's not even being used in the code anymore, untils it's page is opened again.
6 replies