Re: [Alsa-devel] snd_pcm_mmap_begin returns 0 but sets areas to NULL

2003-07-22 Thread Jaroslav Kysela
On Tue, 22 Jul 2003, Carlo Wood wrote: > Is it ever allowed that: > > snd_pcm_channel_area_t const* areas; > snd_pcm_uframes_t offset; > snd_pcm_uframes_t size = period_size; > if (size > 0) > { > snd_pcm_uframes_t frames = size; > int err = snd_pcm_mmap_begin(hand

[Alsa-devel] I thought it would simple....

2003-07-22 Thread Tom Watson
I am attempting to write a "simple" audio playback program. Well, I thought it would be, but... Somehow (thru strace) the 'snd_pcm_writei' call goes and eventually does a system 'poll' call, but it doesn't return indicating that a write is OK to do. I've used similar parameters in 'aplay' and I se

[Alsa-devel] snd_pcm_status_*_tstamp() before snd_pcm_mmap_readn ?

2003-07-22 Thread Case van Rij
Hi, I'm trying to use a modified aplay.c to do non-stop recording on a fairly large number of channels, periodically 'rolling over' the output file in capturev_go( ) before the call to pcm_readv( ) So far so good, except I need to get an exact timestamp of the data that will be returned by pcm_

Re: [Alsa-devel] SIS7012 works but get's frozen

2003-07-22 Thread Lisandro Pin
From: Takashi Iwai <[EMAIL PROTECTED]> To: "Lisandro Pin" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [Alsa-devel] SIS7012 works but get's frozen Date: Tue, 22 Jul 2003 18:47:25 +0200 At Tue, 22 Jul 2003 16:43:16 +, Lisandro Pin wrote: > > > >I also have a ECS K7S5A, and i experi

Re: [Alsa-devel] VT1712 (ENVY 24) -Consumer mode of playback andcapture.

2003-07-22 Thread Anthony Truong
Hello Jaroslav, I'll send you the patches in a few days. I think I'm very close to resolving the playback problems as well. Regards, Anthony Dominic Truong. On Tue, 2003-07-22 at 15:17, Jaroslav Kysela wrote: On Mon, 21 Jul 2003, Anthony Truong wrote: > If you are interested in exchanging info

[Alsa-devel] Acquring poll descriptors

2003-07-22 Thread aknuds-1
Hi Was just wondering if there is any particular reason to acquire a pcm's poll descriptor(s) (snd_pcm_poll_descriptors) before each poll, or can I simply do it after opening the pcm and be done with it? Can the associated poll fds, or even the number of fds change after a pcm has been opened?

Re: [Alsa-devel] Problems with VIA8233A (todays cvs)

2003-07-22 Thread Joerg Mayer
On Tue, Jul 22, 2003 at 08:47:17PM +0200, Takashi Iwai wrote: > At Tue, 22 Jul 2003 20:26:49 +0200, > > kernel: ALSA ../alsa-kernel/pci/via82xx.c:687: invalid via82xx_cur_ptr, using last > > valid pointer > > last message repeated 205 times > try to add dxs_support=3 to snd-via82xx module option.

Re: [Alsa-devel] ice1712 pro mode and general playback performance(was alsaplayer)

2003-07-22 Thread Eduard Hasenleithner
Hello, いわい さん! Thank you for your answer. The problem is that it does not solve my basic problem with my "HiFi" soundcard :( On Tue, Jul 08, 2003 at 01:06:11PM +0200, Takashi Iwai wrote: > > 2. With the ice1712, 256k of buffer memory and assuming 44.1kSps only > > 0.13 seconds of playback can be

Re: [Alsa-devel] Problems with VIA8233A (todays cvs)

2003-07-22 Thread Takashi Iwai
At Tue, 22 Jul 2003 20:26:49 +0200, Joerg Mayer wrote: > > Hello, > > I'm having trouble with a motherboard that has a via8233 chipset > (msi kt3 Ultra series, MS-6380E v1.X). Sound is sort of working, but > not quite perfect: when using winex, sound effects stutter, sometimes > it "�bersteuert"

[Alsa-devel] Problems with VIA8233A (todays cvs)

2003-07-22 Thread Joerg Mayer
Hello, I'm having trouble with a motherboard that has a via8233 chipset (msi kt3 Ultra series, MS-6380E v1.X). Sound is sort of working, but not quite perfect: when using winex, sound effects stutter, sometimes it "übersteuert" (I don't know the English word :) and some not so nice messages are di

Re: [Alsa-devel] aplay not playing MPEG

2003-07-22 Thread Jaroslav Kysela
On Mon, 21 Jul 2003, Eliot Blennerhassett wrote: > Can aplay/alsa send raw MPEG data to a card? > > aplay -Dhw:0 -v -t raw --channels=2 --format=MPEG --rate=44100 ~/audio/44khz > Playing raw data '/home/eliot/audio/44khz' : MPEG, Rate 44100 Hz, Stereo > aplay: set_params:805: Sample format

Re: [Alsa-devel] SIS7012 works but get's frozen

2003-07-22 Thread Takashi Iwai
At Tue, 22 Jul 2003 16:43:16 +, Lisandro Pin wrote: > > > >I also have a ECS K7S5A, and i experienced something funny while > >trying > > > to play the attached file (about 45k, sorry, it's the only way :). It's > >an > > > old ICQ soundclip i wanted to use to warn me of new mail, so i h

Re: [Alsa-devel] Intel 865G -- no sound

2003-07-22 Thread Takashi Iwai
At 22 Jul 2003 11:20:42 -0500, Stephen Waters wrote: > > [1 ] > On Tue, 2003-07-22 at 10:55, Takashi Iwai wrote: > > At 21 Jul 2003 09:00:25 -0500, > > Stephen Waters wrote: > > > > > > Hi, > > > > > > I'm running Linux 2.4.20 with ALSA 0.9.4 on Intel 865G (Dell GX270, if > > > you wanna look u

Re: [Alsa-devel] No sound output on PowerBook Titanium II (TAS3001c)- resend (subscribed now)

2003-07-22 Thread ted
On Tue, 22 Jul 2003, Takashi Iwai wrote: > > I've been unable to get the latest stable ALSA to produce any sound at > > all. I even tried the "loading+unloading dmasound_pmac first" trick, but > > to no avail. Everything looks fine, but applications using ALSA refuse to > > work or crash. Using

[Alsa-devel] buggy ESS maestro 2E driver

2003-07-22 Thread Djamel Ouerdane
Hi, I know this one is a known bug, as far as I could see from ealier messages but I thought I would repeat it once more: the driver snd-es1968 handling the sound card ESS Maestro 2E that can be found in many laptops, is buggy, you cannot record anything but garbage. Ok, nothing new here but nowa

Re: [Alsa-devel] alsa-utils make error

2003-07-22 Thread Takashi Iwai
At Tue, 22 Jul 2003 17:59:33 +0200, Orm Finnendahl wrote: > > Am Dienstag, den 22. Juli 2003 um 17:56:29 Uhr (+0200) schrieb Takashi Iwai: > > > > well said, it's a gcc problem. > > > > am I posting to the wrong list? not quite, but i'd say it's hard to debug from the ALSA side. please try to co

Re: [Alsa-devel] snd_pcm_mmap_begin returns 0 but sets areas to NULL

2003-07-22 Thread Takashi Iwai
At Tue, 22 Jul 2003 16:38:34 +0200, Carlo Wood wrote: > > (gdb) p *pcm > $6 = {dl_handle = 0x40016670, name = 0x81a5088 "emu10k1", type = SND_PCM_TYPE_HW, > stream = SND_PCM_STREAM_CAPTURE, > mode = 0, poll_fd = 9, poll_events = 1, setup = 1, access = > SND_PCM_ACCESS_RW_INTERLEAVED,

Re: [Alsa-devel] alsa-utils make error

2003-07-22 Thread Takashi Iwai
At Tue, 22 Jul 2003 16:38:04 +0200, Orm Finnendahl wrote: > > Hi, > > trying to compile alsa-utils from 2003-07-22.tar.bz2 cvs-snapshot > stops at amixer.c and gives the following error: > > make[1]: Entering directory `/root/install/alsa/alsa-utils/amixer' > gcc -DHAVE_CONFIG_H -I. -I. -I../inc

Re: [Alsa-devel] Intel 865G -- no sound

2003-07-22 Thread Takashi Iwai
At 21 Jul 2003 09:00:25 -0500, Stephen Waters wrote: > > Hi, > > I'm running Linux 2.4.20 with ALSA 0.9.4 on Intel 865G (Dell GX270, if > you wanna look up the machine at http://support.dell.com). Although the > snd-intel8x0 driver, etc. load fine, no sound actually comes out of the > card. I've

[Alsa-devel] Re: intel8x0 driver with Intel 865G -- no sound

2003-07-22 Thread Stephen Waters
More info: with the cdrom playing it still doesn't issue any sound. It works fine under Windows XP (so I don't think the problem is between the keyboard and the chair...) Random guess: the card isn't being initialized quite right? Thanks for any help, -s On Mon, 2003-07-21 at 09:00, Stephen Wate

Re: [Alsa-devel] snd_pcm_mmap_begin returns 0 but sets areas to NULL (solved)

2003-07-22 Thread Carlo Wood
Still don't know if snd_pcm_mmap_begin shouldn't return an error, but the reason was that I was using the wrong ACCESS mode, not one with MMAP in it. -- Carlo Wood <[EMAIL PROTECTED]> --- This SF.net email is sponsored by: VM Ware With VMware

Re: [Alsa-devel] snd_pcm_mmap_begin returns 0 but sets areas to NULL

2003-07-22 Thread Carlo Wood
On Tue, Jul 22, 2003 at 03:51:58PM +0200, Carlo Wood wrote: > int err = snd_pcm_mmap_begin(handle, &areas, &offset, &frames); > > returns err == 0, but results in areas == NULL ? I looked deeper into it, and it happens because snd_pcm_mmap_begin returns snd_pcm_mmap_areas() which returns pc

[Alsa-devel] alsa-utils make error

2003-07-22 Thread Orm Finnendahl
Hi, trying to compile alsa-utils from 2003-07-22.tar.bz2 cvs-snapshot stops at amixer.c and gives the following error: make[1]: Entering directory `/root/install/alsa/alsa-utils/amixer' gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include-g -O2 -c amixer.c gcc: Internal error: Speicherzugrif

Re: [Alsa-devel] No sound output on PowerBook Titanium II(TAS3001c) - resend (subscribed now)

2003-07-22 Thread Stephen Waters
On Tue, 2003-07-22 at 04:03, Takashi Iwai wrote: > At Mon, 21 Jul 2003 17:53:15 -0400 (EDT), > ted wrote: > > > > (Originally sent on the 17th, subscribed and resent due to lack of > > response from moderators.) > > there is no human moderator but it simply goes to /dev/null... Can you at least

[Alsa-devel] snd_pcm_mmap_begin returns 0 but sets areas to NULL

2003-07-22 Thread Carlo Wood
Is it ever allowed that: snd_pcm_channel_area_t const* areas; snd_pcm_uframes_t offset; snd_pcm_uframes_t size = period_size; if (size > 0) { snd_pcm_uframes_t frames = size; int err = snd_pcm_mmap_begin(handle, &areas, &offset, &frames); returns err == 0, but resu

[Alsa-devel] Re: Measuring latency on my Apple G3

2003-07-22 Thread Ismael Valladolid Torres
Michel Dänzer escribio el 22/07/03 02:22: Probably a GTK bug, not related to this thread. I know, I know... ;) Which isn't very surprising, as they can use parts of the graphics chip that we don't have specs for, for one. Sure. Only I remember having installed Mandrake 9.1, and I think video perf

Re: [Alsa-devel] No sound output on PowerBook Titanium II (TAS3001c) - resend (subscribed now)

2003-07-22 Thread Takashi Iwai
At Mon, 21 Jul 2003 17:53:15 -0400 (EDT), ted wrote: > > (Originally sent on the 17th, subscribed and resent due to lack of > response from moderators.) there is no human moderator but it simply goes to /dev/null... > I've been unable to get the latest stable ALSA to produce any sound at > all.

Re: [Alsa-devel] aplay not playing MPEG

2003-07-22 Thread Takashi Iwai
At Mon, 21 Jul 2003 14:42:17 -0700 (PDT), Eliot Blennerhassett wrote: > > Can aplay/alsa send raw MPEG data to a card? > > aplay -Dhw:0 -v -t raw --channels=2 --format=MPEG --rate=44100 ~/audio/44khz > Playing raw data '/home/eliot/audio/44khz' : MPEG, Rate 44100 Hz, Stereo > aplay: set_pa

Re: [Alsa-devel] VT1712 (ENVY 24) -Consumer mode of playback andcapture.

2003-07-22 Thread Jaroslav Kysela
On Mon, 21 Jul 2003, Anthony Truong wrote: > If you are interested in exchanging info. about this audio controller, > please let me know. > As you know, the ALSA driver is completely broken for consumer mode > playback and capture. Nothing works! I know it. > I manage to have capture working.