TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Antti
NA
202
0
Loading music and sounds from embedded resource?
Aug 24 2005 1:39 PM
I'm making a small dx-game, and i want to embed all the resources inside the exe-file. Images i can load from resources, but how about sounds and music? Now i load music with this code (using DirectX.AudioVideoPlayback nameSpace): audio = new Audio(fileName, false); and sounds: BufferDescription desc = new BufferDescription(); desc.StaticBuffer = true; secondaryBuffer = new SecondaryBuffer(fileName, desc, soundDevice); Musics are in mid or mp3 format, and sounds are in wav format.
Reply
Answers (
0
)
Form background image flicker C# .Net
GRAPHICS IN C# and ASP.net