1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

Playback audio files in .Net 3.5

Discussion in 'Microsoft News' started by NewsBot, Apr 2, 2008.

  1. NewsBot

    NewsBot I Got News

    Joined:
    Feb 8, 2006
    Messages:
    1,813
    Operating System:
    Windows Vista Home Premium
    What's the best way these days to playback an audio file (mp3/wma)*in .Net 3.5?** I need start, stop, pause and progresss information and end events.

    I had a google and found the managed DirectX stuff but that does not seem to work anymore

    AudioVideoPlayback.Audio mp3 = new AudioVideoPlayback.Audio(mySong.mp3);
    mp3.Play();

    Throws LoaderLock exceptions and is no longer developed.

    So what's the new option, WPF/XNA?* Anyone got any links?



     

Share This Page