No sound while playing multiple audios

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

No sound while playing multiple audios

Postby rodenka » Sat Jan 08, 2011 6:42 am

Hi guys,

I recently upgraded my pc to 10.04 from 9.10 and I am not been able to configure OSS properly. First when i installed OSSv4, sound was not coming so i edited vmix_no_autoattach=1 in osscore.conf, after this step my sound came back. But while playing multiple files(suppose one in vlc and other one on youtube) no sound comes.
rodenka
New Member
 
Posts: 2
Joined: Sat Jan 08, 2011 5:45 am

Re: No sound while playing multiple audios

Postby igorzwx » Sat Jan 08, 2011 11:23 am

rodenka wrote:Hi guys,

I recently upgraded my pc to 10.04 from 9.10 and I am not been able to configure OSS properly. First when i installed OSSv4, sound was not coming so i edited vmix_no_autoattach=1 in osscore.conf, after this step my sound came back. But while playing multiple files(suppose one in vlc and other one on youtube) no sound comes.


Did you make a clean install, or upgraded Ubuntu?

You may test OSS4 on your computer with Arch LiveCD
http://4front-tech.com/forum/viewtopic. ... 933#p16711
igorzwx
Known Member
 
Posts: 1000
Joined: Sun Jun 28, 2009 9:31 pm

Re: No sound while playing multiple audios

Postby rodenka » Sat Jan 08, 2011 11:34 am

ya I did a clean install from the ubuntu 10.04 cd.

here are the osstest, ossinfo -v3 results

osstest output
Code: Select all
Sound subsystem and version: OSS 4.2 (b 2003/201005280201) (0x00040100)
Platform: Linux/i686 2.6.32-27-generic #49-Ubuntu SMP Wed Dec 1 23:52:12 UTC 2010

*** Scanning sound adapter #-1 ***
/dev/oss/oss_ymf7xx0/pcm0 (audio engine 0): Yamaha YMF724
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47991.00 Hz (-0.02%)>
/dev/oss/oss_ymf7xx0/pcm1 (audio engine 1): Yamaha YMF724
- Performing audio playback test... /dev/oss/oss_ymf7xx0/pcm1: No such file or directory
Can't open the device

*** Some errors were detected during the tests ***


ossinfo -v3
Code: Select all
Version info: OSS 4.2 (b 2003/201005280201) (0x00040100) EXPIRED
Platform: Linux/i686 2.6.32-27-generic #49-Ubuntu SMP Wed Dec 1 23:52:12 UTC 2010 (anshya)

Number of audio devices:   2
Number of audio engines:   8
Number of MIDI devices:      0
Number of mixer devices:   1


Device objects
0: osscore0 OSS core services
1: oss_ymf7xx0 Yamaha YMF724 interrupts=3197931 (3197931)
2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: Yamaha DS-XG (STAC9750) (Mixer 0 of device object 1)
    Device file /dev/oss/oss_ymf7xx0/mix0, Legacy device /dev/mixer0
    Priority: 2
    Caps:
    Device handle: PCI00041073-0000:05:04.0-mx01
    Device priority: 2


Audio devices
Yamaha YMF724                     /dev/oss/oss_ymf7xx0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Engine      1: 0/Yamaha YMF724
                     Available for use
    Input formats (0x00000418):
      AFMT_U8      - 8 bit unsigned
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    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: PCI00041073-0000:05:04.0-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 4
    Native sample rates (min - max): 5000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

Yamaha YMF724                     /dev/oss/oss_ymf7xx0/pcm1  (device index 1)
    Legacy device /dev/dsp1
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 1/Yamaha YMF724
                     Available for use
      Out engine  2: 2/Yamaha YMF724
                     Available for use
      Out engine  3: 3/Yamaha YMF724
                     Available for use
      Out engine  4: 4/Yamaha YMF724
                     Available for use
      Out engine  5: 5/Yamaha YMF724
                     Available for use
      Out engine  6: 6/Yamaha YMF724
                     Available for use
      Out engine  7: 7/Yamaha YMF724
                     Available for use
    Input formats (0x00000418):
      AFMT_U8      - 8 bit unsigned
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    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: PCI00041073-0000:05:04.0-au02
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 4
    Native sample rates (min - max): 5000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated


Nodes
  /dev/dsp -> /dev/oss/oss_ymf7xx0/pcm0
  /dev/dsp_in -> /dev/oss/oss_ymf7xx0/pcm0
  /dev/dsp_out -> /dev/oss/oss_ymf7xx0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_ymf7xx0/pcm0
  /dev/dsp_mmap -> /dev/oss/oss_ymf7xx0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_ymf7xx0/pcm0


i checked using vmixctl attach command but after attaching my sound stops working and after detach it comes back. Please tell me how to correct this
rodenka
New Member
 
Posts: 2
Joined: Sat Jan 08, 2011 5:45 am

Re: No sound while playing multiple audios

Postby igorzwx » Sat Jan 08, 2011 11:51 am

Your information is, in fact, sufficient: your OSS license expired, see your OSS info:

Code: Select all
Version info: OSS 4.2 (b 2003/201005280201) (0x00040100) EXPIRED


Read this: viewtopic.php?f=3&t=4205
igorzwx
Known Member
 
Posts: 1000
Joined: Sun Jun 28, 2009 9:31 pm

Re: No sound while playing multiple audios

Postby cesium » Sat Jan 08, 2011 3:41 pm

vmix is the virtual mixer. When it is disabled, most cards won't be able to play multiple audios. My suggestion is to either rebuild OSS from source or download the new version and install it, and then remove that line from osscore.conf.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am


Return to Linux

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron