From owner-freebsd-hackers Thu Nov 27 15:46:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA01521 for hackers-outgoing; Thu, 27 Nov 1997 15:46:52 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA01516 for ; Thu, 27 Nov 1997 15:46:47 -0800 (PST) (envelope-from dmaddox@scsn.net) Received: from rhiannon.scsn.net ([208.133.153.41]) by mail.scsn.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-41950U6000L1100S0) with ESMTP id AAA138; Thu, 27 Nov 1997 18:46:34 -0500 Received: (from root@localhost) by rhiannon.scsn.net (8.8.8/8.8.7) id SAA16483; Thu, 27 Nov 1997 18:46:26 -0500 (EST) (envelope-from root) Message-ID: <19971127184625.53314@scsn.net> Date: Thu, 27 Nov 1997 18:46:25 -0500 From: dmaddox@scsn.net (Donald J. Maddox) To: Luigi Rizzo Cc: Mark Mayo , hasty@rah.star-gate.com, didier@omnix.net, hackers@FreeBSD.ORG Subject: Re: RealAudio/Video Reply-To: dmaddox@scsn.net References: <19971127141353.57146@vmunix.com> <199711272149.WAA09137@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199711272149.WAA09137@labinfo.iet.unipi.it>; from Luigi Rizzo on Thu, Nov 27, 1997 at 10:49:02PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, Nov 27, 1997 at 10:49:02PM +0100, Luigi Rizzo wrote: > > > If you have a recent -current then shouldn't have any problems > > > using the realaudio player with your sb card. > > > > Is one supposed to use the traditional snd0 Voxware drivers, or > > Luigi's new sound code for this? > > both should work. > > luigi Neither works on my -current box... I no longer get the error messages about unsupported ioctls, but the player still hangs after each frame of video. Hitting the pause button followed by play will advance one frame each time, accompanied by a very brief spurt of audio. I have tried this with both pcm0 and snd0. Here is my current dmesg output, followed by `cat /dev/sndstat`: # dmesg Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Mon Nov 24 17:28:36 EST 1997 root@rhiannon.scsn.net:/usr/src/sys/compile/RHIANNON CPU: Pentium (166.19-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x1bf real memory = 33554432 (32768K bytes) avail memory = 30605312 (29888K bytes) Probing for devices on PCI bus 0: chip0: rev 0x01 on pci0.0.0 chip1: rev 0x00 on pci0.7.0 ide_pci0: rev 0x00 on pci0.7.1 ahc0: rev 0x00 int a irq 12 on pci0.10.0 ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs scbus0 at ahc0 bus 0 ahc0: target 0 Tagged Queuing Device sd0 at scbus0 target 0 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 2040MB (4178874 512 byte sectors) sd0: with 2708 cyls, 19 heads, and an average 81 sectors/track ahc0: target 1 Tagged Queuing Device sd1 at scbus0 target 1 lun 0 sd1: type 0 fixed SCSI 2 sd1: Direct-Access 507MB (1039329 512 byte sectors) sd1: with 2380 cyls, 6 heads, and an average 72 sectors/track vga0: rev 0x00 int a irq 11 on pci0.12.0 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio3 at 0x2e8-0x2ef irq 9 on isa sio3: type 16550A pca0 on motherboard pca0: PC speaker audio driver wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa wdc0: unit 0 (wd0): , DMA, 32-bit, multi-block-32 wd0: 1277MB (2615760 sectors), 2595 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (atapi): , removable, iordy atapi0.1: unknown phase fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in npx0 on motherboard npx0: INT 16 interface sb0 at 0x220 irq 5 drq 1 on isa snd0: sbxvi0 at ? drq 5 on isa snd0: sbmidi0 at 0x330 on isa snd0: opl0 at 0x388 on isa snd0: joy0 at 0x201 on isa joy0: joystick ccd0-3: Concatenated disk drivers # cat /dev/sndstat VoxWare Sound Driver:3.5-alpha15-970902 (Wed Aug 6 22:58:35 PDT 1997 Amancio Hasty@rah.star-gate.com) Config options: Installed drivers: Type 1: OPL-2/OPL-3 FM Type 2: SoundBlaster Type 6: SoundBlaster16 Type 7: SB16 MIDI Card config: SoundBlaster at 0x220 irq 5 drq 1 SoundBlaster16 at 0xffffffff irq 1 drq 5 SB16 MIDI at 0x330 irq 1 OPL-2/OPL-3 FM at 0x388 irq 1 Audio devices: 0: SoundBlaster 16 4.13 Synth devices: 0: Yamaha OPL-3 Midi devices: 0: SoundBlaster 16 Midi Timers: 0: System clock Mixers: 0: SoundBlaster