OSDev.org
https://forum.osdev.org/

Audio input
https://forum.osdev.org/viewtopic.php?f=1&t=31552
Page 1 of 1

Author:  obiwac [ Wed Apr 19, 2017 10:57 am ]
Post subject:  Audio input

Hello!

Does anyone know how I can get audio input from the mic jack in my os?

Thanks in advance!

Author:  Ch4ozz [ Wed Apr 19, 2017 11:18 am ]
Post subject:  Re: Audio input

AC97 or Intel HD Audio works fine.

Author:  SpyderTL [ Wed Apr 19, 2017 2:51 pm ]
Post subject:  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.

Author:  obiwac [ Thu Apr 20, 2017 9:42 am ]
Post subject:  Re: Audio input

Ok thanks!

Author:  obiwac [ Thu Apr 20, 2017 10:19 am ]
Post subject:  Re: Audio input

Isn't there some kind of grub real mode thing that I can do like with the graphics modes?

Author:  SpyderTL [ Thu Apr 20, 2017 12:27 pm ]
Post subject:  Re: Audio input

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.

Author:  obiwac [ Sat Apr 22, 2017 6:08 am ]
Post subject:  Re: Audio input

Too bad. Thanks anyways!

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/