亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? w32g_ini.c

?? MIDI解碼程序(用VC編寫)
?? C
?? 第 1 頁 / 共 2 頁
字號:
/*    TiMidity++ -- MIDI to WAVE converter and player    Copyright (C) 1999-2002 Masanao Izumo <mo@goice.co.jp>    Copyright (C) 1995 Tuukka Toivonen <toivonen@clinet.fi>    This program is free software; you can redistribute it and/or modify    it under the terms of the GNU General Public License as published by    the Free Software Foundation; either version 2 of the License, or    (at your option) any later version.    This program is distributed in the hope that it will be useful,    but WITHOUT ANY WARRANTY; without even the implied warranty of    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    GNU General Public License for more details.    You should have received a copy of the GNU General Public License    along with this program; if not, write to the Free Software    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA    w32g_ini.c: written by Daisuke Aoki <dai@y7.net>                           Masanao Izumo <mo@goice.co.jp>*/#include <stdio.h>#include <stdlib.h>#ifdef HAVE_CONFIG_H#include "config.h"#endif /* HAVE_CONFIG_H */#include "interface.h"#include "timidity.h"#include "common.h"#include "output.h"#include "instrum.h"#include "playmidi.h"#include "w32g.h"#include "w32g_utl.h"#if MAX_CHANNELS > 32 /* FIXME */#error "MAX_CHANNELS > 32 is not supported Windows GUI version"#endifextern void IniFlush(void);int w32g_has_ini_file;static int32 str2size(char *str){    int len = strlen(str);    if(str[len - 1] == 'k' || str[len - 1] == 'K')	return (int32)(1024.0 * atof(str));    if(str[len - 1] == 'm' || str[len - 1] == 'M')	return (int32)(1024 * 1024 * atof(str));    return atoi(str);}void LoadIniFile(SETTING_PLAYER *sp,  SETTING_TIMIDITY *st){    char buff[1024];    /* [PLAYER] */    IniGetKeyInt(INI_SEC_PLAYER,"InitMinimizeFlag",&(sp->InitMinimizeFlag));    IniGetKeyInt(INI_SEC_PLAYER,"DebugWndStartFlag",&(sp->DebugWndStartFlag));    IniGetKeyInt(INI_SEC_PLAYER,"ConsoleWndStartFlag",&(sp->ConsoleWndStartFlag));    IniGetKeyInt(INI_SEC_PLAYER,"ListWndStartFlag",&(sp->ListWndStartFlag));    IniGetKeyInt(INI_SEC_PLAYER,"TracerWndStartFlag",&(sp->TracerWndStartFlag));    IniGetKeyInt(INI_SEC_PLAYER,"DocWndStartFlag",&(sp->DocWndStartFlag));    IniGetKeyInt(INI_SEC_PLAYER,"WrdWndStartFlag",&(sp->WrdWndStartFlag));    IniGetKeyInt(INI_SEC_PLAYER,"DebugWndFlag",&(sp->DebugWndFlag));    IniGetKeyInt(INI_SEC_PLAYER,"ConsoleWndFlag",&(sp->ConsoleWndFlag));    IniGetKeyInt(INI_SEC_PLAYER,"ListWndFlag",&(sp->ListWndFlag));    IniGetKeyInt(INI_SEC_PLAYER,"TracerWndFlag",&(sp->TracerWndFlag));    IniGetKeyInt(INI_SEC_PLAYER,"DocWndFlag",&(sp->DocWndFlag));    IniGetKeyInt(INI_SEC_PLAYER,"WrdWndFlag",&(sp->WrdWndFlag));    IniGetKeyInt(INI_SEC_PLAYER,"SoundSpecWndFlag",&(sp->SoundSpecWndFlag));    IniGetKeyInt(INI_SEC_PLAYER,"SubWindowMax",&(sp->SubWindowMax));    IniGetKeyStringN(INI_SEC_PLAYER,"ConfigFile",sp->ConfigFile,MAXPATH + 32);    if(!sp->ConfigFile[0]) {      GetWindowsDirectory(sp->ConfigFile, sizeof(sp->ConfigFile) - 14);      strcat(sp->ConfigFile, "\\TIMIDITY.CFG");    }    IniGetKeyStringN(INI_SEC_PLAYER,"PlaylistFile",sp->PlaylistFile,MAXPATH + 32);    IniGetKeyStringN(INI_SEC_PLAYER,"PlaylistHistoryFile",sp->PlaylistHistoryFile,MAXPATH + 32);    IniGetKeyStringN(INI_SEC_PLAYER,"MidiFileOpenDir",sp->MidiFileOpenDir,MAXPATH + 32);    IniGetKeyStringN(INI_SEC_PLAYER,"ConfigFileOpenDir",sp->ConfigFileOpenDir,MAXPATH + 32);    IniGetKeyStringN(INI_SEC_PLAYER,"PlaylistFileOpenDir",sp->PlaylistFileOpenDir,MAXPATH + 32);    IniGetKeyInt(INI_SEC_PLAYER,"PlayerThreadPriority",&(sp->PlayerThreadPriority));    IniGetKeyInt(INI_SEC_PLAYER,"GUIThreadPriority",&(sp->GUIThreadPriority));    IniGetKeyStringN(INI_SEC_PLAYER,"SystemFont",sp->SystemFont,256);    IniGetKeyStringN(INI_SEC_PLAYER,"PlayerFont",sp->PlayerFont,256);    IniGetKeyStringN(INI_SEC_PLAYER,"WrdFont",sp->WrdFont,256);    IniGetKeyStringN(INI_SEC_PLAYER,"DocFont",sp->DocFont,256);    IniGetKeyStringN(INI_SEC_PLAYER,"ListFont",sp->ListFont,256);    IniGetKeyStringN(INI_SEC_PLAYER,"TracerFont",sp->TracerFont,256);    IniGetKeyInt(INI_SEC_PLAYER,"SystemFontSize",&(sp->SystemFontSize));    IniGetKeyInt(INI_SEC_PLAYER,"PlayerFontSize",&(sp->PlayerFontSize));    IniGetKeyInt(INI_SEC_PLAYER,"WrdFontSize",&(sp->WrdFontSize));    IniGetKeyInt(INI_SEC_PLAYER,"DocFontSize",&(sp->DocFontSize));    IniGetKeyInt(INI_SEC_PLAYER,"ListFontSize",&(sp->ListFontSize));    IniGetKeyInt(INI_SEC_PLAYER,"TracerFontSize",&(sp->TracerFontSize));    IniGetKeyInt(INI_SEC_PLAYER,"WrdGraphicFlag",&(sp->WrdGraphicFlag));    IniGetKeyInt(INI_SEC_PLAYER,"TraceGraphicFlag",&(sp->TraceGraphicFlag));    IniGetKeyInt(INI_SEC_PLAYER,"DocMaxSize",&(sp->DocMaxSize));    IniGetKeyStringN(INI_SEC_PLAYER,"DocFileExt",sp->DocFileExt,256);    IniGetKeyInt(INI_SEC_PLAYER,"PlayerLanguage",&(sp->PlayerLanguage));    IniGetKeyInt(INI_SEC_PLAYER,"DocWndIndependent",&(sp->DocWndIndependent));    IniGetKeyInt(INI_SEC_PLAYER,"DocWndAutoPopup",&(sp->DocWndAutoPopup));    IniGetKeyInt(INI_SEC_PLAYER,"SeachDirRecursive",&(sp->SeachDirRecursive));    IniGetKeyInt(INI_SEC_PLAYER,"IniFileAutoSave",&(sp->IniFileAutoSave));    IniGetKeyInt(INI_SEC_PLAYER,"SecondMode",&(sp->SecondMode));    IniGetKeyInt(INI_SEC_PLAYER,"AutoloadPlaylist",&(sp->AutoloadPlaylist));    IniGetKeyInt(INI_SEC_PLAYER,"AutosavePlaylist",&(sp->AutosavePlaylist));    IniGetKeyInt(INI_SEC_PLAYER,"PosSizeSave",&(sp->PosSizeSave));    /* [TIMIDITY] */    IniGetKeyInt32(INI_SEC_TIMIDITY,"amplification",&(st->amplification));    IniGetKeyInt(INI_SEC_TIMIDITY,"antialiasing_allowed",&(st->antialiasing_allowed));    IniGetKeyInt(INI_SEC_TIMIDITY,"buffer_fragments",&(st->buffer_fragments));    IniGetKeyInt32(INI_SEC_TIMIDITY,"control_ratio",&(st->control_ratio));    IniGetKeyInt32(INI_SEC_TIMIDITY,"default_drumchannels",(int32 *)&(st->default_drumchannels));    IniGetKeyInt32(INI_SEC_TIMIDITY,"default_drumchannel_mask",(int32 *)&(st->default_drumchannel_mask));    IniGetKeyInt(INI_SEC_TIMIDITY,"opt_modulation_wheel",&(st->opt_modulation_wheel));    IniGetKeyInt(INI_SEC_TIMIDITY,"opt_portamento",&(st->opt_portamento));    IniGetKeyInt(INI_SEC_TIMIDITY,"opt_nrpn_vibrato",&(st->opt_nrpn_vibrato));    IniGetKeyInt(INI_SEC_TIMIDITY,"opt_channel_pressure",&(st->opt_channel_pressure));    IniGetKeyInt(INI_SEC_TIMIDITY,"opt_trace_text_meta_event",&(st->opt_trace_text_meta_event));    IniGetKeyInt(INI_SEC_TIMIDITY,"opt_overlap_voice_allow",&(st->opt_overlap_voice_allow));    IniGetKeyStringN(INI_SEC_TIMIDITY,"opt_default_mid",buff,sizeof(buff)-1);//    st->opt_default_mid = str2mID(buff);    st->opt_default_mid = atoi(buff);    IniGetKeyInt(INI_SEC_TIMIDITY,"default_tonebank",&(st->default_tonebank));    IniGetKeyInt(INI_SEC_TIMIDITY,"special_tonebank",&(st->special_tonebank));    IniGetKeyInt(INI_SEC_TIMIDITY,"effect_lr_mode",&(st->effect_lr_mode));    IniGetKeyInt(INI_SEC_TIMIDITY,"effect_lr_delay_msec",&(st->effect_lr_delay_msec));    IniGetKeyInt(INI_SEC_TIMIDITY,"opt_reverb_control",&(st->opt_reverb_control));    IniGetKeyInt(INI_SEC_TIMIDITY,"opt_chorus_control",&(st->opt_chorus_control));	IniGetKeyInt(INI_SEC_TIMIDITY,"opt_surround_chorus",&(st->opt_surround_chorus));	IniGetKeyInt(INI_SEC_TIMIDITY,"opt_tva_attack",&(st->opt_tva_attack));	IniGetKeyInt(INI_SEC_TIMIDITY,"opt_tva_decay",&(st->opt_tva_decay));	IniGetKeyInt(INI_SEC_TIMIDITY,"opt_tva_release",&(st->opt_tva_release));	IniGetKeyInt(INI_SEC_TIMIDITY,"opt_delay_control",&(st->opt_delay_control));	IniGetKeyInt(INI_SEC_TIMIDITY,"opt_default_module",&(st->opt_default_module));	IniGetKeyInt(INI_SEC_TIMIDITY,"opt_lpf_def",&(st->opt_lpf_def));	IniGetKeyInt(INI_SEC_TIMIDITY,"opt_drum_effect",&(st->opt_drum_effect));	IniGetKeyInt(INI_SEC_TIMIDITY,"opt_modulation_envelope",&(st->opt_modulation_envelope));	IniGetKeyInt(INI_SEC_TIMIDITY,"opt_pan_delay",&(st->opt_pan_delay));	IniGetKeyInt(INI_SEC_TIMIDITY,"opt_eq_control",&(st->opt_eq_control));	IniGetKeyInt(INI_SEC_TIMIDITY,"opt_insertion_effect",&(st->opt_insertion_effect));	IniGetKeyInt(INI_SEC_TIMIDITY,"noise_sharp_type",&(st->noise_sharp_type));    IniGetKeyInt(INI_SEC_TIMIDITY,"opt_evil_mode",&(st->opt_evil_mode));    IniGetKeyInt(INI_SEC_TIMIDITY,"adjust_panning_immediately",&(st->adjust_panning_immediately));    IniGetKeyInt(INI_SEC_TIMIDITY,"fast_decay",&(st->fast_decay));#ifdef SUPPORT_SOUNDSPEC    IniGetKeyInt(INI_SEC_TIMIDITY,"view_soundspec_flag",&(st->view_soundspec_flag));    IniGetKeyFloat(INI_SEC_TIMIDITY,"spectrogram_update_sec",&v_float);    st->spectrogram_update_sec = v_float;#endif    IniGetKeyIntArray(INI_SEC_TIMIDITY,"default_program",st->default_program,MAX_CHANNELS);    IniGetKeyStringN(INI_SEC_TIMIDITY,"opt_ctl",st->opt_ctl,sizeof(st->opt_ctl)-1);	IniGetKeyInt32(INI_SEC_TIMIDITY,"opt_drum_power",&(st->opt_drum_power));	IniGetKeyInt(INI_SEC_TIMIDITY,"opt_amp_compensation",&(st->opt_amp_compensation));    IniGetKeyInt(INI_SEC_TIMIDITY,"opt_realtime_playing",&(st->opt_realtime_playing));    IniGetKeyInt(INI_SEC_TIMIDITY,"reduce_voice_threshold",&(st->reduce_voice_threshold));    IniGetKeyStringN(INI_SEC_TIMIDITY,"opt_playmode",st->opt_playmode,sizeof(st->opt_playmode)-1);    IniGetKeyStringN(INI_SEC_TIMIDITY,"OutputName",st->OutputName,sizeof(st->OutputName)-1);    IniGetKeyStringN(INI_SEC_TIMIDITY,"OutputDirName",st->OutputDirName,sizeof(st->OutputDirName)-1);    IniGetKeyInt(INI_SEC_TIMIDITY,"auto_output_mode",&(st->auto_output_mode));    IniGetKeyInt(INI_SEC_TIMIDITY,"voices",&(st->voices));    IniGetKeyInt(INI_SEC_TIMIDITY,"auto_reduce_polyphony",&(st->auto_reduce_polyphony));    IniGetKeyInt32(INI_SEC_TIMIDITY,"quietchannels",(int32 *)&(st->quietchannels));	IniGetKeyInt(INI_SEC_TIMIDITY,"temper_type_mute",&(st->temper_type_mute));    IniGetKeyStringN(INI_SEC_TIMIDITY,"opt_qsize",st->opt_qsize,sizeof(st->opt_qsize)-1);    IniGetKeyInt32(INI_SEC_TIMIDITY,"modify_release",&(st->modify_release));    IniGetKeyStringN(INI_SEC_TIMIDITY,"allocate_cache_size",buff,sizeof(buff)-1);    st->allocate_cache_size = str2size(buff);	IniGetKeyInt(INI_SEC_TIMIDITY,"key_adjust",&(st->key_adjust));	IniGetKeyInt8(INI_SEC_TIMIDITY,"opt_force_keysig",&(st->opt_force_keysig));	IniGetKeyInt(INI_SEC_TIMIDITY,"opt_pure_intonation",&(st->opt_pure_intonation));	IniGetKeyInt8(INI_SEC_TIMIDITY,"opt_init_keysig",&(st->opt_init_keysig));    IniGetKeyInt(INI_SEC_TIMIDITY,"output_rate",&(st->output_rate));    IniGetKeyStringN(INI_SEC_TIMIDITY,"output_text_code",st->output_text_code,sizeof(st->output_text_code)-1);    IniGetKeyInt(INI_SEC_TIMIDITY,"free_instruments_afterwards",&(st->free_instruments_afterwards));    IniGetKeyStringN(INI_SEC_TIMIDITY,"out_wrd",st->opt_wrd,sizeof(st->opt_wrd)-1);#if defined(__W32__) && defined(SMFCONV)    IniGetKeyInt(INI_SEC_TIMIDITY,"opt_rcpcv_dll",&(st->opt_rcpcv_dll));#endif    IniGetKeyInt(INI_SEC_TIMIDITY,"data_block_bits",&(st->data_block_bits));    if(st->data_block_bits > AUDIO_BUFFER_BITS)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
狠狠色2019综合网| 欧美一区二区三区免费| 欧美视频自拍偷拍| 久久久久久久久99精品| 一区二区日韩av| 国产精品影视在线观看| 91麻豆精品国产91久久久久久久久 | 成人一区二区在线观看| 欧美伦理影视网| 一区二区在线观看视频在线观看| 精品一区二区三区在线播放| 在线亚洲精品福利网址导航| 久久综合精品国产一区二区三区| 一区二区三区四区亚洲| 国产福利一区二区三区视频 | av在线不卡免费看| 久久色视频免费观看| 午夜精品久久久| 一本大道久久a久久综合婷婷| 久久色在线观看| 精品在线视频一区| 正在播放一区二区| 五月天激情综合| 欧美日韩中文一区| 亚洲妇女屁股眼交7| 91亚洲精品久久久蜜桃| 国产精品五月天| 黄网站免费久久| 精品卡一卡二卡三卡四在线| 天天影视涩香欲综合网| 欧美精品亚洲二区| 亚洲成人动漫在线观看| 欧美网站一区二区| 午夜精品一区二区三区电影天堂 | 欧美日韩精品欧美日韩精品一| 亚洲男人的天堂av| 91蜜桃网址入口| 亚洲自拍都市欧美小说| 欧美四级电影网| 视频一区欧美精品| 日韩欧美国产小视频| 日本在线播放一区二区三区| 91精品国产91久久久久久一区二区 | 亚洲日本丝袜连裤袜办公室| 91免费在线看| 亚洲动漫第一页| 欧美一区二区免费| 国产在线一区二区综合免费视频| 久久久久综合网| caoporn国产精品| 亚洲一区二区三区四区五区黄 | 久久网站热最新地址| 国产伦理精品不卡| 国产精品免费aⅴ片在线观看| 91免费视频网| 青青草97国产精品免费观看 | 国产精品一区二区视频| 亚洲欧洲精品一区二区精品久久久| 色综合婷婷久久| 蜜臀久久久久久久| 久久久久久免费毛片精品| 91污片在线观看| 亚洲成人精品影院| 久久综合久久综合九色| 99久久精品一区二区| 天天综合天天综合色| 国产欧美精品一区二区色综合朱莉| 色婷婷综合久久久| 久久国产精品色婷婷| 国产精品国产自产拍高清av王其 | 色悠久久久久综合欧美99| 图片区小说区区亚洲影院| 国产亚洲精品aa午夜观看| 色偷偷88欧美精品久久久| 国产真实乱子伦精品视频| 亚洲色图视频网站| 欧美精品一区二| 91激情五月电影| 国产乱码精品一区二区三区av | 91精品久久久久久蜜臀| av不卡在线播放| 卡一卡二国产精品| 亚洲久本草在线中文字幕| 精品国产不卡一区二区三区| 日本电影欧美片| 福利电影一区二区| 男人的j进女人的j一区| 亚洲男同性恋视频| 国产精品久久三区| 精品久久久三级丝袜| 欧美日韩精品一区二区| proumb性欧美在线观看| 国产一区二区在线电影| 五月天欧美精品| 亚洲国产精品一区二区尤物区| 国产婷婷色一区二区三区| 日韩免费一区二区| 欧美精品在线一区二区三区| 91极品视觉盛宴| 91麻豆国产香蕉久久精品| av在线不卡免费看| 国产成人av电影| 国产成人在线观看| 六月丁香婷婷色狠狠久久| 天天操天天综合网| 亚洲一区二区在线播放相泽| 亚洲欧美色综合| 亚洲免费观看高清完整版在线观看熊| 国产欧美日韩三级| 久久久久高清精品| 精品国产欧美一区二区| 4hu四虎永久在线影院成人| 欧美日韩久久一区| 欧美伦理影视网| 欧美一卡2卡3卡4卡| 91精品国产色综合久久ai换脸| 欧美日韩中文字幕精品| 欧美精品在线一区二区三区| 51精品秘密在线观看| 欧美一卡2卡三卡4卡5免费| 91精品国产一区二区| 日韩欧美黄色影院| 欧美精品一区二区三区四区| 亚洲精品在线观看网站| 久久久久国产精品麻豆ai换脸| 国产日韩欧美激情| 国产精品视频一二| 亚洲欧美日韩一区| 亚洲午夜精品在线| 日韩电影在线免费看| 免费在线看一区| 国产精品自拍三区| 成人免费看黄yyy456| 91免费看视频| 欧美一区日韩一区| 久久久久国产精品厨房| 一区在线中文字幕| 亚洲国产成人精品视频| 日韩精品91亚洲二区在线观看| 麻豆精品视频在线观看| 国产精品乡下勾搭老头1| 色综合久久久久久久久| 777色狠狠一区二区三区| 欧美xxxx老人做受| 中文字幕日韩一区| 亚洲国产精品人人做人人爽| 另类欧美日韩国产在线| 成人综合婷婷国产精品久久免费| 欧美性淫爽ww久久久久无| 欧美一区二区黄| 国产精品福利av| 日韩av中文字幕一区二区 | 91搞黄在线观看| 欧美videos中文字幕| 国产精品毛片高清在线完整版| 亚洲国产成人高清精品| 成人在线视频一区| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 日韩欧美自拍偷拍| 亚洲欧美日韩精品久久久久| 日本成人在线电影网| 99这里都是精品| 日韩精品中午字幕| 亚洲视频一区二区免费在线观看 | jiyouzz国产精品久久| 69av一区二区三区| 亚洲视频资源在线| 国产一区二区网址| 欧美日韩一区二区欧美激情 | 成人avav在线| 91精品国产色综合久久不卡电影| 中文字幕一区二区在线播放 | 久久网站最新地址| 日韩精品高清不卡| 色婷婷av一区二区三区gif| 国产日本一区二区| 欧美aⅴ一区二区三区视频| 日本福利一区二区| 日韩毛片一二三区| 成人不卡免费av| 久久久亚洲精品一区二区三区| 亚洲一区二区三区四区在线免费观看 | 亚洲欧洲国产日本综合| 韩国精品主播一区二区在线观看| 在线中文字幕一区二区| 国产精品美女久久久久久| 国产精品 日产精品 欧美精品| 日韩一区二区三区免费观看| 一区二区三区高清在线| 亚洲日本一区二区| 蜜臀av一区二区在线观看 | 99久久精品免费| 久久先锋影音av鲁色资源| 免费观看91视频大全| 欧美精品一二三| 天天免费综合色| 91精品欧美一区二区三区综合在 | 国产成人av资源| 久久网这里都是精品| 国产在线观看一区二区|