Hello!
Does anyone know how I can get audio input from the mic jack in my os?
Thanks in advance!
Audio input
Re: Audio input
AC97 or Intel HD Audio works fine.
Re: Audio input
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.
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.
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
- obiwac
- Member
- Posts: 149
- Joined: Fri Jan 27, 2017 12:15 pm
- Libera.chat IRC: obiwac
- Location: Belgium
Re: Audio input
Isn't there some kind of grub real mode thing that I can do like with the graphics modes?
Re: Audio input
Not really.obiwac wrote:Isn't there some kind of grub real mode thing that I can do like with the graphics modes?
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.
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott