gnux8
Posts: 11
Joined: Fri Aug 14, 2015 9:10 am

MediaElement: started with disturb at begging

Wed Dec 21, 2016 9:26 am

Dear All,
Scenario:
I've done this routines that when i press a button is changing file correctly.

Code: Select all

public async void PlayFile(String FileMp3)
        {
            file = await StorageFile.GetFileFromApplicationUriAsync(new Uri(FileMp3));
            // working 
            player.AutoPlay = true;
            player.SetFileSource(file);
            player.Play();
        }
The problem is that, at the begging of the file i hears a noise in background.

What I did:
- Checked the file and it's ok: played from the computer it's perfect
- Tried the same code deployed for the computer instead of raspberry and it's perfect
- Tried to decrease the raspberry volume but for sure i need to increase into the amp and the result it's the same, still to hear the noise.
- Tried to play the file without press button, but the result it's the same, still to hear the noise.

I'm using the Audio Mini-Jack Output,

Is there someone with the same issues ?

Is there someone that kindly can help me ?

Best Regards,
Andrea

Return to “Windows 10 for IoT”