palyin mp3 or wma

This is a discussion on palyin mp3 or wma within the C# Programming forums, part of the General Programming Boards category; hi i want play music files to my app ..I searched the SDK for .net and found no class that ...

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

    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

    Thanks
    DaIn
    "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)..

    http://www.cbeginnersunited.com

    Are you ready for the Trix ???

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

    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
    Posts
    184
    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.

    Kendal

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. which Portable mp3 player?
    By Raihana in forum A Brief History of Cprogramming.com
    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 Cprogramming.com
    Replies: 5
    Last Post: 12-06-2003, 09:22 PM
  3. WMA vs. MP3
    By major_small in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 10-22-2003, 01:07 AM
  4. Mp3
    By gvector1 in forum C# Programming
    Replies: 15
    Last Post: 07-08-2003, 06:48 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21