Annotation of generator/hdr/gensound.h, revision 1.1

1.1     ! root        1: #ifndef JFM
        !             2: #  include "support.h"
        !             3: #  include "fm.h"
        !             4: #endif
        !             5: 
        !             6: #define SOUND_SAMPLERATE 22050
        !             7: #define SOUND_DEVICE "/dev/dsp"
        !             8: 
        !             9: 
        !            10: /* #include "SN76489.h" */
        !            11: 
        !            12: /* extern SN76489 psg_cpu; */
        !            13: extern int sound_feedback;
        !            14: 
        !            15: int sound_init(void);
        !            16: int sound_reset(void);
        !            17: void sound_genreset(void);
        !            18: void sound_process(void);
        !            19: void sound_endfield(void);
        !            20: 
        !            21: #ifdef JFM
        !            22:   uint8 sound_ym2612fetch(uint8 addr);
        !            23:   void sound_ym2612store(uint8 addr, uint8 data);
        !            24: #else
        !            25: #  define sound_ym2612fetch(addr) YM2612Read(0, addr)
        !            26: #  define sound_ym2612store(addr, data) YM2612Write(0, addr, data)
        !            27: #endif
        !            28: 
        !            29: #define sound_psgwrite(data) WriteSN76489(&psg_cpu, data)
        !            30: #define WriteSN76489(x,y) 
        !            31: 

unix.superglobalmegacorp.com

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