On Sun, Dec 20, 2009 at 01:03:28PM -0600, Chris Bennett wrote: > I've just gotten a new setup with azalia > > Can I output ac3 with something like mplayer to spdif and then > decode it externally? > Or even better, decode it internally and output the channels?
you can decode and play it locally. pretty sure your azalia codec supports multichannel output. you'll have to use the -channels switch in mplayer, or it will downmix to stereo by default. I don't have any s/pdif gear, so I can't really comment on that. > OpenBSD 4.6-current (GENERIC.MP) #351: Mon Dec 14 00:42:17 MST 2009 > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP > cpu0: Intel(R) Pentium(R) 4 CPU 3.20GHz ("GenuineIntel" 686-class) 3.20 GHz > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,xTPR > real mem = 517361664 (493MB) > avail mem = 492638208 (469MB) > mainbus0 at root > bios0 at mainbus0: AT/286+ BIOS, date 07/16/06, SMBIOS rev. 2.4 @ > 0xe4410 (32 entries) > bios0: vendor Intel Corp. version "MQ96510J.86A.0816.2006.0716.2308" > date 07/16/2006 > bios0: Intel Corporation DQ963FX > acpi0 at bios0: rev 0 > acpi0: tables DSDT FACP APIC WDDT MCFG ASF! > acpi0: wakeup devices SLPB(S4) P32_(S4) UAR1(S4) UAR2(S4) ILAN(S4) > PEX0(S4) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) UHC1(S3) > UHC2(S3) UHC3(S3) UHC4(S3) EHCI(S3) EHC2(S3) UH42(S3) UHC5(S3) > AZAL(S3) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: apic clock running at 199MHz > cpu1 at mainbus0: apid 1 (application processor) > cpu1: Intel(R) Pentium(R) 4 CPU 3.20GHz ("GenuineIntel" 686-class) 3.20 GHz > cpu1: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,xTPR > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins > ioapic0: misconfigured as apic 0, remapped to apid 2 > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 6 (P32_) > acpiprt2 at acpi0: bus 1 (PEX0) > acpiprt3 at acpi0: bus 2 (PEX1) > acpiprt4 at acpi0: bus 3 (PEX2) > acpiprt5 at acpi0: bus 4 (PEX3) > acpiprt6 at acpi0: bus 5 (PEX4) > acpiprt7 at acpi0: bus -1 (PEX5) > acpicpu0 at acpi0 > acpicpu1 at acpi0 > acpibtn0 at acpi0: SLPB > bios0: ROM list: 0xc0000/0xb000! 0xcb000/0x1000 0xcc000/0x1000 > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > pchb0 at pci0 dev 0 function 0 "Intel 82Q965 Host" rev 0x02 > vga1 at pci0 dev 2 function 0 "Intel 82Q965 Video" rev 0x02 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > intagp0 at vga1 > agp0 at intagp0: aperture at 0x20000000, size 0x10000000 > inteldrm0 at vga1: apic 2 int 16 (irq 11) > drm0 at inteldrm0 > "Intel 82Q965 HECI" rev 0x02 at pci0 dev 3 function 0 not configured > em0 at pci0 dev 25 function 0 "Intel ICH8 IGP C" rev 0x02: apic 2 > int 20 (irq 9), address 00:16:76:d5:c8:08 > uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: apic 2 > int 16 (irq 11) > uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: apic 2 > int 21 (irq 10) > ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: apic 2 > int 18 (irq 11) > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x02: > apic 2 int 22 (irq 9) > azalia0: codecs: Sigmatel STAC9227X > audio0 at azalia0 > ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02: apic 2 > int 17 (irq 255) > pci1 at ppb0 bus 1 > ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x02: apic 2 > int 16 (irq 255) > pci2 at ppb1 bus 2 > pciide0 at pci2 dev 0 function 0 "Marvell 88SE6101 IDE" rev 0xb1: > DMA (unsupported), channel 0 configured to native-PCI, channel 1 > configured to native-PCI > pciide0: using apic 2 int 17 (irq 10) for native-PCI interrupt > pciide0: channel 0 ignored (not responding; disabled or no drives?) > pciide0: channel 1 ignored (not responding; disabled or no drives?) > ppb2 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x02: apic 2 > int 18 (irq 255) > pci3 at ppb2 bus 3 > ppb3 at pci0 dev 28 function 3 "Intel 82801H PCIE" rev 0x02: apic 2 > int 19 (irq 255) > pci4 at ppb3 bus 4 > ppb4 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x02: apic 2 > int 17 (irq 255) > pci5 at ppb4 bus 5 > uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: apic 2 > int 23 (irq 11) > uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: apic 2 > int 19 (irq 11) > uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x02: apic 2 > int 18 (irq 11) > ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: apic 2 > int 23 (irq 11) > usb1 at ehci1: USB revision 2.0 > uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > ppb5 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xf2 > pci6 at ppb5 bus 6 > bktr0 at pci6 dev 0 function 0 "Brooktree BT878" rev 0x11: apic 2 > int 21 (irq 10) > bktr0: ATI TV-Wonder/VE, Philips NTSC tuner. > "Brooktree BT878 Audio" rev 0x11 at pci6 dev 0 function 1 not configured > ichpcib0 at pci0 dev 31 function 0 "Intel 82801H LPC" rev 0x02: PM disabled > pciide1 at pci0 dev 31 function 2 "Intel 82801H SATA" rev 0x02: DMA, > channel 0 configured to native-PCI, channel 1 configured to > native-PCI > pciide1: using apic 2 int 19 (irq 11) for native-PCI interrupt > atapiscsi0 at pciide1 channel 0 drive 0 > scsibus0 at atapiscsi0: 2 targets > cd0 at scsibus0 targ 0 lun 0: <ATAPI, iHAS324 Y, BL1X> ATAPI 5/cdrom > removable > cd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 > ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x02: > apic 2 int 21 (irq 10) > iic0 at ichiic0 > spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-4200CL3 > pciide2 at pci0 dev 31 function 5 "Intel 82801H SATA" rev 0x02: DMA, > channel 0 wired to native-PCI, channel 1 wired to native-PCI > pciide2: using apic 2 int 19 (irq 11) for native-PCI interrupt > wd0 at pciide2 channel 1 drive 0: <Hitachi HDS721050CLA362> > wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors > wd0(pciide2:1:0): using PIO mode 4, Ultra-DMA mode 6 > usb2 at uhci0: USB revision 1.0 > uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb3 at uhci1: USB revision 1.0 > uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb4 at uhci2: USB revision 1.0 > uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb5 at uhci3: USB revision 1.0 > uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb6 at uhci4: USB revision 1.0 > uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > isa0 at ichpcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > pckbc0 at isa0 port 0x60/5 > pcppi0 at isa0 port 0x61 > midi0 at pcppi0: <PC speaker> > spkr0 at pcppi0 > lpt0 at isa0 port 0x378/4 irq 7 > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec > mtrr: Pentium Pro MTRR support > uhub7 at uhub5 port 2 "ALCOR Generic USB Hub" rev 1.10/3.12 addr 2 > uhidev0 at uhub7 port 1 configuration 1 interface 0 "Microsoft > Natural\M-. Ergonomic Keyboard 4000" rev 2.00/1.73 addr 3 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 modifier keys, 6 key codes > wskbd0 at ukbd0: console keyboard, using wsdisplay0 > uhidev1 at uhub7 port 1 configuration 1 interface 1 "Microsoft > Natural\M-. Ergonomic Keyboard 4000" rev 2.00/1.73 addr 3 > uhidev1: iclass 3/0, 1 report id > uhid0 at uhidev1 reportid 1: input=7, output=0, feature=0 > uhidev2 at uhub7 port 2 configuration 1 interface 0 "Logitech USB > Receiver" rev 1.10/25.00 addr 4 > uhidev2: iclass 3/1 > ums0 at uhidev2: 16 buttons, Z dir > wsmouse0 at ums0 mux 0 > uhidev3 at uhub7 port 3 configuration 1 interface 0 "No brand HA2 > 1.0" rev 1.10/1.00 addr 5 > uhidev3: iclass 3/0 > ukbd1 at uhidev3: 8 modifier keys, 6 key codes > wskbd1 at ukbd1 mux 1 > wskbd1: connecting to wsdisplay0 > uhidev4 at uhub7 port 3 configuration 1 interface 1 "No brand HA2 > 1.0" rev 1.10/1.00 addr 5 > uhidev4: no input interrupt endpoint > vscsi0 at root > scsibus1 at vscsi0: 256 targets > softraid0 at root > root on wd0a swap on wd0b dump on wd0b > > -- > A human being should be able to change a diaper, plan an invasion, > butcher a hog, conn a ship, design a building, write a sonnet, balance > accounts, build a wall, set a bone, comfort the dying, take orders, > give orders, cooperate, act alone, solve equations, analyze a new > problem, pitch manure, program a computer, cook a tasty meal, fight > efficiently, die gallantly. Specialization is for insects. > -- Robert Heinlein -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org