[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <19cfe3fe-4b99-0976-679d-28523d7b9990@linux.intel.com>
Date: Wed, 22 Jul 2020 10:36:02 -0500
From: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
To: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
broonie@...nel.org
Cc: alsa-devel@...a-project.org, ckeepax@...nsource.cirrus.com,
lgirdwood@...il.com, linux-kernel@...r.kernel.org, tiwai@...e.com,
vkoul@...nel.org
Subject: Re: [RFC PATCH v2 2/6] ALSA: compress: add new ioctl for setting
codec parameters
>>> * and the stream properties
>>> + * @set_codec_params: Sets the compressed stream codec parameters,
>>> Optional
>>> + * This can be called in during gapless next track codec change only
>>> to set
>>> + * codec params
>>
>> Would it be clearer if this was called set_next_codec_params()? or
>> set_next_track_codec_params()?
>>
>> Having set_params() and set_codec_params() is a bit confusing since
>> the semantic difference is not captured in the callback name.
>
> set_next_track_codec_params seems more sensible as its next track params.
> Will change this in next version!
maybe set_params() and set_next_track_params() are enough, not sure if
the codec reference helps?
Powered by blists - more mailing lists