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