mirror of
https://github.com/jeremysrand/a2bejwld.git
synced 2024-09-27 03:54:47 +00:00
20ad7dda1c
This means there are three booleans in the options related to sound now. The first one enables/disables sound entirely and is default on. The second is only relevant if the sound is enabled and says "use a mockingboard if present". Again this is true by default. Finally, the this says "use a speech chip on the mockingboard if present" and is only relevant if the mockingboard is also enabled. So, the basic approach now is to default the "best" sound options and auto-detect the sound HW at launch. The user can then use the options to downgrade their sound all the way to basic Apple // sound or turn off the sound entirely.
28 lines
608 B
C
28 lines
608 B
C
//
|
|
// mockingboard_speech.h
|
|
// mocktest
|
|
//
|
|
// Created by Jeremy Rand on 2016-10-17.
|
|
// Copyright © 2016 Jeremy Rand. All rights reserved.
|
|
//
|
|
|
|
#ifndef mockingboard_speech_h
|
|
#define mockingboard_speech_h
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
extern uint8_t *mockingBoardSpeechData;
|
|
extern uint16_t mockingBoardSpeechLen;
|
|
extern uint8_t mockingBoardSpeechBusy;
|
|
extern uint8_t mockingBoardSpeechPlaying;
|
|
|
|
extern uint8_t getMockingBoardSlot(void);
|
|
extern void mockingBoardSpeechInit(uint8_t slot);
|
|
extern void mockingBoardSpeechShutdown(void);
|
|
extern void mockingBoardSpeakPriv(void);
|
|
|
|
|
|
#endif /* mockingboard_speech_h */
|