Stream Sounds from a Stereo Input and Output Them to the Speakers
17 replies, posted
When playing games, I sometimes like to listen to music, and when I do, I HATE having to alt-tab to mess with my playlist. My solution to that is to use my sound card's Line-In input (connected to my iPod) and have a program stream that to the speakers. However, the only program that I can find to perform that function is [url=http://audacity.sourceforge.net/]Audacity[/url], which I had to do a little preferences-digging-through to make work, and requires me to 'record' it while the software playback option is enabled. For obvious reasons, this option is inelegant and I got the idea to write my own utility to do this. Unfortunately, I can't find a built in .NET component to do this, and I hate :google:ing for API's only to find out that they are depreciated/undocumented/incompatible-with-Vista/etc.
If anybody wants to post a C# compatible API to do this (tl;dr version of API req's at end) that would be great, and if somebody wants to post a snippet of code to achieve this, it would be even better.
[b][u]TL;DR Version of API Requirements[/u][/b]
[list]Must be able to stream from a stereo input[/list]
[list]Must be able to output to the speakers directly (no writing/reading to HDD)[/list]
[list]Must be able to be turned on/off (UI will be handled by me)[/list]
[img]http://filesmelt.com/downloader/Capture67.JPG[/img]
This is all.
[QUOTE=windwakr;18709297]He doesn't want to use the mic jack, he wants the stereo input.[/QUOTE]
[img]http://filesmelt.com/downloader/Capture68.JPG[/img]
Hah.
[QUOTE=windwakr;18709347]It's still easier just pressing the little speaker in the bottom right and clicking unmute. You don't have to navigate through the control panel.[/QUOTE]
That doesn't exist in 7 or vista, way to go.
And he has vista / 7 since he said it in the OP that the apis he found were not compatible with it.
[QUOTE=ShaRose;18709363]That doesn't exist in 7 or vista, way to go.
And he has vista / 7 since he said it in the OP that the apis he found were not compatible with it.[/QUOTE]
APIs as in [b]Application Programming Interface[/b]. He wasn't looking for Windows settings.
You could simply take a headphone splitter, plug it into your PC and then plug one of them into your headphones, and the other into your iPod with an aux cable. I've done it before and it works just fine.
[QUOTE=Agent766;18712387]APIs as in [b]Application Programming Interface[/b]. He wasn't looking for Windows settings.[/QUOTE]
[QUOTE=Phyxius;18707119]I hate :google:ing for API's only to find out that they are depreciated/undocumented/incompatible-with-Vista/etc.[/QUOTE]
I know he wanted an api, but if there's a windows setting for it, it's probably best to use it. Or, make your own api to change the setting.
[QUOTE=ShaRose;18709317][img]http://filesmelt.com/downloader/Capture68.JPG[/img]
Hah.[/QUOTE]
[URL=http://img692.imageshack.us/my.php?image=weirdsound.png][IMG]http://img692.imageshack.us/img692/5572/weirdsound.png[/IMG][/URL]
:psyduck:
I don't see it...
EDIT:
:siren:Caught Swine Flu, may not be able to check this thread regularly.:siren:
[QUOTE=windwakr;18730552]Does Vista/7 Doesn't have a sound menu like this?
[media]http://filesmelt.com/downloader/micinput.PNG[/media][/QUOTE]
It does, but it has per-application options:
[URL=http://img708.imageshack.us/my.php?image=weirdsound2.png][IMG]http://img708.imageshack.us/img708/8363/weirdsound2.png[/IMG][/URL]
[b][u]FORGET IT, I'M DUMB:[/u][/b]
[URL=http://img689.imageshack.us/my.php?image=weirdsound3.png][IMG]http://img689.imageshack.us/img689/5676/weirdsound3.png[/IMG][/URL]
Rate me boxes...
[QUOTE=ShaRose;18709363]That doesn't exist in 7 or vista, way to go.
And he has vista / 7 since he said it in the OP that the apis he found were not compatible with it.[/QUOTE]
It works in 7. I've been using it with my synthesizer.
It can't work in 7 because it doesn't exist in 7. The audio stack was completely redone in Vista, they are barely comparable.
[media]http://imagebin.ca/img/ipjAHC.png[/media]
Sorry, you need to Log In to post a reply to this thread.