davemar wrote: I'm finding the ossplay program doesn't always playback the correct channel order. It is usually correct, but a lot of the time it randomises the order.
So it looks like there's two separate faults to deal with now:
1) OSS drivers channel order stability.
2) Portaudio device identification.
Portaudio has always been problematic with OSS4. But ossplay?
- Code: Select all
$ man ossplay
-R Disable redirection to virtual mixer engines and sample
rate/format conversions. Should not be used unless absolutely
necessary.
In a word, ALSA can randomise soundcards through the help of UDev. This can be prevented by preloading drivers
viewtopic.php?f=3&t=4372#p17360 Perhaps, a kind of "advanced innovation" in OSS4.
You see, "ossplay -R" plays a wave "as is". If it plays a mono wave though a stereo device, you may hear "strange effects".
The notion that "ossplay -R" "should not be used unless absolutely necessary" may surely help to keep the OSS4 users "stupid and ignorant".
Notice that
vmixctl is an "Open Sound System utility to control the vmix subsystem". The channels are somehow mapped through the help of
vmix- Code: Select all
$ man vmixctl
CHANGING THE VMIX CHANNEL MAP
The vmix subsystem can remap channels, so that all output sent to a
channel via vmix will end up being played on a different channel. The
syntax uses a list of channels, where typically 0=default, 1=left,
2=right, 3=center, 4=lfe, 5=left surround, 6=right surround, 7=left
rear and 8=right rear. Note that vmix-channels should be set first to
Multich if vmix is to recognize the extra channels.
EXAMPLES
o vmixctl remap /dev/dsp 2 1 #switch left and right
o vmixctl remap /dev/dsp 0 0 0 0 6 5 #switch left and right sur‐
round
All these seem to be a kind of "dirty hack", perhaps, an attempt to imitate PulseAudio.
The reason is simple. If some Linux drivers do not support "multi-channel", or "hardware mixing", or "hardware resampling", you can simply create a kind of PulseAudio or "vmix" to imitate "technological progress and innovations". The alternative is to fix drivers - this means a great deal of hard work.
Does ultimate perfection exist?... Today we are testing the
Lynx Two sound card from the American company of Lynx Studio Technology. The distinguishing features of this solution are
the reference quality of sound and an a high price ($1000 to $1200 depending on the modification).
http://ixbtlabs.com/articles2/lynxtwo/
Is it capable of "hardware mixing"? Or it should be powered with a kind of PulseAudio?