Solved

Play mp3's on 2nd Soundcard

Posted on 2003-10-28
3
603 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

695 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