Jacob Meuser wrote:
On Sat, Mar 27, 2010 at 02:24:58AM -0700, J.C. Roberts wrote:
sun_setpar: 0: trying pars = 48000/16/6
sun_setpar: couldn't set linear encoding
aucat: <default>: can't open device
blargh. sb(4) can't handle 48kHz rates, and this old driver is
stupid. "we don't match exactly on sample rate, so completely
ignore all other parameters!"
how the f is someone supposed to figure out what parameter is the
problem then? if it set all the paramters it could (which is everything
but the sample rate) and returned a sample rate that the device
supported, a program could see that the sample rate requested
!= sample rate returned and deal with it, easily. instead, by
denying all parameters, it's now a guessing game. did sample rate not
match, or did channels not match, or was it encoding, or precision ...
and you have to get them *all* right to know the answer.
see how totally ridiculous that is?
unfortunately, fixing this is not exactly trivial. I have an idea,
but I really would need a machine (I have the cards, just nothing that
can use them) to work it out.
Now that you mention this, I remember that not accepting 48kHz was a
common complaint for earlier soundblaster cards.
People who cared were really pissed off.
--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
-- Robert Heinlein