Ok, where should I start looking for the bug? I have been looking, but I have not found yet, where the valid period sizes are set. I would imagine that this would be in the alsa-driver, but snd_pcm_hw_params_set_period_size_near does not seem to call the alsa-driver.
Cheers James > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Jaroslav > Kysela > Sent: 29 November 2001 21:25 > To: James Courtier-Dutton > Cc: [EMAIL PROTECTED] > Subject: Re: [Alsa-devel] YMF744 - Yamaha DS-XG PCI (YMF744) (ymfpci > driver) Bugs in snd_pcm_hw_params_set_period_size_near. > > > On Thu, 29 Nov 2001, James Courtier-Dutton wrote: > > > Hello > > With the following card: - > > YMF744 - Yamaha DS-XG PCI (YMF744) (ymfpci driver) > > > > Why does: - > > tmp = snd_pcm_hw_params_set_period_size_near(this->audio_fd, params, > > period_size, 0); > > > > give tmp=257 no matter what value you give period_size ? > > > > Is the period_size fixed on this card? > > You got it. It is fixed to 256 frames at 48kHz. The value 257 is probably > caused with some rounding (and should be fixed, of course). > > Jaroslav > > ----- > Jaroslav Kysela <[EMAIL PROTECTED]> > SuSE Linux http://www.suse.com > ALSA Project http://www.alsa-project.org > > > _______________________________________________ > Alsa-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/alsa-devel _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel