+ 9

Is there any Standard audio api ?

Is there any standard way (low level api) to access audio which would work on most platform or its really platform specific i.e its abstracted by os / kernel ? if its so .. then lets forget about os for a moment and say i am making my own os so how would i access the audio port / MMIO ? like for video you could just read and write into Memory address 0xB8000 on this low level is there something for audio too !? i heard about SB-16 interface but it too doesnt seem to be standard.

17th Jun 2021, 5:55 PM
Prashanth Kumar
Prashanth Kumar - avatar
3 Respuestas
+ 2
Prashanth Kumar [back again] yes, they (linux guys) do... that could make more sense if I said you that: 1) not necessarly for all, unfortunatly 2) not necessarly in a little delay also vendors provide generally drivers for most common OS, less often for linux... drivers are platform specific, and interface(s) quite also... to make your own os, you must write drivers for it generally by reverse engeneering vendors drivers (as they not so often publish publicly specifications)...
17th Jun 2021, 8:03 PM
visph
visph - avatar
+ 4
visph so you mean there isnt any standard and vendors write just drivers for a particular os? if so then there must be a standard way to load those drivers ! which is Equalent to having a standard api !? take as an example of linux system . there are hundreds of vendors that make audio card and if there's not any standard the the linux guys would have to make drivers for all those manufacturers which makes no sense !?or do they?
17th Jun 2021, 7:39 PM
Prashanth Kumar
Prashanth Kumar - avatar
+ 3
more than platform specific, I guess that low level audio api access is audio card manufacturors / models less or more specific ^^ even at os high level, there could be different interfaces provided for a same platform... wich all access audio through specific drivers for almost each cards ;P
17th Jun 2021, 7:08 PM
visph
visph - avatar