Hello, I want to ask if there is any way to play an mp3 file in C# without the use of P/Invoke or winmp dll and the like. I can use external libraries too. It would also be nice if I could "include" the mp3 in the C# project, as I will only be playing one sound, and the user is unable to choose.
requimrar
2
Newbie Poster
Recommended Answers
Jump to PostI can't read tamil. Besides, I cannot use external libraries, external including system.media
Ok, why can't you use the built in support for what you're trying to accomplish?
Jump to PostSo let me get this straight...
You want to play an MP3 file, but you can't use the built-in library, or any external library?
So you want to play an MP3 file without using any functionality?
This cannot be achieved. Either use the System.Media.SoundPlayer, or use a …
Jump to PostOk. Thanks. Now to tell my mates not to choose this project :)
I would talk to your professor again, and clarify he actually meant you couldn't use .NET with your C# project.
I have a hard time believing that's what he meant.
C# is useless without .NET. …
All 12 Replies
hirenpatel53
-1
Posting Whiz in Training
ScatteredHell
commented:
Nice example, was searching for this. Thanks
+0
requimrar
2
Newbie Poster
asad_dani
0
Newbie Poster
requimrar
2
Newbie Poster
Zinderin
11
Junior Poster in Training
requimrar
2
Newbie Poster
Ketsuekiame
860
Master Poster
Featured Poster
requimrar
2
Newbie Poster
Zinderin
11
Junior Poster in Training
Zinderin
11
Junior Poster in Training
requimrar
2
Newbie Poster
asad_dani
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.