struct pa_memblock { pa_atomic_ptr_t data; -----------> is this the valid data buffer pointer? size_t length; -------------> is this the data length? ... } If yes, I can trace the function "hsp_process_render" of modle-bluetooth-device: l = pa_write(u->stream_fd, p, u->write_memchunk.length, &u->stream_write_type); I think the memchunk, contains the data: typedef struct pa_memchunk { pa_memblock *memblock; ------> real data here? size_t index, length; } pa_memchunk; Thanks Amanda -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110527/6721452e/attachment.htm>