From owner-cvs-all Fri May 26 23: 6:30 2000 Delivered-To: cvs-all@freebsd.org Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by hub.freebsd.org (Postfix) with ESMTP id A26F537B752; Fri, 26 May 2000 23:06:15 -0700 (PDT) (envelope-from gdinolt@pacbell.net) Received: from pacbell.net ([63.201.59.93]) by mta6.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FV700I6AFMANR@mta6.snfc21.pbi.net>; Fri, 26 May 2000 23:06:11 -0700 (PDT) Date: Fri, 26 May 2000 23:06:10 -0700 From: "George W. Dinolt" Subject: Re: cvs commit: src/sys/dev/sound/pci aureal.c csapcm.cemu10k1.ces137x.c neomagic.c t4dwave.c src/sys/dev/sound/pcmchannel.hsrc/sys/dev/sound/isa ad1816.c ess.c mss.c sb.c To: Doug Barton Cc: Cameron Grant , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-id: <392F65D2.AD3242BC@pacbell.net> MIME-version: 1.0 X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.12 i386) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en References: <200005262115.OAA51851@freefall.freebsd.org> <392F533B.81DFAEBC@gorean.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug Barton wrote: > Cameron Grant wrote: > > > > cg 2000/05/26 14:15:47 PDT > > > > Modified files: > > sys/dev/sound/pci aureal.c csapcm.c emu10k1.c es137x.c > > neomagic.c t4dwave.c > > sys/dev/sound/pcm channel.h > > sys/dev/sound/isa ad1816.c ess.c mss.c sb.c > > Log: > > handle emulated dma reads > > > > don't try to get sample size from snd_dbuf > > After this update I get the following when I try to play a wav file > (using waveplay). > > waveplay bong01.wav > File name : bong01.wav > Sampling rate : 8000 Hz > Bits/Sample : 8 Bits > Channels : 1 > Size : 1790 Bytes > > openDSP: Undefined error: 0 > > Remaking /dev/snd0 (for my SBLive) didn't help. > > cat /dev/sndstat > FreeBSD Audio Driver (newpcm) May 26 2000 21:16:48 > Installed devices: > pcm0: at io 0xb800 irq 5 (1p/0r channels duplex) > > HTH, > > Doug > -- > "Live free or die" > - State motto of my ancestral homeland, New Hampshire > > Do YOU Yahoo!? > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe cvs-all" in the body of the message I can report the exact same situation with my SoundBlaster 16 Wave Effects card. Tracing the system calls of waveplay, it appears that there may be a problem with ioctl(0x4,SOUND_PCM_WRITE_CHANNELS,0xbfbff6e4) call. The program closes /dev/dsp and returns at that point. Hope this helps a little. Regards, George Dinolt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message