--- Georgi Georgiev <[EMAIL PROTECTED]> a écrit : > Quentin Saderne wrote: > >> Do you mean that a simple /etc/init.d/alsa start > doesn't make your card > >> usable? > > no, the script is loaded at boot time, but it > doesn t work. so i added a > > restart in a script at the end of the boot and it > works... > > Can't help you here. Infinite possibilites for a > problem with your > configuration. Try debugging the script by hand, see > what so different > happens when you "restart" that did not happen when > you "start" the script. > Maybe it doesn't load your modules properly or it > could be about anything....
ok i ll see that > > >>>>> 2) i wonder if i could play 2 sounds at the > same time without using a > >>>>> sound server a friend that uses alsa too can > play 2 sounds at the > >>>>> same time, but i can't is there anything to > change or to add in the > >>>>> config files ? > >>>> > >>>> It's all up to your card I think. Creative Live > cards can do it for > >>>> what I know. I don't know about others. > >>> > >>> it works with windows i can play a mp3 and a > movie at the same time and i > >>> hear the 2 sounds so my card must be able to do > it, or a software mix > >>> the 2 sound before, i don't know what is the > procedure to follow to make > >>> alsa play 2 sounds at the same time ? > >> > >> What makes you think that the windows drivers > don't do something > >> similar to what the sound server does? > > > > i don t know what the windows driver is doing but > i have a friend that > > uses alsa. he needs to restart it at boot time > too, but he can play 2 > > diffrent sounds at the same time. > > > >> What kind of sounds card do you have anyway? > > > > i don t know exactly it s a chipset directly on > the motherboard ac_97 i > > think, or something like that > > Does your friend have the same card and can he play > a sound at the same time > by using direct alsa output? I doubt it. As I said > (and I doubt I am talking > nonsense) it is all up to the card. I for example > have a Creative Live and > an onboard cmedia cards. The creative can play up to > 32 sounds > simultaneously, but the cmedia cannot. It has > nothing to do with > configurations or anything... as far as I know. The > card either supports it > or not. You can see how many simultaneous "open"s > each device you have > supports by doing a quick > > # cat /proc/asound/pcm > > It should say for each device you have - device id, > driver, playback and or > capture subdevices (number of simultaneous opens). > Mine looks like this, and > as you can see the on-board C-Media can only play > one sound at a time. > > 00-00: emu10k1 : EMU10K1 : playback 32 : capture 1 > 00-01: emu10k1 mic : EMU10K1 MIC : capture 1 > 00-02: emu10k1 efx : EMU10K1 EFX : capture 1 > 00-03: emu10k1 : EMU10K1 FX8010 : playback 8 > 01-00: CMI8738-MC6 : C-Media PCI DAC/ADC : playback > 1 : capture 1 > 01-01: CMI8738-MC6 : C-Media PCI 2nd DAC : playback > 1 > 01-02: CMI8738-MC6 : C-Media PCI IEC958 : playback 1 > : capture 1 > > Check your friend's /proc/asound/pcm and compare. mine : 00-00: VIA 82C686A/B : VIA 82C686A/B : playback 1 : capture 1 so i can't play more than 1 sound at a time... i looked at my friend's file. he can play up to 32 sound at a time he uses "emu10k1" this is for sound blaster, isn't it ? my integrated card must be compatible (there are options about enabling sound blaster in the bios setup) do you think i could use the driver "emu10k1" and it could make my card play 32 sounds at a time, or no ? do you know a good sound server that works perfectly with alsa (if the other solution doesn't work) ? ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user