2.1.77 sound problems

Bob Tracy (rct@gherkin.sa.wlk.com)
Sun, 4 Jan 1998 14:35:25 -0600 (CST)


PAS-16 doesn't work under 2.1.77.

(1) cat file.au > /dev/audio

produces "<pop!><file_contents><pop!><pop!>"

(2) play file.au (link to linux sox command)

produces

Unable to set audio speed to 8012 (set to 0)
play: Sampling rate for dummy.sbdsp file was not given

I backed out all the 2.1.76-->2.1.77 changes to files in
linux/drivers/sound, and everything now works as it's supposed to from
my perspective.

New subject:

Without meaning to pick on any one person in particular, I note with some
frustration that folks are getting worse about gratuitously changing the
format/coding style of source modules they are maintaining that they
inherit from a previous author. Some changes are for the better and I
don't count such changes as gratuitous. On the other hand, changes such
as the following:

-static int
-func_name(arg0, arg1, ...)
+static int func_name(arg0, arg1, ...)

*are* gratuitous and make it more difficult to search for and find the
beginning of a particular function in the code.

Sorry to come off as a cranky old man. I'm really a cranky young man :-).
The only point I really wanted to make is that some coding standards are
worth following.

-- 
Bob Tracy               |  If you have any trouble sounding condescending,
Firewall Security Corp. |  find a Unix user to show you how it's done.
rct@frus.com            |  	-- Scott Adams: DNRC Newsletter 3.0