oss4 just hisses

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

oss4 just hisses

Postby mytharak » Thu Sep 24, 2009 3:24 am

All I hear is hissing noises when playing sound from any application including osstest. osstest passes ok but just outputs the static hissing noise. It's the same thing with VLC, audacious, etc. Can anyone tell me why this might be happening? I am running ubuntu 9.04 amd64 with the s3vibes driver.

Code: Select all

Selected mixer 0/S3 SonicVibes
Known controls are:
vol [<leftvol>:<rightvol>] (currently 92:92)
synth <monovol> (currently 75)
pcm [<leftvol>:<rightvol>] (currently 54:54)
line [<leftvol>:<rightvol>] (currently 100:100)
line.rec ON|OFF (currently OFF)
mic <monovol> (currently 100)
mic.rec ON|OFF (currently ON)
cd [<leftvol>:<rightvol>] (currently 100:100)
cd.rec ON|OFF (currently OFF)
rec [<leftvol>:<rightvol>] (currently 75:75)
aux1 [<leftvol>:<rightvol>] (currently 32:32)
aux1.rec ON|OFF (currently OFF)
aux2 <monovol> (currently 32)
aux2.rec ON|OFF (currently OFF)
depth <monovol> (currently 0)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-src <Fast|High|OFF> (currently Fast)
vmix0-outvol <monovol> (currently 25.0 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm1 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm2 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm3 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)



Code: Select all

Version info: OSS 4.2 (b 2000/200909240228) (0x00040100) GPL
Platform: Linux/x86_64 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 19:25:34 UTC 2009 (oreomaster2)

Number of audio devices:   2
Number of audio engines:   7
Number of MIDI devices:      0
Number of mixer devices:   2


Device objects
0: osscore0 OSS core services
1: oss_s3vibes0 S3 Sonic Vibes interrupts=19426 (19426)
2: oss_usb0 USB audio core services
3: usb046d08dd-0 USB sound device
4: usb046d08dd-1 USB sound device

MIDI devices (/dev/midi*)

Mixer devices
0: S3 SonicVibes (Mixer 0 of device object 1)
    Device file /dev/oss/oss_s3vibes0/mix0, Legacy device /dev/mixer0
    Priority: 0
    Caps:
    Device handle: PCI80008000-0000:01:0a.0-mx01
    Device priority: 0

1: USB sound device (Mixer 0 of device object 3)
    Device file /dev/oss/usb046d08dd-0/mix0, Legacy device /dev/mixer1
    Priority: 0
    Caps:
    Device handle: USB-usb046d08dd-0-mx01
    Device priority: 0


Audio devices
S3 SonicVibes                     /dev/oss/oss_s3vibes0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Engine      1: 0/S3 SonicVibes
                     Available for use
      Engine      2: 1/S3 SonicVibes (vmix)
                     Available for use
      Engine      3: 2/S3 SonicVibes (vmix)
                     Available for use
      Engine      4: 3/S3 SonicVibes (vmix)
                     Available for use
      Engine      5: 4/S3 SonicVibes (vmix)
                     Available for use
      Engine      6: 5/S3 SonicVibes
                     Available for use
    Input formats (0x00000018):
      AFMT_U8      - 8 bit unsigned
      AFMT_S16_LE   - 16 bit signed little endian
    Output formats (0x00000018):
      AFMT_U8      - 8 bit unsigned
      AFMT_S16_LE   - 16 bit signed little endian
    Device handle: PCI80008000-0000:01:0a.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 - 44100
    HW Type: Not indicated.
    Minimum latency: Not indicated

USB sound device rec              /dev/oss/usb046d08dd-1/pcmin0  (device index 1)
    Legacy device /dev/dsp1
    Caps: TRIGGER MMAP
    Modes: INPUT 
      In engine   1: 6/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-usb046d08dd-1-au01
    Related mixer dev: 1
    Sample rate source: 6
    Preferred channel configuration: MONO
    Supported number of channels (min - max): 1 - 1
    Native sample rates (min - max): 8000 - 8000 (8000)
    HW Type: Not indicated.
    Minimum latency: Not indicated


Nodes
  /dev/dsp -> /dev/oss/oss_s3vibes0/pcm0
  /dev/dsp_in -> /dev/oss/oss_s3vibes0/pcm0
  /dev/dsp_out -> /dev/oss/oss_s3vibes0/pcm0
  /dev/dsp_mmap -> /dev/oss/oss_s3vibes0/pcm0
mytharak
Member
 
Posts: 12
Joined: Thu Sep 24, 2009 3:12 am

Re: oss4 just hisses

Postby mytharak » Thu Sep 24, 2009 3:34 am

I think I might have gotten it working... I'll know here in a little bit.
mytharak
Member
 
Posts: 12
Joined: Thu Sep 24, 2009 3:12 am

Re: oss4 just hisses

Postby mytharak » Thu Sep 24, 2009 3:52 am

Nope, It's still hissing at me.
mytharak
Member
 
Posts: 12
Joined: Thu Sep 24, 2009 3:12 am

Re: oss4 just hisses

Postby mytharak » Thu Sep 24, 2009 4:24 am

ok, so I finally got that fixed. I had to completely purge pulseaudio and lower the volume of vmix0-outvol in the mixer. It works but still has quality issues....
mytharak
Member
 
Posts: 12
Joined: Thu Sep 24, 2009 3:12 am

Re: oss4 just hisses

Postby mytharak » Thu Sep 24, 2009 4:53 am

Now that I got that working I don't have mixing, and the quality is iffy.
mytharak
Member
 
Posts: 12
Joined: Thu Sep 24, 2009 3:12 am

Re: oss4 just hisses

Postby cesium » Thu Sep 24, 2009 7:26 am

Are you sure vmix is enabled? vmix0-enable should be ON in the mixer, and the ossinfo output should show vmix is attached to the s3vibes (the output below shows that vmix is attached and enabled, but you may have changed the mixer since than?). If it is, you should have mixing... How did you test mixing? Note that osstest hogs the device unless '-V' switch is used, so you can't use it to test mixing...
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: oss4 just hisses

Postby mytharak » Fri Oct 02, 2009 5:42 am

I got it all working. I just had to recompile. It looks like I missed a few errors the first time around.
mytharak
Member
 
Posts: 12
Joined: Thu Sep 24, 2009 3:12 am


Return to Linux

Who is online

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

cron