Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Visual J# / January 2004

Tip: Looking for answers? Try searching our database.

how to play an audio stream?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
godzooky - 06 Jan 2004 18:00 GMT
how does one play an audio stream in j#?
Ianier Munoz - 07 Jan 2004 13:04 GMT
Hi,
You can easily play audio streams with the Managed DX 9 SDK. See
http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28000410
You could also use P/Invoke to call the waveOut Windows API. See
http://www.thecodeproject.com/cs/media/cswavplay.asp
Hope this helps,
Ianier Munoz
http://www.chronotron.com

> how does one play an audio stream in j#?
godzooky - 08 Jan 2004 20:41 GMT
does your example on codeproject play other formats besides wav?

> Hi,
> You can easily play audio streams with the Managed DX 9 SDK. See
[quoted text clipped - 4 lines]
> Ianier Munoz
> http://www.chronotron.com
Ianier Munoz - 09 Jan 2004 06:16 GMT
> does your example on codeproject play other formats besides wav?
The article explains how to stream audio data to the sound card. The same
principle could be used to play other formats, but the sample code only play
WAV files.
For information on playing any sound file format in a simple way, check the
Microsoft.DirectX.AudioVideoPlayback namespace in the Managed DX 9 SDK.
Signature

Ianier Munoz
http://www.chronotron.com

> does your example on codeproject play other formats besides wav?
>
> > Hi,
> > You can easily play audio streams with the Managed DX 9 SDK. See

http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28000410
> > You could also use P/Invoke to call the waveOut Windows API. See
> > http://www.thecodeproject.com/cs/media/cswavplay.asp
> > Hope this helps,
> > Ianier Munoz
> > http://www.chronotron.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.