Cannot play wav file with Media.SoundPlayer RRS feed

  • Question

  • I try to play a WAV file using :

    Dim player As New Media.SoundPlayer()
    player.SoundLocation="a valid file path"

    It worked fine until the WAV files I get to work with have changed to 48KHz (maybe other attributes too)

    Now it doesnt play the aound file. No exception is thrown , but no sound is heard.



    The  previous WAV files can still be played , only the new ones cannot.

    What tools can I use to work with this alien format?

    Can I convert the stream to the other format during runtime ?

    Can I use the SoundPlayer object to achive this?


    • Moved by Min Zhu Wednesday, June 15, 2011 9:09 AM off-topic (From:.NET Base Class Library)
    Monday, June 13, 2011 11:54 AM

All replies

  • check this thread


    Esref DURNA
    Monday, June 13, 2011 1:52 PM
  • Hi Gilp1506,

    I have moved your thread to off-topic forum because it is not related to .NET Base Class Library.

    Please use the Windows: Audio and Video forums where you can get better support for your question.

    Thank you for your understanding and support.

    Best regards,

    Min Zhu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, June 15, 2011 9:09 AM