Quote:
Originally Posted by knc1
Looks straight out of the GM Style Manual. (Horrible)
Publish in a style that you can be proud of, for others to see how much pride you take in your own efforts.
go post your obfuscated code on their site.
|
Hi, This is published in the style of GM. it isn't a final working example it's a whitespace condensed version of the basic alsa code.
As for obfuscated. I swear that is an un-obfuscated as using alsa gets.
I was simply aiming to demonstrate that GM could - in his style - incorporate ALSA code in circa 10 lines. (init in about 7.)
After the last few pages smeared in reference to what these values refer to - and lets face it "snd_pcm_hw_params_any (playback_handle, hw_params);" is pretty bloody obscure - I would hope there is enough x-ref to make sense of these lines.
In the end this does not serve as a fantastically beautiful demonstration of the perfect alsa init sequence. It did meet the needs of it's purpose though.
My apologies if posting the code here offended you in some way?
I'll take that under advisement.