Click here to Skip to main content
15,895,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem with free up memory! Pin
leppie8-Oct-08 1:53
leppie8-Oct-08 1:53 
GeneralRe: Problem with free up memory! Pin
Ha ha ha ha ha ha ha ha8-Oct-08 1:54
Ha ha ha ha ha ha ha ha8-Oct-08 1:54 
GeneralRe: Problem with free up memory! Pin
Simon P Stevens8-Oct-08 3:06
Simon P Stevens8-Oct-08 3:06 
GeneralRe: Problem with free up memory! Pin
Ha ha ha ha ha ha ha ha8-Oct-08 3:51
Ha ha ha ha ha ha ha ha8-Oct-08 3:51 
GeneralRe: Problem with free up memory! Pin
Simon P Stevens8-Oct-08 4:42
Simon P Stevens8-Oct-08 4:42 
GeneralRe: Problem with free up memory! Pin
DaveyM698-Oct-08 5:58
professionalDaveyM698-Oct-08 5:58 
GeneralRe: Problem with free up memory! Pin
Simon P Stevens8-Oct-08 22:58
Simon P Stevens8-Oct-08 22:58 
GeneralRe: Problem with free up memory! [modified] Pin
Mark Salsbery8-Oct-08 8:07
Mark Salsbery8-Oct-08 8:07 
serima nazarian wrote:
my application already plays the buffer without any problem or any cut in the voice


You obviously haven't let it play long enough.

The way it's coded now, aside from the memory leak, you're going to
have problems with clock drift and network jitter.

Let it go for several minutes - you'll see what I mean Smile | :)

Good luck.

Edit:<br />
Actually, looking at the code again, you may not have too much problem<br />
with jitter or drift, since you're using a new secondary buffer for every<br />
receive.  There will probably be a problem if the GC gets around to collecting<br />
any secondary buffers that are still playing asynchronously, however.


Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

modified on Wednesday, October 8, 2008 2:15 PM

GeneralRe: Problem with free up memory! Pin
Ha ha ha ha ha ha ha ha9-Oct-08 20:50
Ha ha ha ha ha ha ha ha9-Oct-08 20:50 
QuestionGet a whole column in a matrix Pin
xkrja7-Oct-08 21:37
xkrja7-Oct-08 21:37 
AnswerRe: Get a whole column in a matrix Pin
User 66587-Oct-08 21:48
User 66587-Oct-08 21:48 
QuestionHow to get whitespace in xml Pin
manju#1237-Oct-08 19:52
manju#1237-Oct-08 19:52 
AnswerRe: How to get whitespace in xml Pin
Pedram Behroozi7-Oct-08 20:18
Pedram Behroozi7-Oct-08 20:18 
GeneralRe: How to get whitespace in xml Pin
manju#1237-Oct-08 20:23
manju#1237-Oct-08 20:23 
GeneralRe: How to get whitespace in xml Pin
Pedram Behroozi7-Oct-08 20:29
Pedram Behroozi7-Oct-08 20:29 
GeneralRe: How to get whitespace in xml [modified] Pin
manju#1237-Oct-08 20:57
manju#1237-Oct-08 20:57 
GeneralRe: How to get whitespace in xml Pin
Pedram Behroozi7-Oct-08 22:47
Pedram Behroozi7-Oct-08 22:47 
GeneralRe: How to get whitespace in xml Pin
Ashfield7-Oct-08 23:10
Ashfield7-Oct-08 23:10 
GeneralRe: How to get whitespace in xml Pin
leppie7-Oct-08 23:46
leppie7-Oct-08 23:46 
GeneralRe: How to get whitespace in xml Pin
Pedram Behroozi7-Oct-08 22:53
Pedram Behroozi7-Oct-08 22:53 
AnswerRe: How to get whitespace in xml Pin
PIEBALDconsult8-Oct-08 3:38
mvePIEBALDconsult8-Oct-08 3:38 
Questionopening selected file in seperate window Pin
Chithra Anoop7-Oct-08 18:37
Chithra Anoop7-Oct-08 18:37 
AnswerRe: opening selected file in seperate window Pin
N a v a n e e t h7-Oct-08 19:17
N a v a n e e t h7-Oct-08 19:17 
AnswerRe: opening selected file in seperate window Pin
Pedram Behroozi7-Oct-08 20:00
Pedram Behroozi7-Oct-08 20:00 
QuestionExplenation required Pin
commengamr7-Oct-08 16:37
commengamr7-Oct-08 16:37 

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.