added help messages for the configfile and updated the readme and install to reflect libpng and zlib
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@396
This commit is contained in:
parent
2f528432fc
commit
18ae21e866
13 changed files with 35 additions and 11 deletions
|
@ -218,6 +218,7 @@ static void MIXER_CallBack(void * userdata, Uint8 *stream, int len) {
|
|||
|
||||
|
||||
void MIXER_Init(Section* sec) {
|
||||
MSG_Add("MIXER_CONFIGFILE_HELP","Nothing to setup yet!\n");
|
||||
/* Initialize the internal stuff */
|
||||
first_channel=0;
|
||||
mix_ticks=GetTicks();
|
||||
|
|
|
@ -96,6 +96,7 @@ static void PCSPEAKER_CallBack(Bit8u * stream,Bit32u len) {
|
|||
}
|
||||
|
||||
void PCSPEAKER_Init(Section* sec) {
|
||||
MSG_Add("SPEAKER_CONFIGFILE_HELP","pcspeaker related options.\n");
|
||||
spkr.chan=MIXER_AddChannel(&PCSPEAKER_CallBack,SPKR_RATE,"PC-SPEAKER");
|
||||
MIXER_Enable(spkr.chan,false);
|
||||
MIXER_SetMode(spkr.chan,MIXER_16MONO);
|
||||
|
|
|
@ -557,6 +557,7 @@ static void SB_Enable(bool enable) {
|
|||
}
|
||||
|
||||
void SBLASTER_Init(Section* sec) {
|
||||
MSG_Add("SBLASTER_CONFIGFILE_HELP","Sound Blaster related options.\n");
|
||||
Section_prop * section=static_cast<Section_prop *>(sec);
|
||||
if(!section->Get_bool("enabled")) return;
|
||||
sb.chan=MIXER_AddChannel(&SBLASTER_CallBack,22050,"SBLASTER");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue