Re: [Alsa-devel] mixer device

2004-05-18 Thread Clemens Ladisch
Ronald S. Bultje wrote: is it possible for me to get the cardnumber (and thereby the hw:N entry) for a given non-hw device (e.g. dspN, hw:N,M, dmix, ...)? Try something like this: /* Get the slave pcm of a pcm node. Caller must free the result. */ static snd_config_t

Re: [Alsa-devel] mixer device

2004-05-18 Thread barat
On Thu, 13 May 2004, Adam Tla/lka wrote: On Wed, May 12, 2004 at 05:40:55PM +0200, Clemens Ladisch wrote: Ronald S. Bultje wrote: for a given alsa device (default, dmix, plughw:N, hw:N,M, dspN, etc.), how do I automatically obtain the right device to use as a audio mixer with that

ALSA lib application compatibility [was] Re: [Alsa-devel] mixer device

2004-05-18 Thread Manuel Jander
Hi, On Tue, 2004-05-18 at 15:46 +0200, [EMAIL PROTECTED] wrote: On Thu, 13 May 2004, Adam Tla/lka wrote: On Wed, May 12, 2004 at 05:40:55PM +0200, Clemens Ladisch wrote: ALSA is complicated and we have no good manual describing proper use of its api. You can easily prove this: many

Re: ALSA lib application compatibility [was] Re: [Alsa-devel] mixer device

2004-05-18 Thread James Courtier-Dutton
Manuel Jander wrote: As the main author of the Aureal Vortex driver, its very stupid having to handle arbitrary period sizes, introducing a lot of overhead and complexity in the driver, while the hardware just is not designed to handle period sizes that are not powers of two, due to page boundary

Re: ALSA lib application compatibility [was] Re: [Alsa-devel] mixer device

2004-05-18 Thread Takashi Iwai
At Tue, 18 May 2004 09:30:54 -0400, Manuel Jander wrote: Hi, On Tue, 2004-05-18 at 15:46 +0200, [EMAIL PROTECTED] wrote: On Thu, 13 May 2004, Adam Tla/lka wrote: On Wed, May 12, 2004 at 05:40:55PM +0200, Clemens Ladisch wrote: ALSA is complicated and we have no good manual

[Alsa-devel] Re: ALSA lib application compatibility [was] Re: [Alsa-devel] mixer device

2004-05-18 Thread Manuel Jander
Hi, On Tue, 2004-05-18 at 17:00 +0200, Takashi Iwai wrote: At Tue, 18 May 2004 09:30:54 -0400, Manuel Jander wrote: Hi, On Tue, 2004-05-18 at 15:46 +0200, [EMAIL PROTECTED] wrote: On Thu, 13 May 2004, Adam Tla/lka wrote: On Wed, May 12, 2004 at 05:40:55PM +0200, Clemens

Re: [Alsa-devel] problems with the mixer

2004-05-18 Thread Takashi Iwai
At Tue, 18 May 2004 17:24:54 +0200, Aner Gusic wrote: * Takashi Iwai [EMAIL PROTECTED]: did you play a 4-channel sample file? Ah, no I didn't. What I want is to play 2-channel samples on both front and rear speakers and to be able to control the volume independently. doesn't it work

[Alsa-devel] Audigy2 in SNDRV_PCM_FMTBIT_S32_LE mode.

2004-05-18 Thread James Courtier-Dutton
What would I need to change in the emu10k1 driver, to get alsa-lib to send it 32bit audio samples. I tried just adding the SNDRV_PCM_FMTBIT_S32_LE to the playback options, but that did not work. When I did that, everything just played at half speed. Can anyone give me any pointers as to where

RE: ALSA lib application compatibility [was] Re: [Alsa-devel] mi

2004-05-18 Thread Giuliano Pochini
On 18-May-2004 Manuel Jander wrote: Unfortunately i have to agree with Clemens. In my opinion the ALSA API is giving the applications too much freedom in choosing parameters and does not enforce any restrictions on hardware that can't support them. I don't thing that freedom is a bad thing.

[Alsa-devel] For Manuel Jander

2004-05-18 Thread James Courtier-Dutton
You sent me an email off list, but when I reply to it, the reply fails with the messages below. So, I cannot email you direct with any responses to your off list emails. Due to standard etiquette, I cannot respond to off list emails on list. Can you please fix the problems your end. Cheers James

[Alsa-devel] New Powerbook - Mixer Prob

2004-05-18 Thread Reiner Klenk
Greetings, I have a problem with a 15 powerbook (from the new series introduced recently). aplay -l says card0 is AWACS. I can get sound, but only on the headphone jack. No matter which mixer controls I fiddle with, there is no sound from the speakers. Also, the volume on the headphone doesn't