代码搜索结果

找到约 10,000 项符合 Sound 的代码

sound.c

/* gameplaySP * * Copyright (C) 2006 Exophase * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License

sound.h

/* gameplaySP * * Copyright (C) 2006 Exophase * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License

sound.h

#include #include "al/al.h" #include "al/alc.h" #include "al/alut.h" #include "vorbis/vorbisfile.h" #define BUFFER_SIZE (4096 * 10) string intro_music_file; string collide_sound_fi

sound.c

#include void play_wave(u32 srate,u32 loc)//播放wave音乐 { REG_SOUNDCNT_L=0; REG_SOUNDCNT_H=0x0b0F; //DS A&B + fifo reset + timer0 + max volume to L and R REG_SOUNDCNT_X=0x0080; //turn

sound.h

#define SOUNDINIT 0x8000 // makes the sound restart #define SOUNDDUTY87 0x0000 //87.5% wave duty #define SOUNDDUTY75 0x0040 //75% wave duty #define SOUNDDUTY50 0x0080 //50% wave duty #defi

sound.c

#include #include extern const float Mfreq[7][6];//频率表 extern u8 music_cnt; void set_sound_on(); void play_sound2(u16 fre) { set_sound_on(); REG_SOUND2CNT_L=0xf07f