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
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss