Page 1 of 1
Audio input
Posted: Wed Apr 19, 2017 10:57 am
by obiwac
Hello!
Does anyone know how I can get audio input from the mic jack in my os?
Thanks in advance!
Re: Audio input
Posted: Wed Apr 19, 2017 11:18 am
by Ch4ozz
AC97 or Intel HD Audio works fine.
Re: Audio input
Posted: Wed Apr 19, 2017 2:51 pm
by SpyderTL
Unfortunately, there is no universal interface that will allow you to read or playback audio data. (Except maybe the PC speaker, but you don't want to go there...)
You will need to determine what audio hardware is available, and then write a driver for some of the more common ones, like SoundBlaster, ICH AC97, and Intel HD Audio.
I will go ahead and warn you, and you can look back through my forum posts and on the Wiki for more information, but the ICH AC97 path is very confusing, because "AC97" doesn't define memory addresses or I/O port registers... It just defines what mixer features an audio device has. "ICH AC97" on the other hand, does define memory addresses and I/O port registers, as do SoundBlaster and Intel HD Audio.
Hopefully, that all makes sense.
Re: Audio input
Posted: Thu Apr 20, 2017 9:42 am
by obiwac
Ok thanks!
Re: Audio input
Posted: Thu Apr 20, 2017 10:19 am
by obiwac
Isn't there some kind of grub real mode thing that I can do like with the graphics modes?
Re: Audio input
Posted: Thu Apr 20, 2017 12:27 pm
by SpyderTL
obiwac wrote:Isn't there some kind of grub real mode thing that I can do like with the graphics modes?
Not really.
I think there are some MS-DOS drivers that you could install, and which would let you call INT xxh instructions to do some audio stuff, but that probably doesn't help you at all.
Re: Audio input
Posted: Sat Apr 22, 2017 6:08 am
by obiwac
Too bad. Thanks anyways!