Re: [Alsa-devel] problem with alsa mono output

2001-12-08 Thread Jaroslav Kysela
On Fri, 7 Dec 2001, Jack Moffitt wrote: > > Use some file in native hardware format. > > aplay: set_params:724: Channels count non available > > Is what i get for a mono file. I found the bug. It was in an incorrect setup in alsa-lib: Index: pcm_plug.c ==

[Alsa-devel] Port of CS4215 driver

2001-12-08 Thread Miha Tomšič
Hello! At the moment there is no driver for for CS4215 based audio devices. But there is a support for CS4215 audio devices over SPARC Sbus. What would it take to write an ALSA driver based on existing code? Where to start? Are the docs for 0.5.0 drivers useful for 0.9.0 branch? Expec

[Alsa-devel] weird irqs in duplex? -- you're not alone, trident

2001-12-08 Thread Tim Goetze
i'm doing full-duplex mmapped io on emu8k. the good news is the streams stay in sync, the bad news is how the processing occurs is not optimal if one follows the 'schoolbook approach'. remember the alsa schoolbook: while (running) { poll(); available = min (streams->update_available());

Re: [Alsa-devel] weird irqs in duplex? -- you're not alone, trident

2001-12-08 Thread Paul Davis
>i'm doing full-duplex mmapped io on emu8k. the good news is the streams >stay in sync, the bad news is how the processing occurs is not optimal if >one follows the 'schoolbook approach'. > >remember the alsa schoolbook: > >while (running) >{ > poll(); > available = min (streams->update_availabl

[Alsa-devel] snd_pcm_mmap_commit doc, again

2001-12-08 Thread Tim Goetze
the doc to snd_pcm_mmap_commit says * \return 0 on success otherwise a negative error code but on success it rather seems to return >= 0 (the number of frames commited i think). please clarify and fix. tim ___ Alsa-devel mailing list [EMAIL PROT

Re: [Alsa-devel] snd_pcm_mmap_commit doc, again

2001-12-08 Thread Jaroslav Kysela
On Sat, 8 Dec 2001, Tim Goetze wrote: > the doc to snd_pcm_mmap_commit says > > * \return 0 on success otherwise a negative error code > > but on success it rather seems to return >= 0 (the number of frames > commited i think). > > please clarify and fix. Yes, it's definitely wrong. The return

Re: [Alsa-devel] snd_pcm_mmap_commit doc, again

2001-12-08 Thread Abramo Bagnara
Jaroslav Kysela wrote: > > On Sat, 8 Dec 2001, Tim Goetze wrote: > > > the doc to snd_pcm_mmap_commit says > > > > * \return 0 on success otherwise a negative error code > > > > but on success it rather seems to return >= 0 (the number of frames > > commited i think). > > > > please clarify and

[Alsa-devel] Re: devfs unable to handle permission: 2.4.17-pre[4,5]/ALSA-0.9.0beta[9,10]

2001-12-08 Thread Richard Gooch
Roman Zippel writes: > Hi, > > Richard Gooch wrote: > > > Tell me how the driver no longer works. I repeat: you now get a > > warning. You can still use the driver. > > devfs_mk_dir returns an error now, so the driver won't be able to > make new dev nodes available. So far it was legal to manua

[Alsa-devel] Re: devfs unable to handle permission: 2.4.17-pre[4,5]/ALSA-0.9.0beta[9,10]

2001-12-08 Thread Roman Zippel
Hi, On Sat, 8 Dec 2001, Richard Gooch wrote: > > devfs_mk_dir returns an error now, so the driver won't be able to > > make new dev nodes available. So far it was legal to manually create > > a directory under devfs, now it's suddenly an error. > > It was always an error, you just got away with

[Alsa-devel] Re: devfs unable to handle permission: 2.4.17-pre[4,5]/ALSA-0.9.0beta[9,10]

2001-12-08 Thread Richard Gooch
Roman Zippel writes: > Hi, > > On Sat, 8 Dec 2001, Richard Gooch wrote: > > > > devfs_mk_dir returns an error now, so the driver won't be able to > > > make new dev nodes available. So far it was legal to manually create > > > a directory under devfs, now it's suddenly an error. > > > > It was a

[Alsa-devel] Problems compiling ALSA into kernel 2.4.17-pre6 using new binutils

2001-12-08 Thread Jordan Breeding
Hello, I recently grabbed the linux-2.4.17-pre6 source and patched in the "alsa-2001-11-29-1-linux-2.5.1pre3.patch" from ftp.alsa-project.org and easily fixed all the rejected sections of the patch. I then copied all the pertinent ALSA 0.9.0beta10 files into my source tree so that I could