audio snaps when starting playback (MAudio 2496, FreeBSD 6)

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: cesium, dev, kodachi, hannu

audio snaps when starting playback (MAudio 2496, FreeBSD 6)

Postby alt » Tue Mar 07, 2006 7:19 pm

Terve.


Audio makes highly irritating click from the right speaker every time playback starts, for example when track is changed in XMMS or play position is changed in MPlayer. This did not happen with SBLive! on ordinary OSS drivers.

Otherwise audio is not audibly distorted or noisy.
Route.out1/2 is set to MONITOR instead of DMA for output volume control to work (old National Panasonic system, needs less power on input than modern systems to avoid distortion).

Any ideas? I guess it has something to do with the output mode (DMA/MONITOR), strangely it only affects right output. I can't test with DMA as it results in horrible distortion.

System:
MAudio 2496
FreeBSD 6.0-RELEASE
OSS/FreeBSD 3.99.4a

ossmix output:
# /usr/local/lib/oss/bin/ossmix
Selected mixer 0/
Known controls are:
peak.out1/2 <leftVU>:<rightVU>] (currently 144:144)
peak.spdout <leftVU>:<rightVU>] (currently 0:0)
peak.in1/2 <leftVU>:<rightVU>] (currently 0:0)
peak.spdin <leftVU>:<rightVU>] (currently 0:0)
peak.main <leftVU>:<rightVU>] (currently 18:18)
mon.out1/2 <both/leftvol>[:<rightvol>] (currently 101:101)
mon.spdout <both/leftvol>[:<rightvol>] (currently 135:135)
mon.in1/2 <both/leftvol>[:<rightvol>] (currently 135:135)
mon.spdin <both/leftvol>[:<rightvol>] (currently 135:135)
route.out1/2 <DMA|MONITOR|IN1/2|SPDIF> (currently MONITOR)
route.spdif <DMA|MONITOR|IN1/2|SPDIF> (currently DMA)
gain.out1/2 <+4DB|CONSUMER|-10DB> (currently +4DB)
envy24.rate <8000|9600|11025|12000|16000|22050|24000|32000|44100|48000|88200|96000> (currently 48000)
envy24.sync <INTERNAL|SPDIF> (currently INTERNAL)
envy24.ratelock ON|OFF (currently ON)
envy24.actrate <decimal value> (currently 48000)
spdif.mode <CONSUMER|PRO> (currently CONSUMER)
alt
New Member
 
Posts: 2
Joined: Tue Mar 07, 2006 7:02 pm

Re: audio snaps when starting playback (MAudio 2496, FreeBSD

Postby dev » Tue Mar 07, 2006 9:20 pm

alt wrote:Terve.


Audio makes highly irritating click from the right speaker every time playback starts, for example when track is changed in XMMS or play position is changed in MPlayer. This did not happen with SBLive! on ordinary OSS drivers.

Otherwise audio is not audibly distorted or noisy.
Route.out1/2 is set to MONITOR instead of DMA for output volume control to work (old National Panasonic system, needs less power on input than modern systems to avoid distortion).

Any ideas? I guess it has something to do with the output mode (DMA/MONITOR), strangely it only affects right output. I can't test with DMA as it results in horrible distortion.

System:
MAudio 2496
FreeBSD 6.0-RELEASE
OSS/FreeBSD 3.99.4a

ossmix output:
# /usr/local/lib/oss/bin/ossmix
Selected mixer 0/
Known controls are:
peak.out1/2 <leftVU>:<rightVU>] (currently 144:144)
peak.spdout <leftVU>:<rightVU>] (currently 0:0)
peak.in1/2 <leftVU>:<rightVU>] (currently 0:0)
peak.spdin <leftVU>:<rightVU>] (currently 0:0)
peak.main <leftVU>:<rightVU>] (currently 18:18)
mon.out1/2 <both/leftvol>[:<rightvol>] (currently 101:101)
mon.spdout <both/leftvol>[:<rightvol>] (currently 135:135)
mon.in1/2 <both/leftvol>[:<rightvol>] (currently 135:135)
mon.spdin <both/leftvol>[:<rightvol>] (currently 135:135)
route.out1/2 <DMA|MONITOR|IN1/2|SPDIF> (currently MONITOR)
route.spdif <DMA|MONITOR|IN1/2|SPDIF> (currently DMA)
gain.out1/2 <+4DB|CONSUMER|-10DB> (currently +4DB)
envy24.rate <8000|9600|11025|12000|16000|22050|24000|32000|44100|48000|88200|96000> (currently 48000)
envy24.sync <INTERNAL|SPDIF> (currently INTERNAL)
envy24.ratelock ON|OFF (currently ON)
envy24.actrate <decimal value> (currently 48000)
spdif.mode <CONSUMER|PRO> (currently CONSUMER)



try running soundoff and soundon again and see if that helps.

Alternatively run soundconf, select Add a soundcard and add the 4Front Virtual mixer and run soundon and now see if using the virtual mixer device with mplayer helps.



regards
Dev Mazumdar
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Postby alt » Wed Mar 08, 2006 3:41 pm

Soundoff/soundon didn't help but doing soundoff/soundon -procedure loaded saved mixer settings properly unlike during bootup when default settings are loaded (like DMA and way too high volume etc).

Why mixer values don't get loaded during bootup? I checked and they are propely written at oss/etc and OSS seems to start ok during bootup.

About adding virtual mixer device: it did not work either. I tried setting XMMS output module to use virtual mixer but the results were the same in every combination: a click when changing track, a click when changing playback position and so forth.

Do these problems exist in Linux too? What to do?
alt
New Member
 
Posts: 2
Joined: Tue Mar 07, 2006 7:02 pm


Return to BSD

Who is online

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