Re: [Alsa-devel] updated patch for period_size constraint

2002-09-10 Thread Takashi Iwai
Hi Guilhem, At Tue, 10 Sep 2002 08:29:59 -0700 (PDT), Guilhem Tardy wrote: > > Hi all, > > I modified my previous patch for supporting a period_size (rather than > period_bytes) constraint with Takashi's suggestion that the fields be non-zero > for either constraint to kick in. See file in atta

Re: [Alsa-devel] updated patch for period_size constraint

2002-09-10 Thread Takashi Iwai
At Tue, 10 Sep 2002 10:06:31 -0700 (PDT), Guilhem Tardy wrote: > > > just add the constraint in open callback, such like > > > > int your_pcm_open(snd_pcm_substream_t *substream) > > { > > ... > > > > err = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_PERIOD_SIZE, > >

Re: [Alsa-devel] updated patch for period_size constraint

2002-09-10 Thread Guilhem Tardy
> > I modified my previous patch for supporting a period_size (rather than > > period_bytes) constraint with Takashi's suggestion that the fields be > > non-zero for either constraint to kick in. See file in attachment. > > It has worked fine on my hardware for the past few days. > > you don't ne

[Alsa-devel] updated patch for period_size constraint

2002-09-10 Thread Guilhem Tardy
Hi all, I modified my previous patch for supporting a period_size (rather than period_bytes) constraint with Takashi's suggestion that the fields be non-zero for either constraint to kick in. See file in attachment. It has worked fine on my hardware for the past few days. Guilhem.