Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 25th, 2008, 11:45 AM
Registered User
 
Join Date: Apr 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to arafat.eajaz
Default directsound to play wav file on clint brouser

i want to ask can i code a wav file player on my website using directsound playsound.....i am working on website provides live streaming over internet.

arafatalone
 
Old April 25th, 2008, 04:16 PM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Silverlight.

/- Sam Judson : Wrox Technical Editor -/
 
Old April 26th, 2008, 04:30 AM
Registered User
 
Join Date: Apr 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to arafat.eajaz
Default

thanks for ur reply sir

i want to ask does silverlight support wav format,since i have gone through its documentation it says support for wma,mp3 but it didn't mention wav format.....

i want to explain u my whole prob.
i have followed following steps.....

1>capture sound data using directcapture in wav format its default format

2>encode the data in base64 format and write it in xml file so that it could be send over internet.

3>parse the xml file and decode the data at client end.

4>feed this data in player buffer at client end to be played there.

now the problem is with step 4 as flash player does not support wav format so i need some player on client side which could play wav data there for me...

will be really greatfull to the replyer...

arafatalone
 
Old April 26th, 2008, 05:20 PM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Doesn't sound much like my definition of 'live streaming'.

Have you thought that perhaps WAV might not be your best format, and that all these things not supporting wav is maybe hinting at that.

/- Sam Judson : Wrox Technical Editor -/
 
Old April 27th, 2008, 02:38 AM
Registered User
 
Join Date: Apr 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to arafat.eajaz
Default

i actually did'nt do much feasiblity study in the beggining and now i am stuck... u r right but now i have no time to change the complete logic as it is my final year project and the date of submission is very close.....

ne ways thank a lot for ur support..

one last favour if u could do that.....how u approach live streaming
what will b the step that u might followed...

arafatalone
 
Old April 27th, 2008, 04:25 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

I've never done live streaming, only been an end user - so I've used things like Flash, Silverlight, Windows Media Player or Real Player. The format has usually been something like ASF or WMA (for windows media player), RAM (real format) or similar.

/- Sam Judson : Wrox Technical Editor -/





Similar Threads
Thread Thread Starter Forum Replies Last Post
Play .wav file mvenkatesan C# 2005 3 October 22nd, 2007 07:28 AM
wav file play mvenkatesan C# 2005 1 October 17th, 2007 04:01 AM
trigger button with .wav file and flash on martin1 Visual Basic 2005 Basics 0 June 9th, 2006 04:05 PM
How do I play a .wav file from Resources? furjaw Visual Basic 2005 Basics 0 May 27th, 2006 11:07 PM
How do i play midi or wav files in VB.Net? aldwincusi VB How-To 3 April 11th, 2005 03:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.