ChrisOS/Referência de fonte: GAMES/DOOM/I_SOUND.CC
Referência de fonte: GAMES/DOOM/I_SOUND.CC
Registro determinístico da fonte. O conteúdo completo do arquivo é reproduzido abaixo; esta página não substitui a interpretação arquitetural dos capítulos autorais.
Identidade do arquivo
| Campo |
Valor |
| Path |
GAMES/DOOM/I_SOUND.CC |
| Lines |
99 |
| Bytes |
1550 |
| SHA-256 |
db8b1e15990d7842131b7dff5d2936f9f1b9b6f97f42508b9c2da6c76e1012a5 |
| ChrisOS revision |
da3df29cb397932c43d32373871fb9380e688ade |
Dependências sintáticas detectadas
| Linha |
Include |
| — |
Nenhum include de preprocessor detectado. |
Símbolos detectados
| Linha |
Símbolo |
| 10 |
I_InitSound |
| 20 |
I_ShutdownSound |
| 23 |
I_GetSfxLumpNum |
| 28 |
I_UpdateSound |
| 31 |
I_UpdateSoundParams |
| 37 |
I_StartSound |
| 45 |
I_StopSound |
| 49 |
I_SoundIsPlaying |
| 54 |
I_PrecacheSounds |
| 59 |
I_InitMusic |
| 62 |
I_ShutdownMusic |
| 65 |
I_SetMusicVolume |
| 69 |
I_PauseSong |
| 72 |
I_ResumeSong |
| 75 |
I_RegisterSong |
| 81 |
I_UnRegisterSong |
| 85 |
I_PlaySong |
| 90 |
I_StopSong |
| 93 |
I_MusicIsPlaying |
| 97 |
I_BindSoundVariables |
Fonte completa
O bloco seguinte é o arquivo textual integral na revisão indicada. Não há elisão, abreviação ou paráfrase.
| /* Sound and music are no-ops on ChrisC / CLVM. */
int snd_sfxdevice;
int snd_musicdevice;
int snd_samplerate;
int snd_cachesize;
int snd_maxslicetime_ms;
char *snd_musiccmd;
void I_InitSound(int use_sfx_prefix) {
snd_sfxdevice = 0;
snd_musicdevice = 0;
snd_samplerate = 11025;
snd_cachesize = 0;
snd_maxslicetime_ms = 28;
snd_musiccmd = "";
use_sfx_prefix = use_sfx_prefix;
}
void I_ShutdownSound() {
}
int I_GetSfxLumpNum(int *sfxinfo) {
sfxinfo = sfxinfo;
return -1;
}
void I_UpdateSound() {
}
void I_UpdateSoundParams(int channel, int vol, int sep) {
channel = channel;
vol = vol;
sep = sep;
}
int I_StartSound(int *sfxinfo, int channel, int vol, int sep) {
sfxinfo = sfxinfo;
channel = channel;
vol = vol;
sep = sep;
return -1;
}
void I_StopSound(int channel) {
channel = channel;
}
int I_SoundIsPlaying(int channel) {
channel = channel;
return 0;
}
void I_PrecacheSounds(int *sounds, int num_sounds) {
sounds = sounds;
num_sounds = num_sounds;
}
void I_InitMusic() {
}
void I_ShutdownMusic() {
}
void I_SetMusicVolume(int volume) {
volume = volume;
}
void I_PauseSong() {
}
void I_ResumeSong() {
}
int I_RegisterSong(char *data, int len) {
data = data;
len = len;
return 0;
}
void I_UnRegisterSong(int handle) {
handle = handle;
}
void I_PlaySong(int handle, int looping) {
handle = handle;
looping = looping;
}
void I_StopSong() {
}
int I_MusicIsPlaying() {
return 0;
}
void I_BindSoundVariables() {
}
|
Papel deste registro
O atlas garante rastreabilidade arquivo-a-arquivo. Responsabilidade, invariantes, ownership, concorrência, segurança, desempenho e interação entre subsistemas pertencem aos capítulos autorais e devem citar este arquivo quando aplicável.
Registro do documento
ID: source-db8b1e15990d7842
Reviewed source: da3df29cb397
Class: generated-source-reference