Click here to Skip to main content
15,919,358 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to show a .ico file at the window title bar Pin
Rajib Podder3-Jul-09 4:35
Rajib Podder3-Jul-09 4:35 
AnswerRe: how to show a .ico file at the window title bar Pin
Roger Stoltz3-Jul-09 5:02
Roger Stoltz3-Jul-09 5:02 
GeneralRe: how to show a .ico file at the window title bar Pin
Rajib Podder5-Jul-09 17:00
Rajib Podder5-Jul-09 17:00 
GeneralRe: how to show a .ico file at the window title bar Pin
Roger Stoltz5-Jul-09 20:10
Roger Stoltz5-Jul-09 20:10 
GeneralRe: how to show a .ico file at the window title bar Pin
Rajib Podder5-Jul-09 20:15
Rajib Podder5-Jul-09 20:15 
Questioncalling OnDraw() Pin
susanne13-Jul-09 4:09
susanne13-Jul-09 4:09 
AnswerRe: calling OnDraw() Pin
Stuart Dootson3-Jul-09 5:34
professionalStuart Dootson3-Jul-09 5:34 
GeneralRe: calling OnDraw() Pin
susanne14-Jul-09 7:05
susanne14-Jul-09 7:05 
GeneralRe: calling OnDraw() Pin
Stuart Dootson4-Jul-09 7:33
professionalStuart Dootson4-Jul-09 7:33 
Questionwhat is the entry id for junk mail Pin
santhosh-padamatinti3-Jul-09 3:54
santhosh-padamatinti3-Jul-09 3:54 
Questionxmlhttp improper response Pin
Ash_VCPP3-Jul-09 2:28
Ash_VCPP3-Jul-09 2:28 
AnswerRe: xmlhttp improper response Pin
Stuart Dootson3-Jul-09 3:34
professionalStuart Dootson3-Jul-09 3:34 
Questionthreads and their time slots. [modified] Pin
Souldrift2-Jul-09 23:45
Souldrift2-Jul-09 23:45 
AnswerRe: threads and their time slots. Pin
Stuart Dootson3-Jul-09 0:31
professionalStuart Dootson3-Jul-09 0:31 
GeneralRe: threads and their time slots. [modified] Pin
Souldrift3-Jul-09 1:17
Souldrift3-Jul-09 1:17 
GeneralRe: threads and their time slots. Pin
Stuart Dootson3-Jul-09 1:58
professionalStuart Dootson3-Jul-09 1:58 
GeneralRe: threads and their time slots. Pin
Souldrift3-Jul-09 2:43
Souldrift3-Jul-09 2:43 
GeneralRe: threads and their time slots. Pin
Stuart Dootson3-Jul-09 3:30
professionalStuart Dootson3-Jul-09 3:30 
GeneralRe: threads and their time slots. Pin
Souldrift3-Jul-09 5:44
Souldrift3-Jul-09 5:44 
AnswerRe: threads and their time slots. Pin
Roger Stoltz3-Jul-09 2:09
Roger Stoltz3-Jul-09 2:09 
GeneralRe: threads and their time slots. Pin
Souldrift3-Jul-09 2:50
Souldrift3-Jul-09 2:50 
The reason is not so much the exact timing but the available memory on the other side.
The receiving end is not another computer but a phone. Its an audio stream from a tts-server.

And the phone has only limited capacity so we cannot simply flood it since the sending end works much much faster than the processing of the stream at the receiving end. Therefor we wanted to build in something like a brake. That´s what the variable RTPOverlap is for. At the moment at a value of 10% (0.1). So the sending time of each RTP packet only overlaps with the previous one by about 10%. And these 10 percent are calculated from the playback time that one packet actually needs. Which is about 10ms for an RTP packet of 480 bytes. Meaning we send one packet and then the next comes after 9ms and so on.

Only ... it doesn´t work.
And of course I already have a 'sending worker'. The synthesizer of the tts-server works very fast. So I store the synthesized packages in one class like a scheduler and send them piece by piece away.

By the way, I am familiar with (no specialist, but I´ll find my way around) worker threads and smart pointers and RTP. I´ll look into your links now, anyway .. thanks so far.

Souldrift
AnswerRe: threads and their time slots. Pin
Keith Worden3-Jul-09 5:29
Keith Worden3-Jul-09 5:29 
GeneralRe: threads and their time slots. Pin
Souldrift3-Jul-09 6:04
Souldrift3-Jul-09 6:04 
AnswerRe: threads and their time slots. Pin
Souldrift3-Jul-09 6:07
Souldrift3-Jul-09 6:07 
GeneralRe: threads and their time slots. Pin
Keith Worden3-Jul-09 6:18
Keith Worden3-Jul-09 6:18 

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.