19 Aug
2015
19 Aug
'15
7:57 p.m.
On Wed, Aug 19, 2015 at 09:37:46AM +0200, Ricard Wanderlof wrote:
V2: Update after comments from Lars-Peter: set rate to CONTINUOUS and let ALSA figure out the details, also removing hw_params as it is then not needed. I've left the checks in dai_set_fmt, as (IIUC) there currently doesn't seem to be a way for the ALSA framework to handle format constraints using the codec configuration struct.
Please remove set_fmt(), it's not doing anything - like I say, if you want to enforce this provide a way of recording the valid configurations as data.