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

Takashi Iwai tiwai at suse.de
Thu Jul 10 15:25:44 CEST 2014


At Thu, 10 Jul 2014 15:22:06 +0200,
Clemens Ladisch wrote:
> 
> 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

Thanks, fixed.


Takashi


More information about the Alsa-devel mailing list