-- I just saw gmail freak out. It appears I sent an email with double attachment and no message. NEAT! --
Hello all, I started using OSSv4 again and came across an issue that I was able to do some minor debugging on. Mumble is an open source low latency VOIP client, much like Teamspeak/Ventrilo. It supports OSSv4 when you compile it with OSSv4 headers on the system. I am using the dev branch of OSSv4 as well. Here's the release I'm running: Hg revision: changeset: 841:3a8cea077fb0, tag: tip, date: Mon Aug 24 19:18:33 2009 +0300, summary: Misc changes to ossplay I've also attached the ossinfo -v3 output. The problem happens when running Mumble and then opening/closing WINE. I don't know how this started happening, but something strange is going on. We've concluded that what happens is the read() call returns EIO when I open/close WINE. This causes the input to fail in Mumble and the device gets released. Note, I'm using a USB mic. Personally I'd consider this to be pretty critical and I was hoping to get the attention of someone on the list because it might be something you'd consider fixing before the 4.2 drop since the releases are so infrequent. If you have any further questions let me know -- I'll be glad to help debug and test. I'm not a programmer though. Thanks all, Mark
Version info: OSS 4.2 (b rc4/200908251932) (0x00040100) OSS_HG Hg revision: changeset: 841:3a8cea077fb0, tag: tip, date: Mon Aug 24 19:18:33 2009 +0300, summary: Misc changes to ossplay Platform: Linux/x86_64 2.6.30-1-amd64 #1 SMP Sat Aug 15 18:09:19 UTC 2009 (skeletor) Number of audio devices: 7 Number of audio engines: 11 Number of MIDI devices: 1 Number of mixer devices: 2 Device objects 0: osscore0 OSS core services 1: oss_sblive0 SB Audigy2 interrupts=1460253 (1460253) 2: oss_usb0 USB audio core services 3: usb17a00100-0 USB sound device 4: usb17a00100-1 USB sound device MIDI devices (/dev/midi*) 0: Audigy UART (MIDI port 1 of device object 1) Device file /dev/oss/oss_sblive0/mid0, Legacy device /dev/midi00 Modes: IN/OUT , Available for use Caps: Minimum latency: Not indicated Device handle: PCI10061102-0000:03:06.0-md01 Mixer devices 0: SB Audigy2 (STAC9721) (Mixer 0 of device object 1) Device file /dev/oss/oss_sblive0/mix0, Legacy device /dev/mixer0 Priority: 2 Caps: Device handle: PCI10061102-0000:03:06.0-mx01 Device priority: 2 1: USB sound device (Mixer 0 of device object 3) Device file /dev/oss/usb17a00100-0/mix0, Legacy device /dev/mixer1 Priority: 0 Caps: Device handle: USB-usb17a00100-0-mx01 Device priority: 0 Audio devices SB Audigy2 main /dev/oss/oss_sblive0/pcm0 (device index 0) Legacy device /dev/dsp0 Caps: DUPLEX TRIGGER MMAP Modes: IN/OUT Engine 1: 0/SB Audigy2 main Busy (IN/OUT) label 'VMIX' Engine 2: 1/SB Audigy2 main (vmix) Busy (OUT) by PID 9799 / mumble11x label 'mumble11x' Engine 3: 2/SB Audigy2 main (vmix) Available for use Engine 4: 3/SB Audigy2 main (vmix) Available for use Engine 5: 4/SB Audigy2 main (vmix) Available for use Input formats (0x00000010): AFMT_S16_LE - 16 bit signed little endian Output formats (0x00000418): AFMT_U8 - 8 bit unsigned AFMT_S16_LE - 16 bit signed little endian AFMT_AC3 - AC3 (Dolby Digital) encoded audio Device handle: PCI10061102-0000:03:06.0-au01 Related mixer dev: 0 Sample rate source: 0 Preferred channel configuration: Not indicated Supported number of channels (min - max): 1 - 2 Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,24000,32000,44100,48000) HW Type: Not indicated. Minimum latency: Not indicated SB Audigy2 front out /dev/oss/oss_sblive0/pcm1 (device index 1) Legacy device /dev/dsp1 Caps: TRIGGER MMAP Modes: OUTPUT Out engine 1: 5/SB Audigy2 front out Available for use Input formats (0x00000010): AFMT_S16_LE - 16 bit signed little endian Output formats (0x00000418): AFMT_U8 - 8 bit unsigned AFMT_S16_LE - 16 bit signed little endian AFMT_AC3 - AC3 (Dolby Digital) encoded audio Device handle: PCI10061102-0000:03:06.0-au02 Related mixer dev: 0 Sample rate source: 0 Preferred channel configuration: Not indicated Supported number of channels (min - max): 1 - 2 Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,24000,32000,44100,48000) HW Type: Not indicated. Minimum latency: Not indicated SB Audigy2 side out /dev/oss/oss_sblive0/pcm2 (device index 2) Legacy device /dev/dsp2 Caps: TRIGGER MMAP Modes: OUTPUT Out engine 1: 6/SB Audigy2 side out Available for use Input formats (0x00000010): AFMT_S16_LE - 16 bit signed little endian Output formats (0x00000418): AFMT_U8 - 8 bit unsigned AFMT_S16_LE - 16 bit signed little endian AFMT_AC3 - AC3 (Dolby Digital) encoded audio Device handle: PCI10061102-0000:03:06.0-au03 Related mixer dev: 0 Sample rate source: 0 Preferred channel configuration: Not indicated Supported number of channels (min - max): 1 - 2 Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,24000,32000,44100,48000) HW Type: Not indicated. Minimum latency: Not indicated SB Audigy2 center/lfe out /dev/oss/oss_sblive0/pcm3 (device index 3) Legacy device /dev/dsp3 Caps: TRIGGER MMAP Modes: OUTPUT Out engine 1: 7/SB Audigy2 center/lfe out Available for use Input formats (0x00000010): AFMT_S16_LE - 16 bit signed little endian Output formats (0x00000418): AFMT_U8 - 8 bit unsigned AFMT_S16_LE - 16 bit signed little endian AFMT_AC3 - AC3 (Dolby Digital) encoded audio Device handle: PCI10061102-0000:03:06.0-au04 Related mixer dev: 0 Sample rate source: 0 Preferred channel configuration: Not indicated Supported number of channels (min - max): 1 - 2 Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,24000,32000,44100,48000) HW Type: Not indicated. Minimum latency: Not indicated SB Audigy2 raw S/PDIF (output only) /dev/oss/oss_sblive0/pcm4 (device index 4) Legacy device /dev/dsp4 Caps: TRIGGER MMAP Modes: OUTPUT Out engine 1: 8/SB Audigy2 raw S/PDIF (output only) Available for use Input formats (0x00000010): AFMT_S16_LE - 16 bit signed little endian Output formats (0x00000418): AFMT_U8 - 8 bit unsigned AFMT_S16_LE - 16 bit signed little endian AFMT_AC3 - AC3 (Dolby Digital) encoded audio Device handle: PCI10061102-0000:03:06.0-au05 Related mixer dev: 0 Sample rate source: 0 Preferred channel configuration: Not indicated Supported number of channels (min - max): 1 - 2 Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,24000,32000,44100,48000) HW Type: Not indicated. Minimum latency: Not indicated SB Audigy2 5.1 output device /dev/oss/oss_sblive0/pcm5 (device index 5) Legacy device /dev/dsp5 Caps: TRIGGER MMAP Modes: OUTPUT Out engine 1: 9/SB Audigy2 5.1 output device Available for use Input formats (0x00000010): AFMT_S16_LE - 16 bit signed little endian Output formats (0x00000010): AFMT_S16_LE - 16 bit signed little endian Device handle: PCI10061102-0000:03:06.0-au06 Related mixer dev: -1 Sample rate source: 5 Preferred channel configuration: MULTICH Supported number of channels (min - max): 2 - 6 Native sample rates (min - max): 8000 - 48000 HW Type: Not indicated. Minimum latency: Not indicated USB sound device rec /dev/oss/usb17a00100-1/pcmin0 (device index 6) Legacy device /dev/dsp6 Caps: TRIGGER MMAP Modes: INPUT In engine 1: 10/USB sound device rec Available for use Input formats (0x00000010): AFMT_S16_LE - 16 bit signed little endian Output formats (0x00000010): AFMT_S16_LE - 16 bit signed little endian Device handle: USB-usb17a00100-1-au01 Related mixer dev: 1 Sample rate source: 10 Preferred channel configuration: MONO Supported number of channels (min - max): 1 - 1 Native sample rates (min - max): 8000 - 48000 (8000,11025,22050,44100,48000) HW Type: Not indicated. Minimum latency: Not indicated Nodes /dev/dsp -> /dev/oss/oss_sblive0/pcm0 /dev/dsp_in -> /dev/oss/oss_sblive0/pcm0 /dev/dsp_out -> /dev/oss/oss_sblive0/pcm0 /dev/dsp_ac3 -> /dev/oss/oss_sblive0/pcm0 /dev/dsp_mmap -> /dev/oss/oss_sblive0/pcm0 /dev/dsp_multich -> /dev/oss/oss_sblive0/pcm5
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel