Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

10 Things I Hate About UNIX

Name: Anonymous 2012-11-02 12:03

http://www.informit.com/articles/printerfriendly.aspx?p=424451

Everything he said, I agree wholeheartedly.

What's better than Unix and addresses all of his 10 points, /prog/?

Name: Anonymous 2012-11-03 21:29

How can we implement the Enterprise Object Relational Mapping Architecture on a bunch of files. Thus, le Plan 9 fail.

Name: Anonymous 2012-11-04 2:03

>>40

I don't think you're getting it at all.

Name: Anonymous 2012-11-04 2:58

What would the plan9 way for implementing /dev/dsp be, keeping in mind the different audio formats and ways of buffering? Like getting the number of available audio channels, setting the format to interleaved, changing the sampling rate, etc.

If I recall correctly it is done in linux by using an ioctl system call on a /dev/dsp file handle with constants provided in header files.

Name: Anonymous 2012-11-04 3:17

>>43

Probably something like
open /dev/dsp/new as a directory
in that directory find ctl and data files
echo 8bit unsigned 44khz unbuffered > ctl
echo samples > data

Name: Anonymous 2012-11-04 3:28

>>44

beautiful! needs more json!

Name: Anonymous 2012-11-04 3:33

>>43
It's always 16bit stereo interleaved, sample rate is adjustable with a "volume" file. Its not an abstracted interface though, it pretty much assumes a sound blaster 16 compatible.
To be honest I couldn't get it to work in virtualbox anyway.

Name: Anonymous 2012-11-04 14:23

>>45
needs more json!
Try FirefoxOS.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List