Re: [Alsa-devel] 1.0.0 Requirements, Integration of sound deamon (JACK)

2002-10-13 Thread Andy Lo-A-Foe
On Sat, Oct 12, 2002 at 07:52:39PM -0700, David Sankel wrote: > Yes, I have used jack. I meant that it doesn't open > the sound device when it is not being used by a host application. Actually, I think it does. From the moment you start jackd it will open the playback (and recording, depending o

Re: pkg-config (was Re: [Alsa-devel] new "in-compatible" alsa-lib PCM API )

2002-09-18 Thread Andy Lo-A-Foe
On Wed, Sep 18, 2002 at 06:51:11PM +0200, Takashi Iwai wrote: > one related question is - > is there any problem to keep alsa.m4 file? or should it be removed > and force people to move to pkg-config from AC macros? Removing alsa.m4 is probably the best way to speed up adoption of pkg-config b

Re: [Alsa-devel] Kernel OOP with alsaplayer driver

2002-08-20 Thread Andy Lo-A-Foe
On Tue, Aug 20, 2002 at 03:15:49PM +0200, Jaroslav Kysela wrote: > > ioctl(4, 0x4143, 0x1807)= 0 > > ioctl(4, 0x4112, 0x40031090)= 0 > > close(4)= 0 > > open("/root/.alsaplayer/config", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4 > > close(4)

Re: [Alsa-devel] Kernel OOP with alsaplayer driver

2002-08-20 Thread Andy Lo-A-Foe
On Tue, Aug 20, 2002 at 02:27:23PM +0200, Takashi Iwai wrote: > could you check via strace which ioctl triggers this? > strangely i cannot reproduce this on my machine. strace gives the following (parsed): open("/dev/snd/pcmC0D0p", O_RDWR) = 4 ioctl(4, AGPIOC_INFO, 0xbfffdf60)

[Alsa-devel] Kernel OOP with alsaplayer driver

2002-08-20 Thread Andy Lo-A-Foe
Hi, We've been experiencing kernel OOPSes with the alsaplayer alsa-final output plugin. The problems appeared in the 0.9.0rc3 release and forward. The same code works fine on 0.9.0rc1. The OOP is triggered at close time (snd_pcm_close()) and only then. This behaviour was duplicated on at least 2

Re: [Alsa-devel] seg fault

2002-06-18 Thread Andy Lo-A-Foe
On Tue, Jun 18, 2002 at 07:47:59PM +0200, dunk fordyce wrote: > now im wondering whats the best way to play multiple samples at once? That would require mixing the different samples (i.e. adding the pcm values and doing clipping). // 16-bit samples, int16_t buf1[1024], buf2[1024], out[1024]; in

Re: [Alsa-devel] seg fault

2002-06-18 Thread Andy Lo-A-Foe
On Tue, Jun 18, 2002 at 05:59:32PM +0200, dunk fordyce wrote: > anyone tell me why i get a seg fault? > ( excuse the c++ but im learning :) gdb is your friend! segfault usually means some pointer/memory problem. gdb will tell you at what line number your program crashes... Looks like you are fr

[Alsa-devel] Re: [Alsaplayer-devel]error trying to run alsaplayer on ppc

2002-05-18 Thread Andy Lo A Foe
On Fri, May 17, 2002 at 06:26:22PM +, matt yee-king wrote: > [root@bennyhill alsaplayer-0.99.70]# alsaplayer > alsaplayer: pcm.c:5655: snd_pcm_unlink_ptr: Assertion `0' failed. > AlsaPlayer interrupted by signal 6 I've installed the latest CVS, but can't reproduce this. It might be a powerma

Re: [Alsa-devel] Update on website.

2002-04-12 Thread Andy Lo-A-Foe
On Fri, Apr 12, 2002 at 12:24:56PM +0100, James Courtier-Dutton wrote: > >http://www.alsa-project.org/index-new.html http://www.alsa-project.org/index-new.php3 Cheers Patrick :) ___ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge

Re: [Alsa-devel] dolby digital output

2002-02-17 Thread Andy Lo-A-Foe
On Sun, Feb 17, 2002 at 01:33:32AM -0500, Hod McWuff wrote: > I'd imagine the first step would be to add an ac3 encoder, and then > (possibly) the 2->5.1 channel demuxing for stereo streams. This would > result in the ability to mix dolby digital streams (DVD's) with more > mundane PCM streams, s

Re: [Alsa-devel] data race ... for sure?

2001-11-29 Thread Andy Lo-A-Foe
On Thu, Nov 29, 2001 at 09:54:08AM -0500, Paul Davis wrote: > those messages don't show up in these cases. i have seen 1 or examples > of them in /var/log/messages, but none during the tests i have been > running. all day yesterday, i got just one. $ arecord -f dat -F 677 -M 2000 > /dev/null wi

Re: [Alsa-devel] Restarting when in async mode

2001-11-28 Thread Andy Lo-A-Foe
On Wed, Nov 28, 2001 at 11:40:58PM +0100, Wolfgang Hoffmann wrote: > To me it's not clear why protecting a ringbuffer with a mutex > is evil. Is it simply the problem of "abuse", in the sense of one client > locks the mutex longer than necessary (i.e. longer than just > copying data to/from the b

Re: [Alsa-devel] Restarting when in async mode

2001-11-22 Thread Andy Lo-A-Foe
On Thu, Nov 22, 2001 at 12:37:36PM -0500, Paul Davis wrote: > the original is linked from dave phillips' pages. my port (which i > will rename, since i rewrote most of it to use gtkmm) is not packaged yet. > i have one remaining bug to fix (not related to the JACK stuff) and > then i'll put it on

Re: [Alsa-devel] Restarting when in async mode

2001-11-22 Thread Andy Lo-A-Foe
On Thu, Nov 22, 2001 at 09:44:54AM -0500, Paul Davis wrote: > i spent some time last week porting a nice little app called RythmnLab > to use JACK. it used the same kind of design that so many linux audio Where can we get RythmnLab? > apps do - blocking reads and/or writes on the audio device.

Re: [Alsa-devel] 4 opens max on trident

2001-11-19 Thread Andy Lo-A-Foe
On Mon, Nov 19, 2001 at 02:49:23PM +0100, Jaroslav Kysela wrote: > static int snd_maximum_substreams = 4; > MODULE_PARM(snd_maximum_substreams, "i"); > MODULE_PARM_DESC(snd_maximum_substreams, "Maximum substreams with preallocated DMA >memory."); > MODULE_PARM_SYNTAX(snd_maximum_substreams, SNDR

[Alsa-devel] 4 opens max on trident

2001-11-19 Thread Andy Lo-A-Foe
Hi, I just did some tests on my setup, alsa 0.9.0beta9 + Trident 4DWave NX. I can only open 4 sub devices maximum. I always thought this was a lot more (at least 16). Also, what is the function of snd_pcm_hw_params_any() ?? I have this call in my code but I have no idea what it actually does :)

Re: [Alsa-devel] Re: [linux-audio-dev] Re: more bad low latency results

2001-11-15 Thread Andy Lo-A-Foe
On Thu, Nov 15, 2001 at 07:54:41PM +0100, Maarten de Boer wrote: > Your results look good. For what processor did you compile your kernel? CONFIG_MK7=y Did I read correctly that some 3DNow instructions cause latency issues? > Can you run the alsa-lib/test/latency test (and use a CD as input) >

Re: [Alsa-devel] Re: [linux-audio-dev] Re: more bad low latency results

2001-11-15 Thread Andy Lo-A-Foe
On Thu, Nov 15, 2001 at 07:06:42PM +0100, Maarten de Boer wrote: > That would be great. I use latencytest0.42 as well (gif). > > Tell me what kernel you use. Okay, here's my setup: - kernel 2.4.15-pre4 + Robert Love's preempt patches (http://www.tech9.net/rml/linux/) - kernel HZ value set to

Re: [Alsa-devel] Re: [linux-audio-dev] Re: more bad low latency results

2001-11-15 Thread Andy Lo-A-Foe
On Thu, Nov 15, 2001 at 05:28:19PM +0100, Maarten de Boer wrote: > It would be really nice if somebody could repeat my tests on identical or > similar hardware (AMD Athlon, Trident 4DWave NX), with the same versions > of kernel, patch, and alsa (latest cvs that is). I will try with a es1371 > to

Re: [Alsa-devel] What is a period?

2001-09-18 Thread Andy Lo-A-Foe
On Tue, Sep 18, 2001 at 07:20:21PM +0200, Remco Poelstra wrote: > Ok, I think I understand most of it, certainly that my application can do > without it (and I tried and it works without). But what is a possible use > of this kind of settings? Is it only of interest to low-latency > applications?