You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Module: Audio: Add s16/32 source_get_data and sink_get_buffer
This patch adds helper functions source_get_data_s16(),
source_get_data_s32(), sink_get_buffer_s16(), and
sink_get_buffer_s32().
The buffer_samples as number of samples simplifies the processing
function with no division or shift needed to convert buffer
size in bytes to samples. Also the int16_t and int32_t typed
arguments for data pointer and buffer start avoid type casts
in a typical simple processing function.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
0 commit comments