Re: [Alsa-devel] Audiophile USB samplerate workaround

2003-07-24 Thread Takashi Iwai
At Wed, 23 Jul 2003 13:14:03 -0800, Ben Saylor wrote: > > [1 ] > That does the trick. Here's a patch against 0.9.5. thanks for the patch. i applied to cvs. > I don't know if this is related, but one thing I've been puzzling over > is that half the time after I plug in the audiophile I get st

Re: [Alsa-devel] Audiophile USB samplerate workaround

2003-07-23 Thread Ben Saylor
That does the trick. Here's a patch against 0.9.5. I don't know if this is related, but one thing I've been puzzling over is that half the time after I plug in the audiophile I get static instead of sound. I have to unload alsa and plug it in again. (As I mentioned before, I always get stati

Re: [Alsa-devel] Audiophile USB samplerate workaround

2003-07-23 Thread Takashi Iwai
At Wed, 23 Jul 2003 02:05:50 -0800, Ben Saylor wrote: > > > ok, then it supports other sample rates :) > > > > about the symptom: do you mean that the playback gets too fast with > > the lower sample rate, > > Yes. i.e. it will play a 44100 hz or whatever stream, but playback is > too fast. so

Re: [Alsa-devel] Audiophile USB samplerate workaround

2003-07-23 Thread Ben Saylor
> ok, then it supports other sample rates :) > > about the symptom: do you mean that the playback gets too fast with > the lower sample rate, Yes. i.e. it will play a 44100 hz or whatever stream, but playback is too fast. > or the driver doesn't accept anything else > 48k? > > > Takashi

Re: [Alsa-devel] Audiophile USB samplerate workaround

2003-07-23 Thread Takashi Iwai
At Wed, 23 Jul 2003 01:02:19 -0800, Ben Saylor wrote: > > On Wednesday 23 July 2003 12:29 am, you wrote: > > At Tue, 22 Jul 2003 22:59:25 -0800, > > > > Ben Saylor wrote: > > > I did some investigation to find out why the sample rate can't be > > > set to anything but 48khz (or rather, remains 48k

Re: [Alsa-devel] Audiophile USB samplerate workaround

2003-07-23 Thread Ben Saylor
On Wednesday 23 July 2003 12:29 am, you wrote: > At Tue, 22 Jul 2003 22:59:25 -0800, > > Ben Saylor wrote: > > I did some investigation to find out why the sample rate can't be > > set to anything but 48khz (or rather, remains 48khz even if it is > > set to something else) on the Audiophile. > > do

Re: [Alsa-devel] Audiophile USB samplerate workaround

2003-07-23 Thread Takashi Iwai
At Tue, 22 Jul 2003 22:59:25 -0800, Ben Saylor wrote: > > I did some investigation to find out why the sample rate can't be set to > anything but 48khz (or rather, remains 48khz even if it is set to > something else) on the Audiophile. does format descriptor contain other sample rates? > In i

[Alsa-devel] Audiophile USB samplerate workaround

2003-07-23 Thread Ben Saylor
I did some investigation to find out why the sample rate can't be set to anything but 48khz (or rather, remains 48khz even if it is set to something else) on the Audiophile. In init_usb_sample_rate(), if (fmt->attributes & EP_CS_ATTR_SAMPLE_RATE) is never true, so the sample rate is not