[alsa-devel] how to update hw_ptr and appl_ptr