[Alsa-devel] Re: [alsa-dev]Question regarding period/buffer and error handling

2004-05-28 Thread Måns Rullgård
Cournapeau David [EMAIL PROTECTED] writes: Hi there, For my research, I need to use audio with matlab under linux, and sound support of matlab is kind of... well, crappy (basically, it is opening the /dev/audio file and write to it; on my computer, it doesn't seem to work).

Re: [Alsa-devel] Question regarding period/buffer and error handling

2004-05-28 Thread Cournapeau David
Måns Rullgård wrote: If you are playing fairly short pieces of sound you might be able to use this function I wrote some time ago: function playsnd(y,fs,bits) wf = tempname; ws = warning; warning off wavwrite(y, fs, bits, wf); warning ws wf = [wf '.wav']; [s,o] = unix(sprintf('aplay %s', wf));

[Alsa-devel] Re: Question regarding period/buffer and error handling

2004-05-28 Thread Måns Rullgård
Cournapeau David [EMAIL PROTECTED] writes: Måns Rullgård wrote: If you are playing fairly short pieces of sound you might be able to use this function I wrote some time ago: function playsnd(y,fs,bits) wf = tempname; ws = warning; warning off wavwrite(y, fs, bits, wf); warning ws wf = [wf

[Alsa-devel] alsa-lib spamming terminal

2004-05-28 Thread Måns Rullgård
Is there a way to make alsa-lib stop spamming the terminal with error messages, for instance when a non-blocking open fails? -- Måns Rullgård [EMAIL PROTECTED] --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest

Re: [Alsa-devel] RME 9632 Mixer...

2004-05-28 Thread Takashi Iwai
At Thu, 27 May 2004 16:54:38 +0200 (CEST), Thomas Charbonnel wrote: Thanks Thomas, I really appreciate the work you have done making this all work. I will try and add some notes on the alsa site for the RME 9632 on the mixer settings Ed W You're welcome. It would be indeed nice

[Alsa-devel] Re: 2.6.7-rc1 breaks ATI IXP sound...

2004-05-28 Thread Takashi Iwai
Hi, At Thu, 27 May 2004 22:43:06 -0400, Trond Myklebust wrote: It appears to boil down to changeset [EMAIL PROTECTED]|ChangeSet|20040517133203|52763. More specifically to the line which adds the AC97_SCAP_SKIP_MODEM flag to the mixer probe. That flag causes the mixer probe to exit with an

Re: [Alsa-devel] [PATCH] Audigy LS support.

2004-05-28 Thread James Courtier-Dutton
Takashi Iwai wrote: At Thu, 27 May 2004 20:17:17 +0100, James Courtier-Dutton wrote: Here is my first go at Audigy LS support. It can play sound to the front speakers. great! /* hardware definition */ static snd_pcm_hardware_t snd_audigyls_playback_hw = { .info = (SNDRV_PCM_INFO_MMAP |

Re: [Alsa-devel] [PATCH] Audigy LS support.

2004-05-28 Thread Takashi Iwai
At Fri, 28 May 2004 12:16:09 +0100, James Courtier-Dutton wrote: Takashi Iwai wrote: At Thu, 27 May 2004 20:17:17 +0100, James Courtier-Dutton wrote: Here is my first go at Audigy LS support. It can play sound to the front speakers. great! /* hardware definition */

[Alsa-devel] alsa 1.0.5rc1: envy24control not compileable

2004-05-28 Thread Mario Loritz
Hello list, It seems that in the package alsa-tools-1.0.5rc1 a file is missing. envy24control can't be compiled. Output: ... In file included from envy24control.c:23: envy24control.h:27:22: profiles.h: Datei oder Verzeichnis nicht gefunden envy24control.c: In function `index_active_profile':

Re: [Alsa-devel] alsa-lib spamming terminal

2004-05-28 Thread Clemens Ladisch
Måns Rullgård wrote: Is there a way to make alsa-lib stop spamming the terminal with error messages, for instance when a non-blocking open fails? snd_lib_error_set_handler() HTH Clemens --- This SF.Net email is sponsored by: Oracle 10g

Re: [Alsa-devel] MAYA44 USB audio device doesn't work with 1.0.4.

2004-05-28 Thread Clemens Ladisch
Luke Yelavich wrote: usbcore: registered new driver snd-usb-audio No other message? There should be at least an error message when the driver fails to initialize. Please try to compile the kernel with ALSA's Debug detection enabled, or --with-debug=detect when configuring the package.

Re: [Alsa-devel] Question regarding period/buffer and error handling

2004-05-28 Thread Clemens Ladisch
Cournapeau David wrote: My second problem is related to snd_card_next: If the card value returned by snd_card_next is different from -1, does that always mean than a alsa audio device is present on the system ? It means that same kind of device with an ALSA driver is present. This does not

[Alsa-devel] Re: alsa-lib spamming terminal

2004-05-28 Thread Måns Rullgård
Clemens Ladisch [EMAIL PROTECTED] writes: Måns Rullgård wrote: Is there a way to make alsa-lib stop spamming the terminal with error messages, for instance when a non-blocking open fails? snd_lib_error_set_handler() Thanks. I wonder why I didn't find that when reading the docs. -- Måns

[Alsa-devel] Programming the unknow P16v chip on the Audigy2

2004-05-28 Thread James Courtier-Dutton
The Audigy2 has lots of registers for the emu10k2 chip. These are accessed by programming #define PTR 0x00 /* Indexed register set pointer register*/ /* NOTE: The CHANNELNUM and ADDRESS words can */ /* be modified independently of each other. */

Re: [Alsa-devel] MAYA44 USB audio device doesn't work with 1.0.4.

2004-05-28 Thread Luke Yelavich
At 01:43 AM 29/05/2004, Clemens Ladisch wrote: No other message? There should be at least an error message when the driver fails to initialize. Please try to compile the kernel with ALSA's Debug detection enabled, or --with-debug=detect when configuring the package. Ok, here dmesg, with