Re: [Alsa-devel] USB audio devices

2004-03-11 Thread Clemens Ladisch
Karsten Wiese wrote: We can also vary the exact USB frame time. With UHCI 1.1 USB Hosts there is the SOF Register. ... It really works here already with the us428: The trick is: We first make the USB-Frame longer until we capture 1 Sample Frame more 45 (for 44100). then the USB-Frame is

Re: [Alsa-devel] USB audio devices

2004-03-11 Thread Clemens Ladisch
Clemens Ladisch wrote: Jaroslav Kysela wrote: I don't know much about USB 2.0, Not too much differences for the driver. Well, I should have read the specification before saying such things. The format of synchronization information has changed, too; it's not 10.14 bits but 12.13 packed

Re: [Alsa-devel] PCM hw mixing with volume

2004-03-11 Thread Giuliano Pochini
On 10-Mar-2004 Ove Kaaven wrote: Uhm... I think first of all we need a way to know how many virtual channels are available (hw and sw) For the EMU10K1, snd_pcm_info_get_subdevices_count() and snd_pcm_info_get_subdevices_avail() works for me. But I suppose you're right that this isn't a

Re: [Alsa-devel] Hoping someone can help me (Assertion `frames = snd_pcm_mmap_avail(pcm)' failed.)

2004-03-11 Thread Ove Kaaven
ons, 10.03.2004 kl. 18.32 skrev Niels Christian Ørgaard: Hey This is the nth day I'm stuck reading the ALSA-documentation over and over again, and I'm at a loss figuring out whats wrong. Basically, I have a running thread capturing data from an ALSA-device, and within useconds I get:

Re: [Alsa-devel] Hoping someone can help me (Assertion `frames = snd_pcm_mmap_avail(pcm)' failed.)

2004-03-11 Thread Jaroslav Kysela
On Thu, 11 Mar 2004, Ove Kaaven wrote: ons, 10.03.2004 kl. 18.32 skrev Niels Christian ?rgaard: Hey This is the nth day I'm stuck reading the ALSA-documentation over and over again, and I'm at a loss figuring out whats wrong. Basically, I have a running thread capturing data

Re: [Alsa-devel] Hoping someone can help me (Assertion `frames = snd_pcm_mmap_avail(pcm)' failed.)

2004-03-11 Thread Jaroslav Kysela
On Wed, 10 Mar 2004, Niels Christian ?rgaard wrote: Hey This is the nth day I'm stuck reading the ALSA-documentation over and over again, and I'm at a loss figuring out whats wrong. Basically, I have a running thread capturing data from an ALSA-device, and within useconds I get:

[Alsa-devel] unsubscrive

2004-03-11 Thread midall
--- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system

[Alsa-devel] drivers in alsa-driver tree with 2.6 kernels

2004-03-11 Thread Takashi Iwai
Hi, does anyone use the following drivers with a 2.6 kernel successfully? if it's confirmed, i'd like to move them to alsa-kernel tree, so that they can be submitted to 2.6 linux tree soon. - snd-usb-usx2y - snd-hdspm - snd-intel8x0m note that now au88x0 and atiixp drivers are already in

[Alsa-devel] snd-usb-audio hang when rmmoding after unplugging midisport1x1

2004-03-11 Thread Mathieu Geli
Hello, I've got this 'big' problem for the hotplug feature: I'm trying to plug/unplug the midisport1x1 from M-Audio. The plug works like a charm, hotplug does its job, load the firmware (fxload) and snd-usb-audio, if not inserted, is auto-loaded. But hen I unplug the device, and I want to plug

Re: FW: [Alsa-devel] DMA producer/consumer

2004-03-11 Thread Takashi Iwai
At Thu, 11 Mar 2004 09:30:31 +0530, Gupta, Kshitij wrote: Any comments on this would be really helpful... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gupta, Kshitij Sent: Wednesday, March 10, 2004 5:06 PM To: [EMAIL PROTECTED] Subject:

[Alsa-devel] NForce hardware mixing (snd_intel8x0)

2004-03-11 Thread Cláudio Luís Marques Sampaio (Patola)
I don't know if this is the best place to ask this, but is there any statements on when hardware sound mixing with nforce-like soundcards (snd_intel8x0) will be ready? TIA. Cláudio Sampaio --- This SF.Net email is sponsored by: IBM Linux

Re: [Alsa-devel] Re: [2.6.3] snd_intel8x0: playing to fast

2004-03-11 Thread Luca
Il Wed, Mar 10, 2004 at 11:08:22PM +0100, M?ns Rullg?rd ha scritto: *This message was transferred with a trial version of CommuniGate(tm) Pro* Luca [EMAIL PROTECTED] writes: Hi, I'm using linux 2.6.3 with alsalib 1.0.2c. When using alsa output plugin of XMMS or mplayer the song is

Re: [Alsa-devel] snd-usb-audio hang when rmmoding after unplugging midisport1x1

2004-03-11 Thread Clemens Ladisch
Mathieu Geli wrote: I'm trying to plug/unplug the midisport1x1 from M-Audio. The plug works like a charm, hotplug does its job, load the firmware (fxload) and snd-usb-audio, if not inserted, is auto-loaded. But hen I unplug the device, and I want to plug it again, the usb just hang, trying to

Re: [Alsa-devel] drivers in alsa-driver tree with 2.6 kernels

2004-03-11 Thread Sasha Khapyorsky
On Thu, 11 Mar 2004 14:27:59 +0100 Takashi Iwai [EMAIL PROTECTED] wrote: Hi, does anyone use the following drivers with a 2.6 kernel successfully? if it's confirmed, i'd like to move them to alsa-kernel tree, so that they can be submitted to 2.6 linux tree soon. - snd-usb-usx2y -

Re: [Alsa-devel] Hoping someone can help me (Assertion `frames = snd_pcm_mmap_avail(pcm)' failed.)

2004-03-11 Thread Niels Christian Ørgaard
On Thu, 2004-03-11 at 12:19, Jaroslav Kysela wrote: On Thu, 11 Mar 2004, Ove Kaaven wrote: ons, 10.03.2004 kl. 18.32 skrev Niels Christian ?rgaard: The reason for me being so confused is that this occures at the call snd_pcm_readi(snd_pcm_t *, void *, snd_pcm_uframes_t ), which for

[Alsa-devel] Re: [2.6.3] snd_intel8x0: playing to fast

2004-03-11 Thread Måns Rullgård
Luca [EMAIL PROTECTED] writes: Il Wed, Mar 10, 2004 at 11:08:22PM +0100, M?ns Rullg?rd ha scritto: *This message was transferred with a trial version of CommuniGate(tm) Pro* Luca [EMAIL PROTECTED] writes: Hi, I'm using linux 2.6.3 with alsalib 1.0.2c. When using alsa output plugin of

Re: FW: [Alsa-devel] DMA producer/consumer

2004-03-11 Thread Jaroslav Kysela
On Thu, 11 Mar 2004, Takashi Iwai wrote: unfortunately, the current implementation of ALSA PCM middle layer isn't well suited for this kind of hardwares. it'll be a bit more complicated than you think. I don't think that's this case. I'm not sure, if the basic midlevel mechanism is

Re: [Alsa-devel] drivers in alsa-driver tree with 2.6 kernels

2004-03-11 Thread Martin Langer
On Thu, Mar 11, 2004 at 02:27:59PM +0100, Takashi Iwai wrote: Hi, does anyone use the following drivers with a 2.6 kernel successfully? if it's confirmed, i'd like to move them to alsa-kernel tree, so that they can be submitted to 2.6 linux tree soon. - snd-usb-usx2y - snd-hdspm -

Re: FW: [Alsa-devel] DMA producer/consumer

2004-03-11 Thread Jaroslav Kysela
On Thu, 11 Mar 2004, Takashi Iwai wrote: At Thu, 11 Mar 2004 18:43:39 +0100 (CET), Jaroslav wrote: On Thu, 11 Mar 2004, Takashi Iwai wrote: unfortunately, the current implementation of ALSA PCM middle layer isn't well suited for this kind of hardwares. it'll be a bit more

Re: FW: [Alsa-devel] DMA producer/consumer

2004-03-11 Thread Takashi Iwai
At Thu, 11 Mar 2004 18:43:39 +0100 (CET), Jaroslav wrote: On Thu, 11 Mar 2004, Takashi Iwai wrote: unfortunately, the current implementation of ALSA PCM middle layer isn't well suited for this kind of hardwares. it'll be a bit more complicated than you think. I don't think that's

Re: [Alsa-devel] drivers in alsa-driver tree with 2.6 kernels

2004-03-11 Thread Takashi Iwai
At Thu, 11 Mar 2004 19:08:47 +0100, Martin Langer wrote: On Thu, Mar 11, 2004 at 02:27:59PM +0100, Takashi Iwai wrote: Hi, does anyone use the following drivers with a 2.6 kernel successfully? if it's confirmed, i'd like to move them to alsa-kernel tree, so that they can be submitted

Re: [Alsa-devel] drivers in alsa-driver tree with 2.6 kernels

2004-03-11 Thread Takashi Iwai
At Thu, 11 Mar 2004 17:53:46 +0200, Sasha Khapyorsky wrote: On Thu, 11 Mar 2004 14:27:59 +0100 Takashi Iwai [EMAIL PROTECTED] wrote: Hi, does anyone use the following drivers with a 2.6 kernel successfully? if it's confirmed, i'd like to move them to alsa-kernel tree, so that they

[Alsa-devel] Re: Badness in remove_proc_entry called from snd_via82xx_remove (2.6.4-mm)

2004-03-11 Thread Takashi Iwai
At Thu, 11 Mar 2004 18:38:16 +0100, Alexander Nyberg wrote: This happens at shutdown when alsa is to be closed with kernel 2.6.4-mm. I'm running debian sid, snd_via82xx compiled as module. Happens also on 2.6.4-rc2-mm1, I can try on more kernels as well if it is not a clear case. I

[Alsa-devel] problems with mono audio.

2004-03-11 Thread James Courtier-Dutton
Which devices can a mono stream be played on? It seems that the only device a mono stream can be played on is the default pcm device. Devices like front and rear are stereo only devices. It would be nice if alsa-lib would open one of these devices, and if the application tries to set 1 channel

Re: [Alsa-devel] problems with mono audio.

2004-03-11 Thread Jaroslav Kysela
On Thu, 11 Mar 2004, James Courtier-Dutton wrote: Which devices can a mono stream be played on? It seems that the only device a mono stream can be played on is the default pcm device. Devices like front and rear are stereo only devices. It would be nice if alsa-lib would open one of these

Re: [Alsa-devel] snd-usb-audio hang when rmmoding after unplugging midisport1x1

2004-03-11 Thread Mathieu Geli
Thanks for your reply, ok, what I did, is first to apply your patch to my source tree (1.0.3rc2), clean, compile, install, and even reboot. That doesn't output anymore the two lines urb status -104, and usb_submit_urb: -32 but still hang after printing: drivers/usb/core/usb.c: deregistering

Re: [Alsa-devel] problems with mono audio.

2004-03-11 Thread James Courtier-Dutton
Jaroslav Kysela wrote: On Thu, 11 Mar 2004, James Courtier-Dutton wrote: Which devices can a mono stream be played on? It seems that the only device a mono stream can be played on is the default pcm device. Devices like front and rear are stereo only devices. It would be nice if alsa-lib would

Re: [Alsa-devel] snd-usb-audio hang when rmmoding after unplugging midisport1x1

2004-03-11 Thread Mathieu Geli
sorry about my fuzzy observations, my bad, even with the last CVS I got those errors line when rmmoding snd-usb-audio, while the device is on. (I didn't redo the same actions than before) Is there any way to maybe unplug the device safely (usbfs point of view) ? I was guessing smtgh like a

[Alsa-devel] usx2y firmware update

2004-03-11 Thread Martin Langer
Hi, Tascam has released v3.24 of their windows drivers and the firmware for the us224 and us428 changed (only EZ-USB), but I found no changes for the us122. You can find both changed and converted firmware files here: http://www.langerland.de/us122/usx2y-firmware_v3.24.tar.bz2 Please test! I

[Alsa-devel] snd_pcm_wait strangeness when resampling

2004-03-11 Thread Måns Rullgård
I've noticed some strange things with snd_pcm_wait. My application opens the sound device in non-blocking mode and uses snd_pcm_wait whenever snd_pcm_writei return EAGAIN. This works fine as long as ALSA isn't doing any resampling. However, when resampling (e.g. from 44.1 kHz to 48 kHz)