cannot disable resampling for ICH6 (OSS4)
Posted: Wed Sep 22, 2010 2:25 pm
A very strange problem with ICH6 (Arch + OSS4): I can change resampler, but I cannot disable resampling and get direct playback to audio device.
I can set "vmix0-enable" to "OFF" in the mixer GUI, or with command:
Everything looks O.K., but it is merely a deception! The same resampler continues to distort sound.
Direct playback seems to be impossible.
TEST:
1. enable "vmix0", set "Fast" resampler
2. run test (10Hz + 20kHz), and you hear noise
3. disable "vmix0"
4. run test (10Hz + 20kHz), and you hear the same noise
5. enable "vmix0", set "Production quality" resampler
6. run test (10Hz + 20kHz) - now you get "silence"
7. disable "vmix0"
8. run test (10Hz + 20kHz) - and you get the same "silence"
This simply means that the resampler is working!
Another test:
Has anybody tried to disable resampling with Intel HDA soundcards? Or it is impossible?
Code: Select all
$ lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)I can set "vmix0-enable" to "OFF" in the mixer GUI, or with command:
Code: Select all
$ ossmix vmix0-enable OFF
Value of mixer control vmix0-enable set to OFFEverything looks O.K., but it is merely a deception! The same resampler continues to distort sound.
Direct playback seems to be impossible.
TEST:
1. enable "vmix0", set "Fast" resampler
2. run test (10Hz + 20kHz), and you hear noise
3. disable "vmix0"
4. run test (10Hz + 20kHz), and you hear the same noise
5. enable "vmix0", set "Production quality" resampler
6. run test (10Hz + 20kHz) - now you get "silence"
7. disable "vmix0"
8. run test (10Hz + 20kHz) - and you get the same "silence"
This simply means that the resampler is working!
Another test:
Code: Select all
$ ossplay 0*.wav -R
/dev/dsp: Device or resource busy
There is some other application using this audio device.
Exit it and try again.
You can possibly find out the conflicting application bylooking
$ ossmix vmix0-enable OFF
Value of mixer control vmix0-enable set to OFF
$ ossplay 0*.wav -R
/dev/dsp: Device or resource busy
There is some other application using this audio device.
Exit it and try again.
You can possibly find out the conflicting application bylooking
$ killall ossxmix
$ ossplay 0*.wav -R
/dev/dsp: Device or resource busy
There is some other application using this audio device.
Exit it and try again.
You can possibly find out the conflicting application bylookingHas anybody tried to disable resampling with Intel HDA soundcards? Or it is impossible?