Re: [Alsa-devel] problems using select() on alsa pcm.

2004-03-25 Thread Jaroslav Kysela
On Thu, 25 Mar 2004, James Courtier-Dutton wrote: open pcm, and get a handle. snd_pcm_poll_descriptors(handle, pfd, err); Get a poll file scriptor in pfd. select(nfds, rfds, wfds, efds, tvp); Is it possible to use this call with alsa ? Yes, snd_pcm_poll_descriptors() gives you all

Re: [Alsa-devel] problems using select() on alsa pcm.

2004-03-25 Thread Jaroslav Kysela
On Wed, 24 Mar 2004, Paul Davis wrote: open pcm, and get a handle. snd_pcm_poll_descriptors(handle, pfd, err); Get a poll file scriptor in pfd. select(nfds, rfds, wfds, efds, tvp); Is it possible to use this call with alsa ? select is generally deprecated in linux (linus says

RE: [Alsa-devel] Minimum Period-(Fragment) Size

2004-03-25 Thread Giuliano Pochini
On 24-Mar-2004 Brian Furey wrote: Hi all, im using the ALSA driver 1.0.0 on two linux machines that connect a voice-over-ip session. I need to know the minimum fragment size that the alsa driver can take from the soundcard and place in the sending/receiving buffer. Does it depend on the

[Alsa-devel] providing control interface

2004-03-25 Thread Pavana Sharma
hello, I am providing control interface for my driver to access from user space with functions get put . ( driver is for arm platform ) . I want to know * while creating new controls should I be allowed to create my hardware specific controls like gain, power, rate other codec specific

Re: [Alsa-devel] problems using select() on alsa pcm.

2004-03-25 Thread Paul Davis
open pcm, and get a handle. snd_pcm_poll_descriptors(handle, pfd, err); Get a poll file scriptor in pfd. select(nfds, rfds, wfds, efds, tvp); Is it possible to use this call with alsa ? select is generally deprecated in linux (linus says so!). but you can use the same pfds in

Re: [Alsa-devel] problems using select() on alsa pcm.

2004-03-25 Thread Takashi Iwai
At Thu, 25 Mar 2004 11:25:56 +0100, Martijn Sipkema wrote: open pcm, and get a handle. snd_pcm_poll_descriptors(handle, pfd, err); Get a poll file scriptor in pfd. select(nfds, rfds, wfds, efds, tvp); Is it possible to use this call with alsa ? select is generally

[Alsa-devel] Test: SBLive! (C) 2003 need extra effort on Rear Analog Output

2004-03-25 Thread guan yim
I have tested 1.0.3 driver, lib, utils, oss. It looks like Creative SBLive! (C) 2001, 2002 and Creative SB Audigy (C) 2001 works well with snd-emu10k1 driver and alsamixer is able to get them out with 5.1 analog output quite easily (all 6 channels have sound output), even without ~/.asoundrc,

[Alsa-devel] Test: SBLive! (C) 2003 : totally no analog output with cvs emu10k1 + alsamixer

2004-03-25 Thread guan yim
Hi just checked out 15 minutes ago...SBLive! (C) 2003 : totally no analog output with cvs emu10k1 + alsamixer. Thanks. _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail

Re: [Alsa-devel] problems using select() on alsa pcm.

2004-03-25 Thread Martijn Sipkema
open pcm, and get a handle. snd_pcm_poll_descriptors(handle, pfd, err); Get a poll file scriptor in pfd. select(nfds, rfds, wfds, efds, tvp); Is it possible to use this call with alsa ? select is generally deprecated in linux (linus says so!). but you can

Re: [Alsa-devel] Test: SBLive! (C) 2003 need extra effort on Rear Analog Output

2004-03-25 Thread p z oooo
Hi, What AC97 codec uses SB Live 2003 ??? Maybe for rear channels is used AC97 too and by default is rear volume set to 0 and control is removed to avoid duplicite. Peter Zubaj == REKLAMA Spolocnost SUN Microsystems uviedla na trh novy server Sun

Re: [Alsa-devel] problems using select() on alsa pcm.

2004-03-25 Thread Paul Davis
select is generally deprecated in linux (linus says so!). but you can use the same pfds in select as in poll (select is implemented in the kernel using the poll code). the problem is interpreting the results you get back (as noted recently for the dmix plugin). Nope, the application must give

Re: [Alsa-devel] problems using select() on alsa pcm.

2004-03-25 Thread Jaroslav Kysela
On Thu, 25 Mar 2004, Paul Davis wrote: select is generally deprecated in linux (linus says so!). but you can use the same pfds in select as in poll (select is implemented in the kernel using the poll code). the problem is interpreting the results you get back (as noted recently for the

Re: [Alsa-devel] problems using select() on alsa pcm.

2004-03-25 Thread James Courtier-Dutton
Jaroslav Kysela wrote: On Wed, 24 Mar 2004, Paul Davis wrote: open pcm, and get a handle. snd_pcm_poll_descriptors(handle, pfd, err); Get a poll file scriptor in pfd. select(nfds, rfds, wfds, efds, tvp); Is it possible to use this call with alsa ? select is generally deprecated in linux

Re: [Alsa-devel] problems using select() on alsa pcm.

2004-03-25 Thread Jaroslav Kysela
On Thu, 25 Mar 2004, James Courtier-Dutton wrote: Jaroslav Kysela wrote: On Wed, 24 Mar 2004, Paul Davis wrote: open pcm, and get a handle. snd_pcm_poll_descriptors(handle, pfd, err); Get a poll file scriptor in pfd. select(nfds, rfds, wfds, efds, tvp); Is it possible to use

RE: [Alsa-devel] Current Hardware Parameter Settings

2004-03-25 Thread Brian Furey
Thanks Giuliano, How can I get a dump of the current hardware configuration space?I have the ALSA driver 1.0.0 installed on my Redhat 9 Machine. Brian.Giuliano Pochini [EMAIL PROTECTED] wrote: On 24-Mar-2004 Brian Furey wrote: Hi all, im using the ALSA driver 1.0.0 on two linux machines that

[Alsa-devel] [PATCH] Full duplex dmix,dsnoop

2004-03-25 Thread James Courtier-Dutton
See attached patch for suggested new pcm device. It works for: - arecord -fdat -Dplug:duplex | aplay -Dplug:duplex bash-2.05b# arecord -fdat -Dplug:duplex | aplay -Dplug:duplex Recording WAVE 'stdout' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo Playing WAVE 'stdin' : Signed 16 bit Little

Re: [Alsa-devel] [PATCH] Full duplex dmix,dsnoop

2004-03-25 Thread Jaroslav Kysela
On Thu, 25 Mar 2004, James Courtier-Dutton wrote: bash-2.05b# arecord -fcd -Dplug:duplex | aplay -Dplug:duplex Recording WAVE 'stdout' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo arecord: pcm.c:5920:

Re: [Alsa-devel] [PATCH] Full duplex dmix,dsnoop

2004-03-25 Thread James Courtier-Dutton
Jaroslav Kysela wrote: On Thu, 25 Mar 2004, James Courtier-Dutton wrote: bash-2.05b# arecord -fcd -Dplug:duplex | aplay -Dplug:duplex Recording WAVE 'stdout' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo arecord:

Re: [Alsa-devel] problems using select() on alsa pcm.

2004-03-25 Thread Glenn Maynard
On Thu, Mar 25, 2004 at 03:00:58PM +0100, Takashi Iwai wrote: Why is select deprecated? because select is just a wrapper of poll in fact (on linux)? So? There are a few other operating systems out there, and select() is very portable. (select isn't deprecated; it's simply not Linus's API

Re: [Alsa-devel] Test: SBLive! (C) 2003 need extra effort on Rear Analog Output

2004-03-25 Thread guan yim
Hi pzad, Thanks for your attention. Please let me know how do I check for that? Regards, guanyim From: p z [EMAIL PROTECTED] Reply-To: p z [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [Alsa-devel] Test: SBLive! (C) 2003 need extra effort on Rear Analog

Re: [Alsa-devel] Test: SBLive! (C) 2003 need extra effort on Rear Analog Output

2004-03-25 Thread p z oooo
In alsa-driver/alsa-kernel/emu10k1/emumixer there are two static arrays: 1) static char *emu10k1_remove_ctls[] remove from this array: Surround Playback Switch, Surround Playback Volume, 2) static char *emu10k1_rename_ctls[] remove from this array: Surround Digital Playback Volume, Surround