sw_params for a direct-ed(dmix) hw pcm

sylvain.bertrand at gmail.com sylvain.bertrand at gmail.com
Wed Apr 1 17:25:38 CEST 2020


Hi,

Lol, I was working on it too. I got almost exactly the same code related to the
addition of a configuration variable:
 - in 'struct snd_pcm_direct_open_conf' I used the type 'snd_pcm_tstamp_type_t'
   instead of 'int' for the added tstamp_type field.
 - idem for the 'struct snd_pcm_direct' tstamp_type field.

Then, I was hesistating to make snd_pcm_sw_params_set_tstamp_type recursive or/and
what you did, namely check at the time of sw_params installation.

I'll start to test your patch.

regards,

-- 
Sylvain 


More information about the Alsa-devel mailing list