[Alsa-devel] RME96 driver patch

2003-01-05 Thread Anders Torger
Here is a patch against rme96.c It fixes a few slight problems. A few bad things could happen when switching between ADAT and SPDIF and trying to run them simultaneously. The major improvement is however how slave/master and input signals are handled. In the old driver, the card could not be o

Re: [Alsa-devel] Re: How to support multiple open in low-level driver

2003-01-05 Thread Jaroslav Kysela
On Sun, 5 Jan 2003, Anders Torger wrote: > On Sunday 05 January 2003 15.34, Jaroslav Kysela wrote: > > > I noticed that also my rme96 driver supported this sort of, > > > although it probably does not feel very good about it. If the sound > > > card is in ADAT mode, it is not so good if it is reop

Re: [Alsa-devel] Re: How to support multiple open in low-level driver

2003-01-05 Thread Anders Torger
On Sunday 05 January 2003 15.34, Jaroslav Kysela wrote: > > I noticed that also my rme96 driver supported this sort of, > > although it probably does not feel very good about it. If the sound > > card is in ADAT mode, it is not so good if it is reopened in SPDIF > > mode from another application fo

Re: [Alsa-devel] Re: Digital sound card conventions

2003-01-05 Thread Jaroslav Kysela
On Fri, 3 Jan 2003, Paul Davis wrote: > >This part of PCM API has not been discussed. I think that we should follow > >the most easy way: It is - allow only sample rate given by application, if > >the master clock is using another sample rate - in trigger() callback - > >driver will fail. > > th

[Alsa-devel] Re: How to support multiple open in low-level driver

2003-01-05 Thread Jaroslav Kysela
On Fri, 3 Jan 2003, Anders Torger wrote: > I have noticed that some (most) low level drivers support multiple open, > that is a sound card which is already opened, can be opened again. Yes, but hardware must support this feature (it must mix multiple streams in hardware and have appropriate amo

Re: [Alsa-devel] ymfpci, big-endian, and spdif out

2003-01-05 Thread Jaroslav Kysela
On Sat, 4 Jan 2003, Troy Benjegerdes wrote: > So what is the simplest command line options and .asoundrc config file > setup I should try to verify if SPDIF AC/3 output works? I also need to It should work simply typing 'ac3dec -C '. > get a short AC3 encoded sound file somewhere.. are there s

Re: [Alsa-devel] ymfpci, big-endian, and spdif out

2003-01-05 Thread Jaroslav Kysela
On Sat, 4 Jan 2003, Troy Benjegerdes wrote: > > > > We have command-line ac3dec in our alsa-tools package. > > > > current cvs doesn't compile. > > output.c: In function `output_open': > output.c:146: warning: passing arg 3 of > `snd_pcm_hw_params_set_period_time_near' makes integer from poin