Solved

Play mp3's on 2nd Soundcard

Posted on 2003-10-28
3
596 Views
Last Modified: 2010-04-07
Playing mp3 files is no problem when using the classes in the Microsoft.DirectX.AudioVideoPlayback namespace. But with that you have to use the default device. But how to play mp3's (or wma's) on another device? I tried using the Microsoft.DirectX.DirectSound namespace ( classes like Microsoft.DirectX.DirectSound.Device or Microsoft.DirectX.DirectSound.SecondaryBuffer) and it was quite easy to access the other device(s) and play _wav_ files. But I did'nt get it work to load mp3's into a buffer so that it could be played. I gues it has to be decoded to load it into the buffer, but I could not find any sample code... or is there an easier way?
0
Comment
Question by:mr_bart_simpson
  • 2
3 Comments
 
LVL 4

Expert Comment

by:void_main
ID: 9829998
Hello!
Try this link:

http://www.mp3-tech.org/programmer/decoding.html

I think there is something you need!
0
 
LVL 4

Accepted Solution

by:
void_main earned 125 total points
ID: 10121715
@AnnieMod
Because I am the first (and last) poster I should earn at least 1/2 of the points -> The link points to good solutions/helppages


void_main
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Artificial Intelligence comes in many forms, and for game developers, Path-Finding is an important ability for making an NPC (Non-Playable Character) maneuver through terrain.  A* is a particularly easy way to approach it.  I’ll start with the algor…
Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now