Moderators: hannu, dev, kodachi, cesium
wwmm wrote:No it can't, but if I don't make a seek the stereo file plays without problems(and in only 2 channels as expected)
Dec 28 21:13:46 wwmm kernel: oss_envy24ht 0000:03:05.0: PCI INT A disabled
Dec 28 21:13:47 wwmm kernel: oss_envy24ht 0000:03:05.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
Dec 28 21:13:47 wwmm kernel: Entered Envy24HT probe routine
Dec 28 21:13:47 wwmm kernel: Device found at I/O e800, e400
Dec 28 21:13:47 wwmm kernel: CCS base e801/e800
Dec 28 21:13:47 wwmm kernel: MT base e401/e400
Dec 28 21:13:47 wwmm kernel: Card id 'VIA Vinyl Tremor Audio'
Dec 28 21:13:47 wwmm kernel: Installing AC97 mixer
Dec 28 21:13:47 wwmm kernel: AC97 codec ID=0x56494170 ('VIA70')
Dec 28 21:13:47 wwmm kernel: Detected AC97 codec: VT1612A
Dec 28 21:13:47 wwmm kernel: AC97 codec capabilities 6d50
Dec 28 21:13:47 wwmm kernel: Dedicated Mic PCM in channel 0
Dec 28 21:13:47 wwmm kernel: Modem Line Codec support 0
Dec 28 21:13:47 wwmm kernel: Bass&Treble control 0
Dec 28 21:13:47 wwmm kernel: Simulated stereo 0
Dec 28 21:13:47 wwmm kernel: Headphone out support 1
Dec 28 21:13:47 wwmm kernel: Loudness support 0
Dec 28 21:13:47 wwmm kernel: 18bit DAC resolution 1
Dec 28 21:13:47 wwmm kernel: 20bit DAC resolution 0
Dec 28 21:13:47 wwmm kernel: 18bit ADC resolution 1
Dec 28 21:13:47 wwmm kernel: 20bit ADC resolution 0
Dec 28 21:13:47 wwmm kernel: 3D enhancement technique: 1b
Dec 28 21:13:47 wwmm kernel: AC97 v2.1 multi slot support 0
Dec 28 21:13:47 wwmm kernel: AC97 v2.1 surround DAC support 0x7
Dec 28 21:13:47 wwmm kernel: Create instance 1
Dec 28 21:13:47 wwmm kernel: vmix_masterdev=0
Dec 28 21:13:47 wwmm kernel: vmix_inputdev=4
Dec 28 21:13:47 wwmm kernel: vmix_rate=48000
Dec 28 21:13:47 wwmm kernel:
Dec 28 21:13:47 wwmm kernel: Check masterdev eng=0/VIA Vinyl Tremor Audio front out
Dec 28 21:13:47 wwmm kernel: Vmix masterdev=0
Dec 28 21:13:47 wwmm kernel: oss_audio_open_engine(0, mode=0x2)
Dec 28 21:13:47 wwmm kernel: oss_audio_open_engine(4, mode=0x1)
Dec 28 21:13:47 wwmm kernel: Can't set speed: open_count 2, ratelock 0
Dec 28 21:13:47 wwmm kernel: Can't set speed: open_count 2, ratelock 0
Dec 28 21:13:47 wwmm kernel: Expand factor was = 1024 (1.00)
Dec 28 21:13:47 wwmm kernel: Expand factor inverted to = 1024 (1.00)
Dec 28 21:13:47 wwmm kernel: No format conversions needed
Dec 28 21:13:47 wwmm kernel: Master dev 4 is OK
Dec 28 21:13:47 wwmm kernel: usbcore: registered new interface driver oss_usb
Dec 28 21:13:47 wwmm kernel: oss_cdev_open(2): mixer, class=6, instance=0
Dec 28 21:13:47 wwmm kernel: oss_cdev_open(2): mixer, class=6, instance=0
Dec 28 21:13:47 wwmm kernel: oss_cdev_open(0): sndstat, class=0, instance=0
Dec 28 21:13:47 wwmm kernel: oss_cdev_open(2): mixer, class=6, instance=0
Dec 28 21:13:47 wwmm kernel: oss_cdev_open(2): mixer, class=6, instance=0
Dec 28 21:13:47 wwmm kernel: oss_cdev_open(2): mixer, class=6, instance=0
Dec 28 21:16:43 wwmm kernel: oss_cdev_open(2): mixer, class=6, instance=0
Dec 28 21:16:43 wwmm kernel: oss_cdev_open(3): oss/oss_envy24ht0/mix0, class=6, instance=0Dec 28 21:20:11 wwmm kernel: oss_cdev_open(4): oss/oss_envy24ht0/pcm0, class=12, instance=0
Dec 28 21:20:11 wwmm kernel: oss_audio_open_devfile(0, mode=0x2, excl=0)
Dec 28 21:20:11 wwmm kernel: oss_audio_open_engine(5, mode=0x2)
Dec 28 21:20:11 wwmm kernel: oss_audio_open_engine(0, mode=0x2)
Dec 28 21:20:11 wwmm kernel: oss_audio_open_engine(4, mode=0x1)
Dec 28 21:20:11 wwmm kernel: Can't set speed: open_count 2, ratelock 0
Dec 28 21:20:11 wwmm kernel: Can't set speed: open_count 2, ratelock 0
Dec 28 21:20:11 wwmm kernel: Can't set speed: open_count 2, ratelock 0
Dec 28 21:20:11 wwmm kernel: Expand factor was = 1024 (1.00)
Dec 28 21:20:11 wwmm kernel: Expand factor inverted to = 1024 (1.00)
Dec 28 21:20:11 wwmm kernel: No format conversions needed
Dec 28 21:20:11 wwmm kernel: Setting up format conversions for device 5
Dec 28 21:20:11 wwmm kernel: Speed 44100->48000
Dec 28 21:20:11 wwmm kernel: Channels 2->2
Dec 28 21:20:11 wwmm kernel: Format 10/16(LE)->10/16(LE)
Dec 28 21:20:11 wwmm kernel: Expand = 1114 (1.08)
Dec 28 21:20:11 wwmm kernel: Convert = 00000001 / CNV_SRC
Dec 28 21:20:11 wwmm kernel:
Dec 28 21:20:11 wwmm kernel: Only SRCDec 28 21:22:36 wwmm kernel: oss_cdev_open(4): oss/oss_envy24ht0/pcm0, class=12, instance=0
Dec 28 21:22:36 wwmm kernel: oss_audio_open_devfile(0, mode=0x2, excl=0)
Dec 28 21:22:36 wwmm kernel: oss_audio_open_engine(5, mode=0x2)
Dec 28 21:22:36 wwmm kernel: oss_audio_open_engine(0, mode=0x2)
Dec 28 21:22:36 wwmm kernel: oss_audio_open_engine(4, mode=0x1)
Dec 28 21:22:36 wwmm kernel: Can't set speed: open_count 2, ratelock 0
Dec 28 21:22:36 wwmm kernel: Can't set speed: open_count 2, ratelock 0
Dec 28 21:22:36 wwmm kernel: Enabling multi channel play mode, 6 hw channels
Dec 28 21:22:36 wwmm kernel: Can't set speed: open_count 2, ratelock 0
Dec 28 21:22:36 wwmm kernel: Expand factor was = 1024 (1.00)
Dec 28 21:22:36 wwmm kernel: Expand factor inverted to = 1024 (1.00)
Dec 28 21:22:36 wwmm kernel: Setting up format conversions for device 0
Dec 28 21:22:36 wwmm kernel: Speed 48000->48000
Dec 28 21:22:36 wwmm kernel: Channels 2->6
Dec 28 21:22:36 wwmm kernel: Format 1000/32(LE)->1000/32(LE)
Dec 28 21:22:36 wwmm kernel: Expand = 3072 (3.00)
Dec 28 21:22:36 wwmm kernel: Convert = 00000040 / CNV_MULT
Dec 28 21:22:36 wwmm kernel:
Dec 28 21:22:36 wwmm kernel: Will use the default converter
Dec 28 21:22:36 wwmm kernel: Setting up format conversions for device 5
Dec 28 21:22:36 wwmm kernel: Speed 44100->48000
Dec 28 21:22:36 wwmm kernel: Channels 2->2
Dec 28 21:22:36 wwmm kernel: Format 10/16(LE)->10/16(LE)
Dec 28 21:22:36 wwmm kernel: Expand = 1114 (1.08)
Dec 28 21:22:36 wwmm kernel: Convert = 00000001 / CNV_SRC
Dec 28 21:22:36 wwmm kernel:
Dec 28 21:22:36 wwmm kernel: Only SRC
Dec 28 21:22:36 wwmm kernel: oss_cdev_open(4): oss/oss_envy24ht0/pcm0, class=12, instance=0
Dec 28 21:22:36 wwmm kernel: oss_audio_open_devfile(0, mode=0x2, excl=0)
Dec 28 21:22:36 wwmm kernel: oss_audio_open_engine(5, mode=0x2)
Dec 28 21:22:36 wwmm kernel: oss_audio_open_engine(0, mode=0x2)
Dec 28 21:22:36 wwmm kernel: oss_audio_open_engine(4, mode=0x1)
Dec 28 21:22:36 wwmm kernel: Can't set speed: open_count 2, ratelock 0
Dec 28 21:22:36 wwmm kernel: Can't set speed: open_count 2, ratelock 0
Dec 28 21:22:36 wwmm kernel: Enabling multi channel play mode, 6 hw channels
Dec 28 21:22:36 wwmm kernel: Can't set speed: open_count 2, ratelock 0
Dec 28 21:22:36 wwmm kernel: Expand factor was = 1024 (1.00)
Dec 28 21:22:36 wwmm kernel: Expand factor inverted to = 1024 (1.00)
Dec 28 21:22:36 wwmm kernel: Setting up format conversions for device 0
Dec 28 21:22:36 wwmm kernel: Speed 48000->48000
Dec 28 21:22:36 wwmm kernel: Channels 2->6
Dec 28 21:22:36 wwmm kernel: Format 1000/32(LE)->1000/32(LE)
Dec 28 21:22:36 wwmm kernel: Expand = 3072 (3.00)
Dec 28 21:22:36 wwmm kernel: Convert = 00000040 / CNV_MULT
Dec 28 21:22:36 wwmm kernel:
Dec 28 21:22:36 wwmm kernel: Will use the default converter
Dec 28 21:22:36 wwmm kernel: Setting up format conversions for device 5
Dec 28 21:22:36 wwmm kernel: Speed 44100->48000
Dec 28 21:22:36 wwmm kernel: Channels 2->2
Dec 28 21:22:36 wwmm kernel: Format 10/16(LE)->10/16(LE)
Dec 28 21:22:36 wwmm kernel: Expand = 1114 (1.08)
Dec 28 21:22:36 wwmm kernel: Convert = 00000001 / CNV_SRC
Dec 28 21:22:36 wwmm kernel:
Dec 28 21:22:36 wwmm kernel: Only SRCDec 28 21:25:20 wwmm kernel: osscore: Output timed out on audio engine 5/'VIA Vinyl Tremor Audio front out (vmix)' (count=0)
Dec 28 21:25:20 wwmm kernel: oss_cdev_open(4): oss/oss_envy24ht0/pcm0, class=12, instance=0
Dec 28 21:25:20 wwmm kernel: oss_audio_open_devfile(0, mode=0x2, excl=0)
Dec 28 21:25:20 wwmm kernel: oss_audio_open_engine(5, mode=0x2)
Dec 28 21:25:20 wwmm kernel: oss_audio_open_engine(0, mode=0x2)
Dec 28 21:25:20 wwmm kernel: oss_audio_open_engine(4, mode=0x1)
Dec 28 21:25:20 wwmm kernel: Can't set speed: open_count 2, ratelock 0
Dec 28 21:25:20 wwmm kernel: Can't set speed: open_count 2, ratelock 0
Dec 28 21:25:20 wwmm kernel: Enabling multi channel play mode, 6 hw channels
Dec 28 21:25:20 wwmm kernel: Can't set speed: open_count 2, ratelock 0
Dec 28 21:25:20 wwmm kernel: Expand factor was = 1024 (1.00)
Dec 28 21:25:20 wwmm kernel: Expand factor inverted to = 1024 (1.00)
Dec 28 21:25:20 wwmm kernel: Setting up format conversions for device 0
Dec 28 21:25:20 wwmm kernel: Speed 48000->48000
Dec 28 21:25:20 wwmm kernel: Channels 2->6
Dec 28 21:25:20 wwmm kernel: Format 1000/32(LE)->1000/32(LE)
Dec 28 21:25:20 wwmm kernel: Expand = 3072 (3.00)
Dec 28 21:25:20 wwmm kernel: Convert = 00000040 / CNV_MULT
Dec 28 21:25:20 wwmm kernel:
Dec 28 21:25:20 wwmm kernel: Will use the default converter
Dec 28 21:25:20 wwmm kernel: Setting up format conversions for device 5
Dec 28 21:25:20 wwmm kernel: Speed 44100->48000
Dec 28 21:25:20 wwmm kernel: Channels 2->2
Dec 28 21:25:20 wwmm kernel: Format 10/16(LE)->10/16(LE)
Dec 28 21:25:20 wwmm kernel: Expand = 1114 (1.08)
Dec 28 21:25:20 wwmm kernel: Convert = 00000001 / CNV_SRC
Dec 28 21:25:20 wwmm kernel:
Dec 28 21:25:20 wwmm kernel: Only SRCDec 28 21:29:34 wwmm kernel: oss_cdev_open(4): oss/oss_envy24ht0/pcm0, class=12, instance=0
Dec 28 21:29:34 wwmm kernel: oss_audio_open_devfile(0, mode=0x2, excl=0)
Dec 28 21:29:34 wwmm kernel: Trying engine=0
Dec 28 21:29:34 wwmm kernel: oss_audio_open_engine(0, mode=0x2)
Dec 28 21:29:34 wwmm kernel: Engine 0 opened
Dec 28 21:29:34 wwmm kernel: Setting up format conversions for device 0
Dec 28 21:29:34 wwmm kernel: Speed 44100->44100
Dec 28 21:29:34 wwmm kernel: Channels 2->2
Dec 28 21:29:34 wwmm kernel: Format 10/16(LE)->1000/32(LE)
Dec 28 21:29:34 wwmm kernel: Expand = 2048 (2.00)
Dec 28 21:29:34 wwmm kernel: Convert = 01004000 / CNV_F16bit CNV_T32bitDec 28 22:03:32 wwmm kernel: Will use the default converter
Dec 28 22:03:32 wwmm kernel: No format conversions needed
Dec 28 22:03:33 wwmm kernel: oss_cdev_open(4): oss/oss_envy24ht0/pcm0, class=12, instance=0
Dec 28 22:03:33 wwmm kernel: oss_audio_open_devfile(0, mode=0x2, excl=0)
Dec 28 22:03:33 wwmm kernel: oss_audio_open_engine(5, mode=0x2)
Dec 28 22:03:33 wwmm kernel: oss_audio_open_engine(0, mode=0x2)
Dec 28 22:03:33 wwmm kernel: oss_audio_open_engine(4, mode=0x1)
Dec 28 22:03:33 wwmm kernel: Can't set speed: open_count 2, ratelock 0
Dec 28 22:03:33 wwmm kernel: Can't set speed: open_count 2, ratelock 0
Dec 28 22:03:33 wwmm kernel: Enabling multi channel play mode, 6 hw channels
Dec 28 22:03:33 wwmm kernel: Can't set speed: open_count 2, ratelock 0
Dec 28 22:03:33 wwmm kernel: Expand factor was = 1024 (1.00)
Dec 28 22:03:33 wwmm kernel: Expand factor inverted to = 1024 (1.00)
Dec 28 22:03:33 wwmm kernel: Setting up format conversions for device 0
Dec 28 22:03:33 wwmm kernel: Speed 48000->48000
Dec 28 22:03:33 wwmm kernel: Channels 2->6
Dec 28 22:03:33 wwmm kernel: Format 1000/32(LE)->1000/32(LE)
Dec 28 22:03:33 wwmm kernel: Expand = 3072 (3.00)
Dec 28 22:03:33 wwmm kernel: Convert = 00000040 / CNV_MULT
Dec 28 22:03:33 wwmm kernel:
Dec 28 22:03:33 wwmm kernel: Will use the default converter
Dec 28 22:03:33 wwmm kernel: No format conversions needed Dec 28 21:32:08 wwmm kernel: oss_cdev_open(4): oss/oss_envy24ht0/pcm0, class=12, instance=0
Dec 28 21:32:08 wwmm kernel: oss_audio_open_devfile(0, mode=0x2, excl=0)
Dec 28 21:32:08 wwmm kernel: Trying engine=0
Dec 28 21:32:08 wwmm kernel: oss_audio_open_engine(0, mode=0x2)
Dec 28 21:32:08 wwmm kernel: Engine 0 opened
Dec 28 21:32:08 wwmm kernel: Setting up format conversions for device 0
Dec 28 21:32:08 wwmm kernel: Speed 48000->48000
Dec 28 21:32:08 wwmm kernel: Channels 6->6
Dec 28 21:32:08 wwmm kernel: Format 10/16(LE)->1000/32(LE)
Dec 28 21:32:08 wwmm kernel: Expand = 2048 (2.00)
Dec 28 21:32:08 wwmm kernel: Convert = 01004000 / CNV_F16bit CNV_T32bitwwmm wrote:One question guys, in the error messages osscore says that the output timed out in audio engine 5, but when I run osstest the displayed number of audio engines goes from zero to 4. In ossinfo the devices index is also numbered from zero to 4. Where is this engine 5 displayed in the error logs? Or the part of the source code responsible for the log start to count the engines in the number 1?
$ ossinfo -v9
Version info: OSS 4.2 (b 2003/201012180115) (0x00040100) GPL
Platform: Linux/i686 2.6.36-ARCH #1 SMP PREEMPT Fri Dec 10 20:01:53 UTC 2010
Number of audio devices: 7
Number of audio engines: 11
Number of MIDI devices: 0
Number of mixer devices: 1
Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 Intel HD Audio interrupts=576 (880)
HD Audio controller Intel HD Audio
Vendor ID 0x80862668
Subvendor ID 0x17c02017
Codec 0: AD1986A (0x11d41986/0x17c02017)
Codec 1: Motorola3055 (0x10573055)
2: oss_usb0 USB audio core services
MIDI devices (/dev/midi*)
Mixer devices
0: High Definition Audio AD1986A (Mixer 0 of device object 1)
Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer0
Priority: 10
Caps:
Device handle: PCI201717c0-0000:00:1b.0-mx01
Device priority: 10
Audio devices
HD Audio play front /dev/oss/oss_hdaudio0/pcm0 (device index 0)
Legacy device /dev/dsp0
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
Out engine 1: 0/HD Audio play front
Available for use
Engine 2: 7/HD Audio play front (vmix)
Available for use
Engine 3: 8/HD Audio play front (vmix)
Available for use
Engine 4: 9/HD Audio play front (vmix)
Available for use
Engine 5: 10/HD Audio play front (vmix)
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI201717c0-0000:00:1b.0-au01
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 8
Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,32000,44100,48000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio play rear /dev/oss/oss_hdaudio0/pcm1 (device index 1)
Legacy device /dev/dsp1
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 1/HD Audio play rear
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI201717c0-0000:00:1b.0-au02
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,32000,44100,48000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio play center/LFE /dev/oss/oss_hdaudio0/pcm2 (device index 2)
Legacy device /dev/dsp2
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 2/HD Audio play center/LFE
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI201717c0-0000:00:1b.0-au03
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,32000,44100,48000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio play spdif-out /dev/oss/oss_hdaudio0/spdout0 (device index 3)
Legacy device /dev/dsp3
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 3/HD Audio play spdif-out
Available for use
Input formats (0x00000410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
Output formats (0x00000410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
Device handle: PCI201717c0-0000:00:1b.0-au04
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 48000 (44100,48000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio play modem /dev/oss/oss_hdaudio0/mdmout0 (device index 4)
Legacy device /dev/dsp4
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 4/HD Audio play modem
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: PCI201717c0-0000:00:1b.0-au05
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 1
Native sample rates (min - max): 8000 - 16000 (8000,9600,16000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio rec rec-srcmic-mix /dev/oss/oss_hdaudio0/pcmin0 (device index 5)
Legacy device /dev/dsp5
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
In engine 1: 5/HD Audio rec rec-srcmic-mix
Available for use
Engine 2: 7/HD Audio play front (vmix)
Available for use
Engine 3: 8/HD Audio play front (vmix)
Available for use
Engine 4: 9/HD Audio play front (vmix)
Available for use
Engine 5: 10/HD Audio play front (vmix)
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI201717c0-0000:00:1b.0-au06
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,32000,44100,48000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio rec modem /dev/oss/oss_hdaudio0/mdmin0 (device index 6)
Legacy device /dev/dsp6
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 6/HD Audio rec modem
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: PCI201717c0-0000:00:1b.0-au07
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 1
Native sample rates (min - max): 8000 - 16000 (8000,9600,16000)
HW Type: Not indicated.
Minimum latency: Not indicated
Nodes
/dev/dsp -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_in -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_out -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_ac3 -> /dev/oss/oss_hdaudio0/spdout0
/dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0
[wallace@wwmm ~]$ ossinfo -v9
Version info: OSS 4.2 (b 2003/201012281411) (0x00040100) OSS_HG
Hg revision: changeset: 920:232d0de71550, tag: tip, date: Tue Nov 02 23:45:15 2010 +0200, summary: Misc changes to ossplay
Platform: Linux/x86_64 2.6.36-ARCH #1 SMP PREEMPT Fri Dec 10 20:32:37 CET 2010 (wwmm)
Number of audio devices: 5
Number of audio engines: 9
Number of MIDI devices: 0
Number of mixer devices: 1
Device objects
0: osscore0 OSS core services
1: oss_envy24ht0 VIA Vinyl Tremor Audio
2: oss_usb0 USB audio core services
MIDI devices (/dev/midi*)
Mixer devices
0: VIA Vinyl Tremor Audio (VT1612A (Mixer 0 of device object 1)
Device file /dev/oss/oss_envy24ht0/mix0, Legacy device /dev/mixer0
Priority: 2
Caps:
Device handle: PCI24031412-0000:03:05.0-mx01
Device priority: 2
Audio devices
VIA Vinyl Tremor Audio front out /dev/oss/oss_envy24ht0/pcm0 (device index 0)
Legacy device /dev/dsp0
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
Out engine 1: 0/VIA Vinyl Tremor Audio front out
Available for use
Engine 2: 5/VIA Vinyl Tremor Audio front out (vmix)
Available for use
Engine 3: 6/VIA Vinyl Tremor Audio front out (vmix)
Available for use
Engine 4: 7/VIA Vinyl Tremor Audio front out (vmix)
Available for use
Engine 5: 8/VIA Vinyl Tremor Audio front out (vmix)
Available for use
Input formats (0x00001000):
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001000):
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI24031412-0000:03:05.0-au01
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: STEREO
Supported number of channels (min - max): 2 - 6
Native sample rates (min - max): 8000 - 192000 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000)
HW Type: ANALOG_OUT Minimum latency: Not indicated
VIA Vinyl Tremor Audio c/l out /dev/oss/oss_envy24ht0/pcm1 (device index 1)
Legacy device /dev/dsp1
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 1/VIA Vinyl Tremor Audio c/l out
Available for use
Input formats (0x00001000):
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001000):
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI24031412-0000:03:05.0-au02
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: STEREO
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 8000 - 192000 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000)
HW Type: ANALOG_OUT Minimum latency: Not indicated
VIA Vinyl Tremor Audio side out /dev/oss/oss_envy24ht0/pcm2 (device index 2)
Legacy device /dev/dsp2
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 2/VIA Vinyl Tremor Audio side out
Available for use
Input formats (0x00001000):
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001000):
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI24031412-0000:03:05.0-au03
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: STEREO
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 8000 - 192000 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000)
HW Type: ANALOG_OUT Minimum latency: Not indicated
VIA Vinyl Tremor Audio digital out /dev/oss/oss_envy24ht0/spdout (device index 3)
Legacy device /dev/dsp3
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 3/VIA Vinyl Tremor Audio digital out
Available for use
Input formats (0x00001400):
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001400):
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI24031412-0000:03:05.0-au04
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: STEREO
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 8000 - 192000 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000)
HW Type: DIGITAL_OUT Minimum latency: Not indicated
VIA Vinyl Tremor Audio analog in /dev/oss/oss_envy24ht0/pcmin0 (device index 4)
Legacy device /dev/dsp4
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
In engine 1: 4/VIA Vinyl Tremor Audio analog in
Available for use
Engine 2: 5/VIA Vinyl Tremor Audio front out (vmix)
Available for use
Engine 3: 6/VIA Vinyl Tremor Audio front out (vmix)
Available for use
Engine 4: 7/VIA Vinyl Tremor Audio front out (vmix)
Available for use
Engine 5: 8/VIA Vinyl Tremor Audio front out (vmix)
Available for use
Input formats (0x00001000):
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001000):
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI24031412-0000:03:05.0-au05
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: STEREO
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 192000 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000)
HW Type: ANALOG_IN Minimum latency: Not indicated
Nodes
/dev/dsp -> /dev/oss/oss_envy24ht0/pcm0
/dev/dsp_in -> /dev/oss/oss_envy24ht0/pcm0
/dev/dsp_out -> /dev/oss/oss_envy24ht0/pcm0
/dev/dsp_ac3 -> /dev/oss/oss_envy24ht0/spdout
/dev/dsp_mmap -> /dev/oss/oss_envy24ht0/pcm0
/dev/dsp_multich -> /dev/oss/oss_envy24ht0/pcm0
/dev/dsp_spdifout -> /dev/oss/oss_envy24ht0/spdout
osscore: Output timed out on audio engine 5/'VIA Vinyl Tremor Audio front out (vmix)' (count=0)Engine 2: 5/VIA Vinyl Tremor Audio front out (vmix)$ pcm_conv -H
Usage: pcm_conv <input file> [output file]
[-c number of channels]
[-b number of bits] [-f frequency]
[-T trans] [-W win]
[-n] [-i] [-h|-H]
Options:
input file Input WAVE file
output file Output WAVE file (by default is "convert.wav")
-c Number of output channels:
1 - mono
2 - stereo
3 - 2/1 surround
4 - 2/2 quadro
5 - 3/2 surround
6 - 3/2+SW dolby
-b Number of output bits: 8, 16 .. 32, 32f or 64f
-f Output sample rate (in Hz). Tested: from 6000 to 192000
-T Transform type: dct, fft (default: dct)
-W Window type: vorbis, hanning (default: vorbis)
-n Show internal information
-i Show wide modules information
-h Show this message
-H Show all help info
Dec 28 21:29:34 wwmm kernel: oss_cdev_open(4): oss/oss_envy24ht0/pcm0, class=12, instance=0
Dec 28 21:29:34 wwmm kernel: oss_audio_open_devfile(0, mode=0x2, excl=0)
Dec 28 21:29:34 wwmm kernel: Trying engine=0
Dec 28 21:29:34 wwmm kernel: oss_audio_open_engine(0, mode=0x2)
Dec 28 21:29:34 wwmm kernel: Engine 0 opened
Dec 28 21:29:34 wwmm kernel: Setting up format conversions for device 0
Dec 28 21:29:34 wwmm kernel: Speed 44100->44100
Dec 28 21:29:34 wwmm kernel: Channels 2->2
Dec 28 21:29:34 wwmm kernel: Format 10/16(LE)->1000/32(LE)
Dec 28 21:29:34 wwmm kernel: Expand = 2048 (2.00)
Dec 28 21:29:34 wwmm kernel: Convert = 01004000 / CNV_F16bit CNV_T32bit/dev/dsp doesn't support this audio format (10/1000).Sorry. You can use sox to create a 4 channel file: 'sox (inputfile) -c 4 (outputfile)'. I wonder if this issue is localized to 6ch files (there's a little special code in the driver for those) or all multichannel use.wwmm wrote:This doesn't surprises me because it is impossible to seek in a file so small, and without doing that all files play well here, including mines.
Hmm.. is the physical connection right? Or maybe changing mixer settings can correct this?wmmm wrote:Anyway, one thing caught my attention when playing your file. The sound corresponding to "surround" was played in one of the channels named by ossxmix as "c/l" and not in the one named "side" as I was expecting(I noticed this listening to the sound and watching the level meters in ossxmix, the options mix-lfe2front and mix-rear2front were disabled). The sound corresponding to "center" played in the expected channel.
Possibly this is related to messed channels issue?wwmm wrote:Thinking about that I remember that sometimes(both in mplayer and vlc) the channels were messed when I paused the players or entered fullscreen. The side channels suddenly exchanged place with the "c/l" ones. At that time vmix was always enabled, I don't know if this happens without vmix. I will try to do some tests...
cesium wrote:Possibly this is related to messed channels issue?
The real reason to the problem is that mplayer causes frequent
underruns. I don't remember exactly what problem was but I recall
mplayer doesn't use normal blocking writes or select/poll to syncronize
with audio. Instead it calls SNDCTL_DSP_GETOSPACE to guess how long it
should wait and then it waits by calling usleep() (or was it select()
with a timeout). This is doomed to fail because the sound card works
asynchronously with system timer interrupts that controls usleep(). This
should be fixed instead of adding nasty workarounds to OSS. http://mailman.opensound.com/pipermail/ ... 00846.html
# $Id: PKGBUILD 36041 2010-12-25 20:18:47Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Alexey Yakovenko <waker@users.sourceforge.net>
pkgname=deadbeef
pkgver=0.4.4
pkgrel=2
pkgdesc='An audio player for GNU/Linux based on GTK2.'
arch=('i686' 'x86_64')
url='http://deadbeef.sourceforge.net'
license=('GPL2')
depends=('gtk2' 'libsamplerate' 'alsa-lib')
makedepends=('gtk2' 'libsamplerate' 'libvorbis' 'libmad' 'flac' 'curl' 'alsa-lib' 'wavpack' 'libsndfile' 'libcdio' 'libcddb' 'ffmpeg' 'libx11' 'faad2' 'zlib' 'intltool' 'pkgconfig' 'libpulse')
optdepends=('libvorbis: for Ogg Vorbis playback'
'libmad: for MP1/MP2/MP3 playback'
'flac: for FLAC playback'
'curl: for Last.fm scrobbler, SHOUTcast, Icecast, Podcast support'
'wavpack: for WavPack playback'
'libsndfile: for Wave playback'
'libcdio: audio cd plugin'
'libcddb: audio cd plugin'
'ffmpeg: for WMA, AA, OMA, AC, etc.'
'libmms: for MMS protocol support'
'faad2: for AAC/MP4 support'
'dbus: for OSD notifications support'
'pulseaudio: for PulseAudio output plugin'
'libx11: for global hotkeys plugin')
options=('!libtool')
install='deadbeef.install'
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('546e63d456d6a5625461019b15501e38')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package () {
cd "${srcdir}/${pkgname}-${pkgver}"
make prefix="${pkgdir}/usr" install
}
Users browsing this forum: No registered users and 5 guests