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
Solved

Play mp3's on 2nd Soundcard

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Python TKinter installation needs version advice 1 332
Can I obtain a single frame from a Java animated Image Object? 3 153
count7 challenge 12 125
Beginner to Unreal Engine 4 5 94
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

856 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