Thread: palyin mp3 or wma

  1. #1
    Registered User datainjector's Avatar
    Join Date
    Mar 2002

    palyin mp3 or wma

    hi i want play music files to my app ..I searched the SDK for .net and found no class that does that ....If there is a class then let me know or should i just use the winAPI functions??

    Note: I am not making a player or anything like that just wanna add sound to my splash screen

    "I wish i could wish my wishs away"

    "By indirections find directions out" -- William Shakespears

    "Do what thou wilt shall be the whole of the law" -- Crowley "THE BEAST 666"

    Mizra -> love = Death...
    RDB(Rocks yooo)..

    Are you ready for the Trix ???

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Hannover, Germany
    You can import the WinAPI functions. Look for DllImportAttribute and Interop as keywords. Or you can use DirectSound if you have it available.

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  3. #3
    Registered User
    Join Date
    Feb 2003
    I don't know if you would want to take this path, but for me to play audio files I am using Windows Media Player SDK. I just embed the Player in my app. It works out pretty well for me. Using the Media Encoder and Media Player SDKs I am able to record and playback audio files. Hope that helps.


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. which Portable mp3 player?
    By Raihana in forum A Brief History of
    Replies: 27
    Last Post: 01-09-2004, 07:58 AM
  2. mp3 players vs mp3 cd players
    By Geo-Fry in forum A Brief History of
    Replies: 5
    Last Post: 12-06-2003, 09:22 PM
  3. WMA vs. MP3
    By major_small in forum A Brief History of
    Replies: 11
    Last Post: 10-22-2003, 12:07 AM
  4. Mp3
    By gvector1 in forum C# Programming
    Replies: 15
    Last Post: 07-08-2003, 05:48 PM