代码搜索:Sound
找到约 10,000 项符合「Sound」的源代码
代码结果 10,000
www.eeworm.com/read/160611/5568634
c stats.c
/*
* stats.c
*
* produce statistics.
*/
#include "switches.h"
#include
#ifndef mips
#include "stdlib.h"
#endif
#include "xlisp.h"
#include "sound.h"
#include "falloc.h"
void stats()
{
www.eeworm.com/read/160611/5568728
alg offset.alg
(SCALE-ALG
(NAME "offset")
(ARGUMENTS ("sound_type" "s1") ("double" "offset"))
(STATE ("sample_type" "offset" "(sample_type) offset"))
(CONSTANT "offset")
(START (MIN s1))
(INNER-LOOP "out
www.eeworm.com/read/160611/5568831
alg slope.alg
(SLOPE-ALG
(NAME "slope")
(ARGUMENTS ("sound_type" "input"))
(STATE ("sample_type" "prev" "0.0F")
("double" "scale" "input->sr * input->scale"))
(INTERNAL-SCALING input)
(CONSTANT
www.eeworm.com/read/160611/5568836
alg prod.alg
(PROD-ALG
(NAME "prod")
(ARGUMENTS ("sound_type" "s1") ("sound_type" "s2"))
(START (MAX s1 s2))
(COMMUTATIVE (s1 s2))
(INNER-LOOP "output = s1 * s2")
(LINEAR s1 s2)
(TERMINATE (MIN s1 s2
www.eeworm.com/read/160611/5568838
alg upsample.alg
(UP-ALG
(NAME "up")
(ARGUMENTS ("rate_type" "sr") ("sound_type" "input"))
(INLINE-INTERPOLATION T)
(SAMPLE-RATE "sr")
(START (MIN input))
(INNER-LOOP "output = (sample_type) input")
(LIN
www.eeworm.com/read/160611/5568876
alg abs.alg
(ABS-ALG
(NAME "abs")
(ARGUMENTS ("sound_type" "input"))
(ALWAYS-SCALE input)
(START (MIN input))
(INNER-LOOP "{ sample_type s = input; sample_type o = s; if (o < 0.0) o = -o; output = o; }"
www.eeworm.com/read/160611/5568877
alg integrate.alg
(INTEGRATE-ALG
(NAME "integrate")
(ARGUMENTS ("sound_type" "input"))
(START (MIN input))
(TERMINATE (MIN input))
(LINEAR input)
(LOGICAL-STOP (MIN input))
(STATE ("double" "integral" "0.0;
scale_f
www.eeworm.com/read/104770/15683735
cpp soundmanager.cpp
#include
#include
#include
#include "soundmanager.h"
// enum Sound{SND_EAT,SND_DIE,SND_ATTACK,SND_FOOD_FROM_GOD, SND_EAT_BOT,
// SND_RENEGADE, SND
www.eeworm.com/read/104703/15684671
am makefile.am
sounddir=$(datadir)/sounds/gpegsol
sound_DATA = pick-up.wav \
drop-valid.wav \
you-win.wav \
you-lose.wav
EXTRA_DIST = $(sound_DATA)
www.eeworm.com/read/152843/5665377
c dmasound_awacs.c
/*
* linux/sound/oss/dmasound/dmasound_awacs.c
*
* PowerMac `AWACS' and `Burgundy' DMA Sound Driver
* with some limited support for DACA & Tumbler
*
* See linux/sound/oss/dmasound/dmasound_c