Re: [Alsa-devel] Interested in having a go at coding an ALSA driver

2003-02-11 Thread Chris Share
Thanks, I'll check it out. At 08:51 PM 2/11/03 -0700, ljp wrote: First thing might be to download the free book Linux Device Drivers, it's free. http://www.xml.com/ldd/chapter/book/ On Tuesday February 11 2003 08:34 pm, Chris Share wrote: > Hi Everyone, > > I'm an amateur programmer and musi

Re: [Alsa-devel] Interested in having a go at coding an ALSA driver

2003-02-11 Thread ljp
First thing might be to download the free book Linux Device Drivers, it's free. http://www.xml.com/ldd/chapter/book/ On Tuesday February 11 2003 08:34 pm, Chris Share wrote: > Hi Everyone, > > I'm an amateur programmer and musician (and technical writer) familiar with > C/C++ programming on t

[Alsa-devel] Interested in having a go at coding an ALSA driver

2003-02-11 Thread Chris Share
Hi Everyone, I'm an amateur programmer and musician (and technical writer) familiar with C/C++ programming on the Mac and PC. I've written a couple of apps that I'm currently distributing as shareware. After reading Sound On Sound Feb 2003 article on Linux and audio/MIDI I'm very interested in

[Alsa-devel] cs464xx: "Unexpected hw_pointer value"

2003-02-11 Thread Christian Esken
Hi, I have tons of "Unexpected hw_pointer value" messages when trying to play DVD's using xine. The notable effect is that DVD audio (and video) playback is interrupted every few seconds for perhaps 100ms. Is this more a driver issue (bug) or a hardware fault?!? Feb 11 23:37:39 bjork kernel:

Re: [Alsa-devel] wolk kernel headers

2003-02-11 Thread torsten
>> Since the kerenel headers copied into /usr/include match >> the glibc when my kernel was compiled (non-wolk), there >> are no files asound.h and asequencer.h (needed by kdelibs). > >this is a bug of kdelibs. the application shouldn't refer to these >files. i thought it's fixed on kde cvs...

[Alsa-devel] libasound dies on snd_pcm_open

2003-02-11 Thread M. Ritscher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! Hope, this isn't a too stupid question... I've got a problem whilst trying to port my application to the ALSA API. Following piece of code gives me an error when executed: - -- if ((rc = snd_pcm_open (&capture_handle, sDevice.ascii(),

Re: [Alsa-devel] pcm_jack plugin attempt

2003-02-11 Thread Maarten de Boer
> [...] > Nope. The snd_pcm_mmap_appl_forward(pcm, size) is the appropriate. > [...] > I think that it should be opposite: > > appl_ptr should be increased when application writes samples (commit) and > hw_ptr should be increased when jack callback processes samples Okay, your mail made everythin

Re: [Alsa-devel] aplay/arecord hang at 44100 Hz

2003-02-11 Thread Takashi Iwai
At Tue, 11 Feb 2003 17:47:26 +0100, Josh Buhl wrote: > > Hi, > > > i guess it's a bug of either alsa-lib or aplay, not of the driver. > > could you check at which user function the operation stops? > > > > I'll be happy to provide any debugging info I can, but I'm not exactly > sure what you m

Re: [Alsa-devel] aplay/arecord hang at 44100 Hz

2003-02-11 Thread Josh Buhl
Hi, i guess it's a bug of either alsa-lib or aplay, not of the driver. could you check at which user function the operation stops? I'll be happy to provide any debugging info I can, but I'm not exactly sure what you mean by which user function. The error occurs for both user functions aplay

Re: [Alsa-devel] [Fwd: ALSA OSS compatibility]

2003-02-11 Thread Abramo Bagnara
Takashi Iwai wrote: > > At Tue, 11 Feb 2003 14:34:36 +0100, > Abramo Bagnara wrote: > > > > Someone can confirm this is the OSS conformant behaviour? > > yes. but the behavior of ALSA oss-emulation described below is > correct because it really supports that sample rate and channels > through th

Re: [Alsa-devel] New Debian patches

2003-02-11 Thread Takashi Iwai
At Tue, 11 Feb 2003 12:46:24 +0100, I wrote: > > At Tue, 11 Feb 2003 12:05:22 +0100, > Jordi Mallach wrote: > > > > On Tue, Feb 11, 2003 at 09:34:41AM +0100, Takashi Iwai wrote: > > > > For the alsaconf patch, it's the changes I made to the script to make it > > > > work on Debian. It still lacks

Re: [Alsa-devel] [Fwd: ALSA OSS compatibility]

2003-02-11 Thread Takashi Iwai
At Tue, 11 Feb 2003 14:34:36 +0100, Abramo Bagnara wrote: > > Someone can confirm this is the OSS conformant behaviour? yes. but the behavior of ALSA oss-emulation described below is correct because it really supports that sample rate and channels through the software conversion as default. thi

[Alsa-devel] [Fwd: ALSA OSS compatibility]

2003-02-11 Thread Abramo Bagnara
Someone can confirm this is the OSS conformant behaviour? -- Abramo Bagnara mailto:[EMAIL PROTECTED] Opera Unica Phone: +39.546.656023 Via Emilia Interna, 140 48014 Castel Bolognese (RA) - Italy --- Begin Message --- Hi Abramo, I am working with a

Re: [Alsa-devel] New Debian patches

2003-02-11 Thread Takashi Iwai
At Tue, 11 Feb 2003 12:05:22 +0100, Jordi Mallach wrote: > > On Tue, Feb 11, 2003 at 09:34:41AM +0100, Takashi Iwai wrote: > > > For the alsaconf patch, it's the changes I made to the script to make it > > > work on Debian. It still lacks propper unbashization (removing let's, > > > etc). > > what

Re: [Alsa-devel] New Debian patches

2003-02-11 Thread Jordi Mallach
On Tue, Feb 11, 2003 at 09:34:41AM +0100, Takashi Iwai wrote: > > For the alsaconf patch, it's the changes I made to the script to make it > > work on Debian. It still lacks propper unbashization (removing let's, > > etc). > what merit do we have by this? > the script doesn't work (as syntax errors

Re: [Alsa-devel] M-Audio Revolution 7.1

2003-02-11 Thread Takashi Iwai
At Mon, 10 Feb 2003 08:55:25 -0500, Paul Davis wrote: > > >i'll try to contact with m-audio people... > > when i was at NAMM, i went up and personally thanked the m-audio guys > for creating devices that we could use under linux. i told them that > although i generally recommend the hammerfall se

Re: [Alsa-devel] aplay/arecord hang at 44100 Hz

2003-02-11 Thread Takashi Iwai
At Mon, 10 Feb 2003 10:16:08 +0100, Josh Buhl wrote: > > Hello, > > When attempting to record at 44100Hz (arecord -f cd), the process hangs > at 100% cpu load. It works fine if called at 48000 (arecord -f dat). > > Similarly, aplay hangs at 100% cpu load when trying to play a wav file > recorde

Re: [Alsa-devel] available sampling rate detection

2003-02-11 Thread Patrice Tisserand
On Tue, 2003-02-11 at 08:53, Martin Herren wrote: [..] > An additional question, what is the correct way to find out all existing cards/buses >on a system ? Currently we scan /proc/asound/card?/ for all pcmX[cp]. Is there a >better way to do it ? > I think you case use a loop with snd_card_next

Re: [Alsa-devel] available sampling rate detection

2003-02-11 Thread Takashi Iwai
At Tue, 11 Feb 2003 08:53:59 +0100, Martin Herren wrote: > > Hej, > > i'm new on this list as well as to alsa. > > We need to find out the supported sampling rates (and other parameters) for the pcm >devices of soundcards. > > We used snd_pcm_hw_params_test_rate() for this, which according to

Re: [Alsa-devel] wolk kernel headers

2003-02-11 Thread Takashi Iwai
At Mon, 10 Feb 2003 16:14:42 -0500, torsten wrote: > > Since the kerenel headers copied into /usr/include match > the glibc when my kernel was compiled (non-wolk), there > are no files asound.h and asequencer.h (needed by kdelibs). this is a bug of kdelibs. the application shouldn't refer to the

Re: [Alsa-devel] New Debian patches

2003-02-11 Thread Takashi Iwai
Hi, At Mon, 10 Feb 2003 18:59:32 +0100, Jordi Mallach wrote: > > Hello! > > We added these patches in the last few weeks. > > For the alsaconf patch, it's the changes I made to the script to make it > work on Debian. It still lacks propper unbashization (removing let's, > etc). what merit do