Home
last modified time | relevance | path

Searched refs:clunk (Results 1 – 25 of 264) sorted by relevance

1234567891011

/dports/audio/clunk/clunk-1.3.261/
H A Dtest.cpp16 typedef clunk::mdct_context<WINDOW_BITS, clunk::vorbis_window_func, float> mdct_type;
100 mdct_test<clunk::ref_mdct_context<3, clunk::sin_window_func, float> > test; in main()
106 mdct_test<clunk::mdct_context<3, clunk::sin_window_func, float> > test2; in main()
114 clunk::sdl::Backend backend(44100, 2, 1024); in main()
115 clunk::Context &context = backend.get_context(); in main()
117 clunk::Object * o = context.create_object(); in main()
118 clunk::Sample * s = clunk::WavFile::load(context, "scissors.wav"); in main()
119 clunk::Sample * h = clunk::WavFile::load(context, "helicopter.wav"); in main()
122 clunk::DistanceModel dm(clunk::DistanceModel::Exponent, false); in main()
141 o->play("h", new clunk::Source(h, true)); in main()
[all …]
H A DSConscript31 clunk = env.SharedLibrary('clunk', clunk_src, LIBS=clunk_libs)
36 install_targets.append(Install(lib_dir, clunk))
38 Install('#', clunk[0])
H A DSConstruct46 clunk = env.SharedLibrary('clunk',
57 env.Program('clunk_test', ['test.cpp'], LIBS=['clunk'])
58 env.Program('clunk_c_test', ['test_c.c'], LIBS=['clunk'])
/dports/games/battletanks/btanks-0.9.8083/clunk/
H A Dtest.cpp7 typedef clunk::mdct_context<WINDOW_BITS, clunk::vorbis_window_func, float> mdct_type;
8 typedef clunk::fft_context<WINDOW_BITS - 2, float> fft_type;
41 clunk::Context context; in main()
44 clunk::Object * o = context.create_object(); in main()
45 clunk::Sample * s = context.create_sample(); in main()
67 o->play("s", new clunk::Source(s, false, clunk::v3<float>(-cos(a), -sin(a), 0) * d)); in main()
H A Dcontext.h34 namespace clunk {
128 …void convert(clunk::Buffer &dst, const clunk::Buffer &src, int rate, const Uint16 format, const Ui…
144 friend clunk::Object::~Object();
145 friend clunk::Sample::~Sample();
156 clunk::Buffer buffer;
H A Dlogger.h30 namespace clunk {
36 # define LOG_DEBUG(fmt) clunk::log_debug fmt
37 # define LOG_ERROR(fmt) clunk::log_debug fmt
40 # define LOG_ERROR(fmt) clunk::log_debug fmt
H A Dsource.h34 namespace clunk {
42 struct vorbis_window_func : public clunk::window_func_base<N, T> {
90 …float process(clunk::Buffer &buffer, unsigned ch, const v3<float> &position, const v3<float> &dire…
111 …void hrtf(int window, const unsigned channel_idx, clunk::Buffer &result, const Sint16 *src, int sr…
115 clunk::Buffer sample3d[2];
H A Dclunk_ex.h27 namespace clunk {
47 #define throw_generic(ex_cl, fmt) { ex_cl e; e.add_message(__FILE__, __LINE__); e.add_message(clunk
48 #define throw_ex(fmt) throw_generic(clunk::Exception, fmt)
49 #define throw_io(fmt) throw_generic(clunk::IOException, fmt)
H A DSConscript31 clunk = env.SharedLibrary('clunk', clunk_src, LIBS=clunk_libs)
36 install_targets.append(Install(lib_dir, clunk))
38 Install('#', clunk[0])
H A Dclunk_ex.cpp30 void clunk::Exception::add_message(const char *file, int line) { in add_message()
36 void clunk::Exception::add_message(const std::string &msg) { in add_message()
41 void clunk::IOException::add_custom_message() { in add_custom_message()
H A Dsample.h27 namespace clunk {
48 void init(const clunk::Buffer &data, int rate, const Uint16 format, const Uint8 channels);
75 clunk::Buffer data;
/dports/games/battletanks/btanks-0.9.8083/engine/sound/
H A Dmixer.cpp72 _context = new clunk::Context(); in init()
80 clunk::DistanceModel dm(clunk::DistanceModel::Exponent, false); in init()
214 clunk::Sample * sample = NULL; in loadSample()
262 clunk::Sample *sample = i->second; in playSample()
265 clunk::Object *clunk_object = o->get_clunk_object(); in playSample()
283 …clunk_object->update(clunk::v3<float>(pos.x, -pos.y, 0), clunk::v3<float>(vel.x, -vel.y, 0), clunk in playSample()
292 clunk_object->play(name, new clunk::Source(sample, loop, clunk::v3<float>(), gain, pitch)); in playSample()
296 clunk::Object * listener = _context->get_listener(); in playSample()
298 listener->play(name, new clunk::Source(sample, loop, clunk::v3<float>(), gain)); in playSample()
H A Dogg_stream.h42 namespace clunk {
47 class OggStream : public clunk::Stream {
49 static void decode(clunk::Sample &sample, const std::string &file);
53 bool read(clunk::Buffer &data, unsigned hint);
/dports/www/p5-HTTP-Proxy/HTTP-Proxy-0.304/t/
H A D16stash.t10 $proxy = HTTP::Proxy->new( stash => { clunk => 'slosh', plop => 'biff' } );
11 is( $proxy->stash('clunk'), 'slosh', "get clunk from stash" );
15 { clunk => 'slosh', plop => 'biff' },
19 is( $proxy->stash( clunk => 'sock' ), 'sock', "set returns the new value" );
20 is( $proxy->stash('clunk'), 'sock', "the new value is set" );
/dports/audio/clunk/clunk-1.3.261/clunk/
H A Dlogger.h30 namespace clunk {
36 # define LOG_DEBUG(fmt) clunk::log_debug fmt
37 # define LOG_ERROR(fmt) clunk::log_debug fmt
40 # define LOG_ERROR(fmt) clunk::log_debug fmt
H A Dsample.h27 namespace clunk {
47 void init(const clunk::Buffer &data, const AudioSpec &spec);
60 const clunk::Buffer & get_data() const { return _data; } in get_data()
73 clunk::Buffer _data;
H A Dhrtf.h30 namespace clunk {
46 unsigned process(unsigned sample_rate, clunk::Buffer &dst_buf, unsigned dst_ch,
47 const clunk::Buffer &src_buf, unsigned src_ch,
61 clunk::Buffer sample3d[2];
H A Dclunk_ex.h27 namespace clunk {
47 #define throw_generic(ex_cl, fmt) { ex_cl e; e.add_message(__FILE__, __LINE__); e.add_message(clunk
48 #define throw_ex(fmt) throw_generic(clunk::Exception, fmt)
49 #define throw_io(fmt) throw_generic(clunk::IOException, fmt)
H A Dclunk_ex.cpp30 void clunk::Exception::add_message(const char *file, int line) { in add_message()
36 void clunk::Exception::add_message(const std::string &msg) { in add_message()
41 void clunk::IOException::add_custom_message() { in add_custom_message()
H A Dcontext.h34 namespace clunk {
130 friend clunk::Object::~Object();
131 friend clunk::Sample::~Sample();
142 clunk::Buffer buffer;
H A Dbuffer.cpp25 using namespace clunk;
131 std::string result = clunk::format_string("-[memory dump]-[size: %u]---", (unsigned)size); in dump()
134 result += clunk::format_string("\n%06x\t", (unsigned)(i * 16)); in dump()
141 result += clunk::format_string("%02x ", *p); in dump()
154 result += clunk::format_string("%c", (*p>=32 && *p < 127)? *p: '.'); in dump()
/dports/databases/p5-Redis/Redis-1.995/t/
H A D04-pipeline.t48 …([set => [clunk => 'eth'], 'OK'], [oops => [], undef, re(qr{^ERR unknown command .OOPS.})], [get =…
73 my $clunk;
74 is($r->get('clunk', sub { $clunk = $_[0] }), 1, 'queue a request');
77 is($clunk, 'eth', 'synchronous request processes pending ones');
84 $r->set(clunk => 'eth', $s);
85 $r->rpush(clunk => 'oops', $s);
/dports/databases/p5-Redis-Fast/Redis-Fast-0.31/t/
H A D04-pipeline.t39 …([set => [clunk => 'eth'], 'OK'], [oops => [], undef, re(q[\AERR unknown command ['`]OOPS['`](:?, …
64 my $clunk;
65 is($r->get('clunk', sub { $clunk = $_[0] }), 1, 'queue a request');
68 is($clunk, 'eth', 'synchronous request processes pending ones');
75 $r->set(clunk => 'eth', $s);
76 $r->rpush(clunk => 'oops', $s);
/dports/audio/clunk/clunk-1.3.261/contrib/
H A Dogg_stream.h14 namespace clunk {
19 class OggStream : public clunk::Stream {
23 bool read(clunk::Buffer &data, unsigned hint);
/dports/games/battletanks/btanks-0.9.8083/clunk/contrib/
H A Dogg_stream.h14 namespace clunk {
19 class OggStream : public clunk::Stream {
23 bool read(clunk::Buffer &data, unsigned hint);

1234567891011