[alsa-devel] [PATCH alsa-lib 3/5] pcm: Add sw_params API functions to get/set timestamp type

Clemens Ladisch clemens at ladisch.de
Thu Jul 10 15:22:06 CEST 2014


Takashi Iwai wrote:
> @@ -1899,6 +1918,7 @@ int snd_pcm_dump_sw_setup(snd_pcm_t *pcm, snd_output_t *out)
>  		return -EIO;
>  	}
>  	snd_output_printf(out, "  tstamp_mode  : %s\n", snd_pcm_tstamp_mode_name(pcm->tstamp_mode));
> +	snd_output_printf(out, "  tstamp_type  : %s\n", snd_pcm_tstamp_type_name(pcm->tstamp_mode));

> @@ -5613,6 +5634,7 @@ int snd_pcm_sw_params_current(snd_pcm_t *pcm, snd_pcm_sw_params_t *params)
>  int snd_pcm_sw_params_dump(snd_pcm_sw_params_t *params, snd_output_t *out)
>  {
>  	snd_output_printf(out, "tstamp_mode: %s\n", snd_pcm_tstamp_mode_name(params->tstamp_mode));
> +	snd_output_printf(out, "tstamp_type: %s\n", snd_pcm_tstamp_type_name(params->tstamp_mode));

_type, not _mode


Regards,
Clemens


More information about the Alsa-devel mailing list