[pulseaudio-discuss] How to check audio sample data to a bluetooth sink?
Lin, Mengdong
mengdong.lin at intel.com
Fri May 27 03:20:08 PDT 2011
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>
More information about the pulseaudio-discuss
mailing list