If I press a key on your pc, a sound plays on yours. Help!?

Coders forum. Discuss techniques, swap code snippets, ask for help etc. relating to all forms of software development.
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27259
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: If I press a key on your pc, a sound plays on yours. Hel

Post by gilesgoat »

"Just to add a little thing" .. "having been there A NUMBER OF TIMES" - including "other places not PCs" ...

"Playing a stupid sound" .. "how hard can it be ?" ...

ACTUALLY IS HARD .. because "unless you use certain too famous libs for it" .. you want to do it "from scratch" using "sure the system has something" .. you'll find out pretty soon that "YES BUT .. " ..

Being already at my 6th ? 7th ? Nth ? Iteration/version of my "not-so-minimalist-sound-engine" ( at the point I gave it a name ) just the act of "playing sound" it's NOT really trivial.

Well yes "a simple beep is" but if you are talking about "many sounds in a video game" .. as I said .. "or the certain too famous libs .. " or .. "LOT of job to be done" ...

It seems that nowadays "any system" fights "to have the most complex audio shit" .. let's NOT even mention/talk about "codecs" and "formats" just "the HW" ..

... enumerate N devices, pick up one, find the "master output stream" , enumerate a "data pool format" , select this, compute some shite, find "an audio output data path", install a "device callbacks" and 12 other "audio callback functions" , grab a "mixer path", select an "audio router", create an "audio path data graph", is it "mono" ? "stereo" "5.1Ch" ? "shitniz" ? set an "audio data event handler" .. blah blah ..

WHAT .. in the ACTUAL .. FUCK ...

And no, let's forget 3D audio ..

"I've seen things .. nobody should ever see .. and I keep seeing them ... "

We live in the world of "we can't any more make simple things" ...
Giles the billy goat
"Baa"
User avatar
Little stoned kiwi
Baaaaaa!
Baaaaaa!
Posts: 4598
Joined: Mon Oct 27, 2003 6:05 am 0
Location: Christchurch

Re: If I press a key on your pc, a sound plays on yours. Hel

Post by Little stoned kiwi »

I'd have thought the hard bit would be building a keylogger.
If they think you're crude, go technical; if they think you're technical, go crude. I'm a very technical boy.
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27259
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: If I press a key on your pc, a sound plays on yours. Hel

Post by gilesgoat »

.. if one of those week ends "I find the time" I may be tempted "for the sake of doing it" to write such ( PC windows ) program.
Giles the billy goat
"Baa"
Post Reply