Annotation of uae/src/include/gensound.h, revision 1.1.1.6

1.1       root        1:  /*
                      2:   * UAE - The Un*x Amiga Emulator
                      3:   *
                      4:   * Prototypes for general sound related functions
                      5:   * This use to be called sound.h, but that causes confusion
                      6:   *
                      7:   * Copyright 1997 Bernd Schmidt
                      8:   */
                      9: 
                     10: extern int sound_available;
                     11: 
1.1.1.2   root       12: extern void (*sample_handler) (void);
1.1.1.6 ! root       13: /* sample_evtime is in normal Amiga cycles; scaled_sample_evtime is in our
        !            14:    event cycles.  scaled_sample_evtime_ok is set to 1 by init_sound if the
        !            15:    port understands scaled_sample_evtime and set it to something sensible.  */
        !            16: extern unsigned long sample_evtime, scaled_sample_evtime;
        !            17: extern int scaled_sample_evtime_ok;
1.1.1.2   root       18: 
1.1.1.3   root       19: /* Determine if we can produce any sound at all.  This can be only a guess;
                     20:  * if unsure, say yes.  Any call to init_sound may change the value.  */
1.1       root       21: extern int setup_sound (void);
                     22: 
                     23: extern int init_sound (void);
                     24: extern void close_sound (void);
                     25: 
                     26: extern void sample16_handler (void);
1.1.1.5   root       27: extern void sample16i_rh_handler (void);
                     28: extern void sample16i_crux_handler (void);
1.1       root       29: extern void sample8_handler (void);
                     30: extern void sample16s_handler (void);
1.1.1.5   root       31: extern void sample16si_rh_handler (void);
                     32: extern void sample16si_crux_handler (void);
1.1       root       33: extern void sample8s_handler (void);
                     34: extern void sample_ulaw_handler (void);
1.1.1.4   root       35: extern void init_sound_table16 (void);
                     36: extern void init_sound_table8 (void);
1.1       root       37: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.