home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 1 / Mecomp-CD.iso / amiga / player / ahi / developer / docs / specifikation.ascii < prev   
Encoding:
Text File  |  1996-03-26  |  2.1 KB  |  51 lines

  1.  
  2.  +---------------------+ +----------------------+ +--------------+
  3.  | Sound Object hander | | Faked 'audio.device' | | Applications |
  4.  +---------------------+ +----------------------+ +--------------+
  5.      |                             |                      |
  6.      |  +--------------------------+                      |
  7.      |  |  +---------------+------------------------------+
  8.      |  |  |               |
  9.      V  V  V               V
  10.  +-----------------------------+
  11.  |   <commands>   <functions>  |
  12.  |         ahi.device          |
  13.  +-----------------------------+
  14.             |   |   |
  15.          +--+   |   +---------------------------+
  16.          |      +------------+                  |
  17.          V                   V                  V
  18.  +-----------------+ +---------------+ +-------------------+
  19.  | ahi/paula.audio | | ahi/gus.audio | | ahi/toccata.audio |  etc...
  20.  +-----------------+ +---------------+ +-------------------+
  21.  
  22.  Level 1:     Standard device interface (commands)
  23.  
  24.            o  Allows applications to share the resources, with
  25.               priorities etc.
  26.            o  Could even use multiply libraries on a soundcard
  27.               equipped system, to allow both the native hardware
  28.               and the card to be used.
  29.            o  The user (not the application programmer) could select
  30.               desired library (libraries), resolution (8/12/16 bit),
  31.               mixing frequency, number of channels etc...
  32.  
  33.  
  34.  Level 2:     Library-like device interface (functions)
  35.  
  36.            o  The device has library-like functions ala timer.device,
  37.               which are available to the low-level user.
  38.            o  Contains mixing functions, perhaps sample
  39.               conversion and (de)crunch functions etc.
  40.            o  For all programs that talks to the hardware today (and has a
  41.               good reason to do so), like composer programs and module
  42.               players.
  43.  
  44.  Level 3:     Sound card drivers
  45.  
  46.            o  The drivers are libraries.
  47.            o  Only one owner at time.
  48.            o  Can either just send a mixed audio stream to the sound card,
  49.               or chose to preform the mixing itself, perhaps with its own
  50.               DSP.
  51.