|
-
April 10th, 2003, 07:00 AM
#1
Playing Sounds with C#
I am working on a small app that will be playing a variety of audio files. I found that by importing winmm.dll, I can play a few wav files OK:
[DllImport("winmm.dll")]
public static extern long PlaySound(String lpszName, long hModule, long dwFlags);
However, with my limited amount of audio and/or media experience, I was wondering if there is something better. Maybe something with more functions available instead of just PlaySound()...just an overall better way to do it. I even only found this DllImport from a sample application somewhere else, so I can't even say I have something to compare with yet. ;P
If it matters, my plan is to really just play wav and mp3 files. Any help would be great.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|