Click here to Skip to main content
15,886,518 members
Articles / Programming Languages / C++

Playing mp3 and aac using DirectSound or DirectShow

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
3 Oct 2012CPOL 0  
You are wrong abt DirectShow. That is possible to make using DirectShow without problems: you should write filter which will do providing data, you downloading, to upstream filters.DirectShow uses the DirectSound for playback, but standalone DirectSound does not performs the decoding (mp3...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
1 Oct 2012Igor-84 2 alternatives  
Hello! I have a question - how to play mp3 and aac files (that downloaded in the same time) using DirectSound or DirectShow?My experiments with DirectShow showed that the DirectShow does not play files that are currently filling with data.And DirectSound supports streamed playing, but in the...
Please Sign up or sign in to vote.
2 Oct 2012NexusNemesis
Hi,You will be needing the DirectX SDK and you can go to this site http://doc.51windows.net/Directx9_SDK/?url=/directx9_sdk/htm/directmusicctutorials.htm[^] for the detailed tutorial on how to play audio files using directx.Hope this helps, Thanks!Nexus,codedoppler.blogspot.com

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Russian Federation Russian Federation
I'm a professional multimedia developer (more than 10 years) in any kind of applications and technologies related to it, such as DirectShow, Direct3D, WinMM, OpenGL, MediaFoundation, WASAPI, Windows Media and other including drivers development of Kernel Streaming, Audio/Video capture drivers and audio effects. Have experience in following languages: C, C++, C#, delphi, C++ builder, VB and VB.NET. Strong knowledge in math and networking.

Comments and Discussions