lkml.org 
[lkml]   [2020]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 06/11] ASoC: q6asm: add support to remove intial and trailing silence
From
Date



> +int q6asm_stream_remove_initial_silence(struct audio_client *ac,
> + uint32_t stream_id,
> + uint32_t initial_samples)
> +{
> + return q6asm_stream_remove_silence(ac, stream_id,
> + ASM_DATA_CMD_REMOVE_INITIAL_SILENCE,
> + initial_samples);
> +}
> +EXPORT_SYMBOL_GPL(q6asm_stream_remove_initial_silence);
> +
> +int q6asm_stream_remove_trailing_silence(struct audio_client *ac, uint32_t stream_id,
> + uint32_t trailing_samples)
> +{
> + return q6asm_stream_remove_silence(ac, stream_id,
> + ASM_DATA_CMD_REMOVE_TRAILING_SILENCE,
> + trailing_samples);
> +}
> +EXPORT_SYMBOL_GPL(q6asm_stream_remove_trailing_silence);

do you need those wrappers? Might as well call the _remove_silence()
function with the right parameters, no?

\
 
 \ /
  Last update: 2020-07-07 21:28    [W:0.095 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site