代码搜索结果
找到约 12,685 项符合
Sound 的代码
audio_conf.h
#define AUDIO_DEV "/dev/sound/dsp"
#define MIXER_DEV "/dev/sound/mixer"
#define INPUT_CHA SOUND_MIXER_MIC
#define SAMPLE_RATE 8000
#define AUDIO_PLAY_BUF_SIZE 4096
#define AUDIO_PLAY_BUF_NUM 3
#d
sound.h
// Sound.h: interface for the CSound class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SOUND_H__07950063_0476_11D2_A72C_000000000000__INCLUDED_)
#
sound.cpp
// Sound.cpp: implementation of the CSound class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Tetris.h"
#include "Sound.h"
#include
sound.mak
CC = iccavr
CFLAGS = -IC:\icc\include\ -e -DATMEGA -DATMega16 -l -g -Mavr_enhanced
ASFLAGS = $(CFLAGS) -Wa-g
LFLAGS = -LC:\icc\lib\ -g -ucrtatmega.o -bfunc_lit:0x54.0x4000 -dram_end:0x45f -bda
sound.c
#include
#include "sound.h"
void set_patch(int channel, int prog)
{
unsigned char msg[2];
msg[0] = 0xC0+channel;
msg[1] = prog;
midi_out(msg, 2);
}
void se
makefile.win
# Project: rhythm
# Makefile created by Dev-C++ 4.9.9.2
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES =
OBJ = rhythm.o sound.o timer.o edit.o check.o $(RES)
LINKOBJ = rhythm.o s
kyodai.ini
#Kyodai
#Thu Feb 21 20:26:13 CST 2008
Animate=2
Sound=1
Music=1
LevelIndex=2
soundmanager.java
// ShotSounds.java
// Andrew Davison, ad@fivedots.coe.psu.ac.th, November 2004
/* Load and play the fired shot and explosion sounds.
There's only one fired shot sound (laser.wav) but it's
sound.h
// Sound.h
#ifndef __SOUND_H__
#define __SOUND_H__
#include "stdafx.h"
#include
class CWave
{
public:
CWave();
CWave( const char * );
CWave( const char *, HINSTANCE )