the reason im asking is that in my sndcallback function the buffersize pointer of my sndcallback function is equivalent to 4096. but it seems different when i read it from the file with the buffer size of 4096. when sending the buffer accross the with the same buffer size, the packets sent from the file is bigger than the one sending from the callback funtion.
Sometimes buffersize is counted in FRAMES, not bytes. Bytes would be frames*channels*samplebits/8 (ie: 16-bit mono is 2bytes/frame, 16-bit stereo is 4bytes/frame).
-- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
