Solved

Play mp3's on 2nd Soundcard

Posted on 2003-10-28
3
598 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
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.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

863 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

23 Experts available now in Live!

Get 1:1 Help Now