Re: Reading capture data from network stream
From: Chris P. [MVP] (msdn_at_chrisnet.net)
Date: 02/21/05
- Next message: Mike Belina: "change buffer size"
- Previous message: mphcomputers_at_hotmail.com: "Reading capture data from network stream"
- In reply to: mphcomputers_at_hotmail.com: "Reading capture data from network stream"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Feb 2005 18:00:57 -0500
On Mon, 21 Feb 2005 22:32:03 -0000, mphcomputers@hotmail.com wrote:
> Hi..
>
> I am not a newbie to .NEt or c# but wuld not say im a wealth of knowledge
>
> I am trying to send captured data over a network and then play it on other
> Pc.. like VOIP
>
> I have the correct data captured as it plays after capture.
>
> I have debugged the data after network transmission and
> the same values are conatined in both pre and post bytes arrays
>
> I have tried to set the buffer to read from the network stream directly but
> still no joy.
>
> Can anybody help me with this as its doing my skull in and im ready for
> booting my Pc through the window
>
> Again my basic problem is The data transmitted over the network plays as
> noise in my sound buffer, how do i read it in so it plays correctly?
There's no magic, data is data.
To help debug your code I would write the network stream to disk along with
an appropriate wav header and see what it sounds like played back.
It the sound output is random noise then it would seem the data isn't
getting copied into the sound buffer. Sometimes for debugging sake it's
worth replacing the copy with a data set that initializes the buffer to a
series of bytes that represent a tone. A crude square wave will do such as
{5000, 5000, 5000, 5000, 5000, -5000, -5000, -5000, -5000, -5000}
I don't know anything about .NET that would be special here. What
interface are you using for sound output?
- Next message: Mike Belina: "change buffer size"
- Previous message: mphcomputers_at_hotmail.com: "Reading capture data from network stream"
- In reply to: mphcomputers_at_hotmail.com: "Reading capture data from network stream"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
- Reading capture data from network stream
... I am trying to send captured data over a network and then play it on other ...
I have the correct data captured as it plays after capture. ... noise in my sound
buffer, how do i read it in so it plays correctly? ... (microsoft.public.win32.programmer.directx.audio) - RE: unidentified DOS "bad traffic"
... (although we haven't been able to capture as much detail). ... it takes down
the source network instead. ... My Snort ... > Take back your personal
time. ... (Incidents) - Re: Intrusion possible?
... >associates before you can actively attack that network. ... I leave my laptop
running in my vehicle sniffing away merrily. ... mess after doing the capture took
most of the next day. ... Jeff Liebermann jeffl@xxxxxxxxxxxxxxxxxxxxxx ... (alt.internet.wireless) - Re: ANN: Kamaelia 0.2.0 released!
... >>> to build complex network applications is an ambitious one, ...
If you want a server to split and serve audio, ... Dealing with capture would be
largely re-inventing wheels before we know ... Multicast island joining is a special case
and is exactly what it says - ... (comp.lang.python) - Re: "Invalid Connection Data" Message XBOX 360 acting as an MCE
... Windows XP Windows Media Center 2005 - Update Rollup 2 ... I've tried direct
connection of Xbox 360 to PC and also via my network ... The capture using netcap
has been sent. ... (microsoft.public.windows.mediacenter)