Home
last modified time | relevance | path

Searched refs:FRAGSIZE (Results 1 – 20 of 20) sorted by relevance

/dports/emulators/frodo/Frodo-4.1b/Src/
H A DSID_sun.i18 #define FRAGSIZE (SAMPLE_FREQ/CALC_FREQ) // samples in a fragment macro
19 #define MAXBUFFERED (3*FRAGSIZE) // allow ourself a little buffering
56 sound_calc_buf = new int16[FRAGSIZE]; in init_sound()
122 if (to_output >= FRAGSIZE) /* got enough to send */ in EmulateLine()
124 calc_buffer(sound_calc_buf, FRAGSIZE*2); in EmulateLine()
126 ret = write (fd,sound_calc_buf, FRAGSIZE*2); in EmulateLine()
127 if (ret != FRAGSIZE*2) /* should not happen */ in EmulateLine()
133 sent_samples+=FRAGSIZE; in EmulateLine()
/dports/games/xkoules/koules1.4/
H A Dkoules.sndsrv.sgi.c25 #define FRAGSIZE 510 /* 1/16 second: XXX 500 causes 6.2 crash! */ macro
91 ALsetqueuesize(writeConfig, FRAGSIZE); in setup_dsp()
133 sound_size[k] = (size / FRAGSIZE) + 1; /* size in fragments */ in read_sound()
134 sound_buffer[k] = malloc(sound_size[k] * FRAGSIZE); in read_sound()
148 bzero(sound_buffer[k] + size, sound_size[k] * FRAGSIZE - size); in read_sound()
223 sample = sound_buffer[playing[i]] + position[i] * FRAGSIZE; in do_everything()
224 for (j = 0; j < FRAGSIZE; j++) { in do_everything()
230 for (i = 0; i < FRAGSIZE; i++) in do_everything()
239 ALwritesamps(writePort, final, FRAGSIZE); in do_everything()
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/libventi/
H A Dpacket.c187 n -= FRAGSIZE(ff); in packetdup()
195 n -= FRAGSIZE(ff); in packetdup()
232 n -= FRAGSIZE(f); in packetsplit()
313 n -= FRAGSIZE(f); in packettrim()
714 n0 = FRAGSIZE(f0); in packetcmp()
715 n1 = FRAGSIZE(f1); in packetcmp()
726 n0 = FRAGSIZE(f0); in packetcmp()
735 n1 = FRAGSIZE(f1); in packetcmp()
746 n0 = FRAGSIZE(f0); in packetcmp()
747 n1 = FRAGSIZE(f1); in packetcmp()
[all …]
/dports/games/xrally/xrally/
H A Dsound_oss.c31 #define FRAGSIZE (8) macro
59 i = (FRAGNUM << 16 | FRAGSIZE); in oss_init_sound()
/dports/games/sarien/sarien-0.7.0/src/sound/oss/
H A Dsound_oss.c27 #define FRAGSIZE (9) macro
78 i = (FRAGNUM << 16 | FRAGSIZE); in oss_init_sound()
/dports/audio/nas/nas-1.9.4/server/dia/
H A Dgram.y29 %token <num> INPUTSECTION OUTPUTSECTION ENDSECTION WORDSIZE FRAGSIZE MAXFRAGS
134 | FRAGSIZE number
136 ddaSetConfig(FRAGSIZE, (void *)$2);
/dports/games/sarien/sarien-0.7.0/src/sound/alsa/
H A Dsound_alsa.c27 #define FRAGSIZE 1024 macro
81 params.buf.block.frag_size = FRAGSIZE; in alsa_init_sound()
/dports/audio/spiralsynthmodular/spiralmodular-0.2.2/SpiralSound/
H A DSpiralInfo.C36 int SpiralInfo::FRAGSIZE = 256;
109 s >> temp >> temp >> FRAGSIZE; in StreamInPrefs()
156 s << "FragmentSize = " << FRAGSIZE << endl; in StreamOutPrefs()
H A DSpiralInfo.h44 static int FRAGSIZE; variable
/dports/audio/spiralsynthmodular/spiralmodular-0.2.2/SpiralSound/Plugins/OutputPlugin/
H A DOutputPlugin.C422 if ((host->FRAGSIZE)==(1<<i))
431 cerr<<"Fragment size ["<<host->FRAGSIZE<<"] must be power of two!"<<endl;
521 if ((host->FRAGSIZE)==(1<<i))
530 cerr<<"Fragment size ["<<host->FRAGSIZE<<"] must be power of two!"<<endl;
/dports/www/elinks/elinks-0.11.7/src/cache/
H A Dcache.c274 #define FRAGSIZE(x) (sizeof(struct fragment) + (x) - 1) macro
302 struct fragment *f = mem_mmap_alloc(FRAGSIZE(size)); in frag_alloc()
305 memset(f, 0, FRAGSIZE(size)); in frag_alloc()
312 return mem_mmap_realloc(f, FRAGSIZE(f->real_length), FRAGSIZE(size)); in frag_realloc()
318 mem_mmap_free(f, FRAGSIZE(f->real_length)); in frag_free()
/dports/audio/spiralsynthmodular/spiralmodular-0.2.2/
H A DSettingsWindow.C72 sprintf(FragmentSize,"%d",SpiralInfo::FRAGSIZE);
182 SpiralInfo::FRAGSIZE=(int)atof(m_FragmentSize->value());
200 SpiralInfo::FRAGSIZE=(int)atof(m_FragmentSize->value());
H A DSpiralSynthModular.C81 m_Info.FRAGSIZE = SpiralInfo::FRAGSIZE; in SynthModular()
725 m_Info.FRAGSIZE = SpiralInfo::FRAGSIZE; in UpdateHostInfo()
/dports/audio/libmikmod/libmikmod-3.3.11.1/drivers/
H A Ddrv_ds.c83 #define FRAGSIZE 16 macro
93 static int fragsize=1<<FRAGSIZE;
150 if ((buf<12)||(buf>19)) buf=FRAGSIZE; in DS_CommandLine()
/dports/audio/nas/nas-1.9.4/server/dda/voxware/
H A Dconfig.c103 case FRAGSIZE: in ddaSetConfig()
/dports/audio/spiralsynthmodular/spiralmodular-0.2.2/SpiralSound/Plugins/
H A DSpiralPlugin.h50 int FRAGSIZE;
/dports/multimedia/mencoder/mplayer-export-2021-12-29/stream/
H A Dtvi_bsdbt848.c35 #define FRAGSIZE 4096 /* (2^12 see SETFRAGSIZE below) */ macro
910 if(bytesavail == 0) return FRAGSIZE; in get_audio_framesize()
/dports/games/xblast/xblast-2.10.4/
H A Dxbsndsrv.c274 #define FRAGSIZE 0x0004000a macro
281 static int fragsize = FRAGSIZE;
/dports/multimedia/mplayer/mplayer-export-2021-12-29/stream/
H A Dtvi_bsdbt848.c35 #define FRAGSIZE 4096 /* (2^12 see SETFRAGSIZE below) */ macro
910 if(bytesavail == 0) return FRAGSIZE; in get_audio_framesize()
/dports/audio/espeak/espeak-1.48.04-source/src/
H A Dwave_pulse.cpp76 #define FRAGSIZE 0 macro