Click here to Skip to main content
15,888,579 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Playing smoothly small pieces with DirectSound Pin
Andrey U2-Jun-09 4:18
Andrey U2-Jun-09 4:18 
GeneralRe: Playing smoothly small pieces with DirectSound Pin
molesworth2-Jun-09 6:58
molesworth2-Jun-09 6:58 
AnswerRe: Playing smoothly small pieces with DirectSound Pin
Mark Salsbery2-Jun-09 8:26
Mark Salsbery2-Jun-09 8:26 
GeneralRe: Playing smoothly small pieces with DirectSound Pin
Andrey U2-Jun-09 22:37
Andrey U2-Jun-09 22:37 
GeneralRe: Playing smoothly small pieces with DirectSound Pin
molesworth3-Jun-09 0:58
molesworth3-Jun-09 0:58 
GeneralRe: Playing smoothly small pieces with DirectSound Pin
supercat93-Jun-09 7:07
supercat93-Jun-09 7:07 
GeneralRe: Playing smoothly small pieces with DirectSound Pin
molesworth3-Jun-09 8:47
molesworth3-Jun-09 8:47 
GeneralRe: Playing smoothly small pieces with DirectSound Pin
Mark Salsbery3-Jun-09 9:53
Mark Salsbery3-Jun-09 9:53 
supercat9 wrote:
would expect two system clocks should be easily within 0.1% of each other.


I can only smile Smile | :) I don't know what the percentage margin is, but on pretty
much any two systems I conversed between with voip, playing every audio data
byte sent, the latency would increase or decrease to an unacceptable level within
a minute or two, sometimes less. I'll let you do the math. Maybe it is within 0.1%,
but it's still unacceptable for real time communication.

Point is, they're not even close Smile | :)


Don't take my word for it - try it...you'll see. You don't even need to playback data...
every time a packet arrives, record the playback buffer cursor position in an array
(using an adjusted value that converts the current circular buffer cursor position into
a linear position is easier to read in the results - i.e. whenever the cursor wraps, add the
buffer length to a running total).
Run it for a minute or two (network fluctuations will average out so they're a non-issue at
low bandwidth), then break and look at the array in a watch window...

I did tests like this for months trying to figure out decent statistics to use for a good jitter
buffer implementation...I should have hired a PhD for that.


Moral: Real-time voip streaming is quite different than streaming static media...

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Playing smoothly small pieces with DirectSound Pin
Mark Salsbery3-Jun-09 9:35
Mark Salsbery3-Jun-09 9:35 
GeneralRe: Playing smoothly small pieces with DirectSound Pin
molesworth3-Jun-09 22:33
molesworth3-Jun-09 22:33 
QuestionRe: Playing smoothly small pieces with DirectSound Pin
BenjoD10-Aug-09 18:31
BenjoD10-Aug-09 18:31 
Questionproblem solving in MDAC ver2.6 Pin
RAJAGOPALMS761-Jun-09 21:54
RAJAGOPALMS761-Jun-09 21:54 
AnswerRe: problem solving in MDAC ver2.6 Pin
Jimmanuel2-Jun-09 1:17
Jimmanuel2-Jun-09 1:17 
GeneralRe: problem solving in MDAC ver2.6 Pin
RAJAGOPALMS762-Jun-09 18:54
RAJAGOPALMS762-Jun-09 18:54 
QuestionHow to Use Network Sniffer Pin
amit512811-Jun-09 20:57
amit512811-Jun-09 20:57 
AnswerRe: How to Use Network Sniffer Pin
Simon P Stevens1-Jun-09 23:43
Simon P Stevens1-Jun-09 23:43 
Questionclient server communication Pin
yrishi1-Jun-09 19:58
yrishi1-Jun-09 19:58 
AnswerRe: client server communication Pin
rohitissharma2-Jun-09 18:07
rohitissharma2-Jun-09 18:07 
QuestionHow to build an IE toolbar that doesn't require installation Pin
zwlei1-Jun-09 17:23
zwlei1-Jun-09 17:23 
AnswerRe: How to build an IE toolbar that doesn't require installation Pin
leo_5551-Jun-09 19:16
leo_5551-Jun-09 19:16 
QuestionInstalling NETCFv35 in Windows Mobile 6 Classic [modified] Pin
Marije1-Jun-09 0:17
Marije1-Jun-09 0:17 
AnswerRe: Installing NETCFv35 in Windows Mobile 6 Classic Pin
leeky__5-Aug-09 17:59
leeky__5-Aug-09 17:59 
QuestionConverting a mainframe database into Ms-Access using VB.NET Pin
sivakumar.mariappan1-Jun-09 0:04
sivakumar.mariappan1-Jun-09 0:04 
AnswerRe: Converting a mainframe database into Ms-Access using VB.NET Pin
ScottM11-Jun-09 0:35
ScottM11-Jun-09 0:35 
GeneralRe: Converting a mainframe database into Ms-Access using VB.NET Pin
sivakumar.mariappan1-Jun-09 0:57
sivakumar.mariappan1-Jun-09 0:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.