[Alsa-devel] dmix deadlock w/ multithreading?

2003-06-19 Thread Steve Leung
I'm having some trouble using dmix with a multithreaded program that has to close and reopen the sound device. Closing and opening happens in different threads. I'm using alsa-lib 0.9.4 and I've got dmix set up to be the default device. That is, my .asoundrc looks like this: pcm.!default {

Re: [Alsa-devel] ./snddevices

2003-06-19 Thread Eliot Blennerhassett
> plugin "alsa". Trying defaults. snd_pcm_open: Permission denied (quattro1) > Failed to initialize plugin! - I had similar problems. Sometimes i could access ALSA devices as a normal user, and sometimes only as root. It seemed to change (for the worse)if I unloaded all the sound modules and t

Re: [Alsa-devel] programming with dmix ?

2003-06-19 Thread Jaroslav Kysela
On Thu, 19 Jun 2003, Alex Kuang wrote: > Hi there, > > Just wondered how I can apply the cool feature - dmix > - to my own program to mix sounds? for example, after > I compile my small c++ program, I can run it one at a > time: > > ./a.out TestMusic.wav > > The thing's that how I can mix sound

[Alsa-devel] Envy24HT questions

2003-06-19 Thread El tío Anacondo
Hi. I originally posted this to the alsa-user mailing list, with no responses. Hope you guys can help me. > Hi! I plan to replace my card with a new one, based on the Envy24HT chip > (Terratec Aureon Sky or M-Audio Revolution). My current card's chip (Crystal > 4624) supports hardware mixing. A

Re: [Alsa-devel] programming with dmix ?

2003-06-19 Thread Paul Davis
>Just wondered how I can apply the cool feature - dmix >- to my own program to mix sounds? for example, after >I compile my small c++ program, I can run it one at a >time: > >./a.out TestMusic.wav > >The thing's that how I can mix sounds when I run: > >./a.out TestMusic01.wav & >./a.out TestMusic02

[Alsa-devel] Compile errors with current cvs

2003-06-19 Thread Dennis van der Meer
Hi, When trying to compile the latest cvs version I got the following errors: In file included from ac97_codec.c:1: ../../alsa-kernel/pci/ac97/ac97_codec.c: In function `snd_ac97_mixer_build': ../../alsa-kernel/pci/ac97/ac97_codec.c:1394: structure has no member named `build_ops' ../../alsa-kern

[Alsa-devel] programming with dmix ?

2003-06-19 Thread Alex Kuang
Hi there, Just wondered how I can apply the cool feature - dmix - to my own program to mix sounds? for example, after I compile my small c++ program, I can run it one at a time: ./a.out TestMusic.wav The thing's that how I can mix sounds when I run: ./a.out TestMusic01.wav & ./a.out TestMusic02

[Alsa-devel] alsa 9.4 + SBLive! + USB iMic = hard lockup

2003-06-19 Thread Andrew Burgess
(I hope this doesn't appear twice, the first time bounced because my subscription lapsed when the mailing list host switched to sourceforge) kernel 2.4.21-rc7-ac1 alsa 9.4 (drivers, utils, libs) Tyan dual athlon MP S2460 motherboard (I tried it once with numcpus=1 just in case its an SMP problem,

[Alsa-devel] configure and compile errors (possibly because of gcc 3.3)

2003-06-19 Thread Hanno Böck
Hi, I cannot get the latest alsa-driver to compile. First, I get a configure-error: [...] checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /home/hanno/tmp/alsa-driver-0.9.4-alt checking cross compile.

[Alsa-devel] Alsa application problem

2003-06-19 Thread mahendra sp
hi, I have altered the program latency.c to for full duplex mode. but its giving "broken pipe" error. can anybody tell the reason? is it really necesory to set swparameters? To Jaroslev: hi, i am in need of sipmle application to read and write(full duplex). I am a student. and this is my

Re: [Alsa-devel] sequencer: handling non-registered parameter numbers....

2003-06-19 Thread Joern Nettingsmeier
Jaroslav Kysela wrote: On Mon, 16 Jun 2003, Joern Nettingsmeier wrote: Jaroslav Kysela wrote: On Mon, 16 Jun 2003, Jaroslav Kysela wrote: thanks for the clarification. i'd be glad to help, but i doubt i could meet the coding standards of alsa-lib. at least i could help test it. do you or any

Re: [Alsa-devel] Fwd: RE: To ESS Tech Support

2003-06-19 Thread Giuliano Pochini
On 18-Jun-2003 Warren Turkal wrote: > Any suggestions on how? Ask him the address of his boss. Bye. --- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Server

[Alsa-devel] [PATCH] usbaudio fixes

2003-06-19 Thread Clemens Ladisch
I botched my previous patch for the UA-5: the altsettings of the audio interface would be ignored because bInterfaceSubClass isn't set to USB_SUBCLASS_AUDIO_STREAMING on that device. This patch corrects this. And some devices (e.g. the Logitech QuickCam Web) have an endpoint with wMaxPacketSize =