/dports/games/xkoules/koules1.4/ |
H A D | koules.sndsrv.hp.c | 29 int sound_size[NUM_SOUNDS]; variable 64 sound_size[i] = 0; in init() 143 sound_size[k] = -1; in read_sound() 147 sound_size[k] = ((size) / fragsize) + 1; /*size in fragments */ in read_sound() 152 sound_size[k] = -1; in read_sound() 159 b = ((unsigned char *) sound_buffer[k]) + sound_size[k] * fragsize; in read_sound() 160 d = sound_buffer[k] + sound_size[k] * fragsize; in read_sound() 162 for (i = 0; i < sound_size[k] * fragsize; i++) in read_sound() 208 if (sound_size[(int) k] == 0) in do_everything() 210 if (sound_size[(int) k] > 0 && playnum < 16) in do_everything() [all …]
|
H A D | koules.sndsrv.sun.c | 43 int sound_size[NUM_SOUNDS]; variable 78 sound_size[i] = 0; in init() 132 sound_size[k] = -1; in read_sound() 136 sound_size[k] = (size / fragsize) + 1; /*size in fragments */ in read_sound() 137 sound_buffer[k] = malloc (sound_size[k] * fragsize); in read_sound() 141 sound_size[k] = -1; in read_sound() 150 bzero (sound_buffer[k] + size, sound_size[k] * fragsize - size); in read_sound() 191 if (sound_size[(int) k] == 0) in do_everything() 193 if (sound_size[(int) k] > 0 && playnum < 16) in do_everything() 205 if ((position[i] == sound_size[playing[i]]) || (terminate == i)) in do_everything()
|
H A D | koules.sndsrv.linux.c | 40 int sound_size[NUM_SOUNDS]; variable 75 sound_size[i] = 0; in init() 156 sound_size[k] = -1; in read_sound() 160 sound_size[k] = (size / fragsize) + 1; /*size in fragments */ in read_sound() 161 sound_buffer[k] = malloc ((sound_size[k] + 1) * fragsize); in read_sound() 165 sound_size[k] = -1; in read_sound() 174 memset (sound_buffer[k] + size, 0, sound_size[k] * fragsize - size); in read_sound() 217 if (sound_size[(int) k] == 0) in do_everything() 219 if (sound_size[(int) k] > 0 && playnum < 16) in do_everything() 231 if ((position[i] == sound_size[playing[i]]) || (terminate == i)) in do_everything()
|
H A D | koules.sndsrv.freebsd.c | 39 int sound_size[NUM_SOUNDS]; variable 74 sound_size[i] = 0; in init() 167 sound_size[k] = -1; in read_sound() 171 sound_size[k] = (size / fragsize) + 1; /*size in fragments */ in read_sound() 172 sound_buffer[k] = malloc (sound_size[k] * fragsize); in read_sound() 176 sound_size[k] = -1; in read_sound() 185 memset (sound_buffer[k] + size, 0, sound_size[k] * fragsize - size); in read_sound() 226 if (sound_size[k] == 0) in do_everything() 228 if (sound_size[k] > 0 && playnum < 16) in do_everything() 240 if ((position[i] == sound_size[playing[i]]) || (terminate == i)) in do_everything()
|
H A D | koules.sndsrv.sgi.c | 41 int sound_size[NUM_SOUNDS]; variable 72 sound_size[i] = 0; in init() 129 sound_size[k] = -1; in read_sound() 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() 137 sound_size[k] = -1; in read_sound() 148 bzero(sound_buffer[k] + size, sound_size[k] * FRAGSIZE - size); in read_sound() 193 if (sound_size[(int) k] == 0) in do_everything() 195 if (sound_size[(int) k] > 0 && playnum < 16) { in do_everything() 207 if ((position[i] == sound_size[playing[i]]) || (terminate == i)) { in do_everything()
|
H A D | soundos2.c | 51 int sound_size[NUM_SOUNDS]; 177 if (sound_size[(int) k] > 0 && playnum < 16) 202 if ((position[i] == sound_size[playing[i]]) || (terminate == i)) 460 PlayList[0].ulOperandTwo = (sound_size[k] + 1) * fragsize; 661 sound_size[k] = -1; 669 sound_size[k] = (size / fragsize) + 1; 672 printf ("size = %d\n", (int) sound_size[k]); 676 sound_buffer[k] = malloc ((sound_size[k] + 1) * fragsize); 691 memset (sound_buffer[k] + size, 0, sound_size[k] * fragsize - size); 730 PlayList[0].ulOperandTwo = (sound_size[usSoundFileID] + 1) * fragsize;
|
/dports/games/xgalaga/xgalaga-2.1.1.0/ |
H A D | xgal.sndsrv.sun.c | 41 int sound_size[NUM_SOUNDS]; variable 73 sound_size[i]=0; in init() 123 sound_size[k]=-1; in read_sound() 127 sound_size[k]=(size/fragsize)+1; /*size in fragments*/ in read_sound() 128 sound_buffer[k]=malloc(sound_size[k]*fragsize); in read_sound() 132 sound_size[k]=-1; in read_sound() 140 bzero(sound_buffer[k]+size,sound_size[k]*fragsize-size); in read_sound() 174 if(sound_size[(int)k]==0) read_sound(k); in do_everything() 175 if(sound_size[(int)k]>0 && playnum<16) { in do_everything() 186 if((position[i]==sound_size[playing[i]]) || (terminate==i)) in do_everything()
|
H A D | xgal.sndsrv.linux.c | 47 int sound_size[NUM_SOUNDS]; variable 79 sound_size[i]=0; in init() 156 sound_size[k]=-1; in read_sound() 160 sound_size[k]=(size/fragsize)+1; /*size in fragments*/ in read_sound() 161 sound_buffer[k]=malloc(sound_size[k]*fragsize); in read_sound() 165 sound_size[k]=-1; in read_sound() 174 memset(sound_buffer[k]+size,0,sound_size[k]*fragsize-size); in read_sound() 209 if(sound_size[(int)k]==0) read_sound(k); in do_everything() 210 if(sound_size[(int)k]>0 && playnum<16) { in do_everything() 221 if((position[i]==sound_size[playing[i]]) || (terminate==i)) in do_everything()
|
H A D | xgal.sndsrv.freebsd.c | 38 int sound_size[NUM_SOUNDS]; variable 68 sound_size[i]=0; in init() 154 sound_size[k]=-1; in read_sound() 158 sound_size[k]=(size/fragsize)+1; /*size in fragments*/ in read_sound() 159 sound_buffer[k]=malloc(sound_size[k]*fragsize); in read_sound() 163 sound_size[k]=-1; in read_sound() 171 memset(sound_buffer[k]+size,0,sound_size[k]*fragsize-size); in read_sound() 211 if(sound_size[(int)k]==0) read_sound((int)k); in do_everything() 212 if(sound_size[(int)k]>0 && playnum<16) { in do_everything() 223 if((position[i]==sound_size[playing[i]]) || (terminate==i)) in do_everything()
|
/dports/games/xblast/xblast-2.10.4/ |
H A D | sdl_sound.c | 333 int sound_size; in SND_Load() local 341 sound_size = snd_stat.st_size / sizeof (uint8_t); in SND_Load() 348 if ((sb = malloc (sound_size * sizeof (uint8_t))) == NULL) { in SND_Load() 353 read (f, sb, sound_size * sizeof (uint8_t)); in SND_Load() 362 if ((sb1 = malloc (2 * sound_size * sizeof (uint8_t))) == NULL) { in SND_Load() 366 for (i = 0; i < sound_size; i++) { in SND_Load() 374 sound_size *= 2; in SND_Load() 377 sound_name[id].length = sound_size; in SND_Load()
|
H A D | xbsndsrv.c | 458 int sound_size; local 466 sound_size = snd_stat.st_size / sizeof (u8); 473 if ((sb = (u8 *) malloc (sound_size * sizeof (u8))) == NULL) { 478 read (f, sb, sound_size * sizeof (u8)); 480 sound_name[number].length = sound_size;
|
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/src/audio/ |
H A D | SpcDecoder.cpp | 36 void SpcDecoder::load(int16_t* sound_data, size_t sound_size) { in load() argument 39 spc_load_spc(snes_spc_manager.get(), (short int*) sound_data, sound_size); in load()
|
/dports/x11-wm/vtwm/vtwm-5.5.0/ |
H A D | sound.c | 137 static int sound_size = 0; variable 567 sound_size = 0; in CloseSound() 594 if (sound_count >= sound_size) in SetSound() 596 sound_size += 10; in SetSound() 598 sound_size * sizeof(sound_entry)); in SetSound() 604 (unsigned long)sound_size * sizeof(sound_entry)); in SetSound()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/cryo/ |
H A D | video.cpp | 505 int sound_size = sz - 8; in nextElement() local 507 _soundChannel->queueBuffer(_dataPtr, sound_size - 2, false, _soundStarted); in nextElement() 515 decompADPCM(_dataPtr + kDecompTableSize, sound_buffer, sound_size - kDecompTableSize); in nextElement() 516 _soundGroup->assignDatas(sound_buffer, (sound_size - kDecompTableSize) * 2, false); in nextElement() 518 decompADPCM(_dataPtr, sound_buffer, sound_size); in nextElement() 519 _soundGroup->assignDatas(sound_buffer, sound_size * 2, false); in nextElement()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/network/ |
H A D | multi_voice.cpp | 1071 int sound_size,size_sent,target_index,max_chunk_size; in multi_voice_player_send_stream() local 1079 rtvoice_get_data((unsigned char**)&Multi_voice_record_buffer, &sound_size, &d_gain); in multi_voice_player_send_stream() 1106 while(size_sent < sound_size){ in multi_voice_player_send_stream() 1127 Assert(sound_size < MULTI_VOICE_MAX_BUFFER_SIZE); in multi_voice_player_send_stream() 1128 uc_size = (ushort)sound_size; in multi_voice_player_send_stream() 1135 if((sound_size - size_sent) >= max_chunk_size){ in multi_voice_player_send_stream() 1138 chunk_size = (ushort)(sound_size - size_sent); in multi_voice_player_send_stream() 1479 int sound_size; in multi_voice_process_next_chunk() local 1487 rtvoice_get_data((unsigned char**)&Multi_voice_record_buffer, &sound_size, &d_gain); in multi_voice_process_next_chunk() 1523 str->accum_buffer_usize[Multi_voice_current_stream_index] = (ushort)sound_size; in multi_voice_process_next_chunk() [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/network/ |
H A D | multi_voice.cpp | 1068 int sound_size,size_sent,target_index,max_chunk_size; in multi_voice_player_send_stream() local 1076 rtvoice_get_data((unsigned char**)&Multi_voice_record_buffer, &sound_size, &d_gain); in multi_voice_player_send_stream() 1101 while(size_sent < sound_size){ in multi_voice_player_send_stream() 1120 Assert(sound_size < MULTI_VOICE_MAX_BUFFER_SIZE); in multi_voice_player_send_stream() 1121 uc_size = (ushort)sound_size; in multi_voice_player_send_stream() 1128 if((sound_size - size_sent) >= max_chunk_size){ in multi_voice_player_send_stream() 1131 chunk_size = (ushort)(sound_size - size_sent); in multi_voice_player_send_stream() 1481 int sound_size; in multi_voice_process_next_chunk() local 1489 rtvoice_get_data((unsigned char**)&Multi_voice_record_buffer, &sound_size, &d_gain); in multi_voice_process_next_chunk() 1525 str->accum_buffer_usize[Multi_voice_current_stream_index] = (ushort)sound_size; in multi_voice_process_next_chunk() [all …]
|
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/include/solarus/audio/ |
H A D | SpcDecoder.h | 45 void load(int16_t* sound_data, size_t sound_size);
|
/dports/multimedia/gstreamer1-plugins-rust/flavors-ceb65b8ce94e183c4cf4011da0a40e3a4892c2c0/src/ |
H A D | parser.rs | 210 pub sound_size: SoundSize, field 261 sound_size: ssize, in audio_data() 271 pub sound_size: SoundSize, field 317 sound_size: ssize, in audio_data_header() 703 sound_size: SoundSize::Snd16bit, in audio_tags() 716 sound_size: SoundSize::Snd16bit, in audio_tags()
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/pst90s/ |
H A D | d_vamphalf.cpp | 39 static INT32 sound_size[2] = { 0, 0 }; variable 221 okibank = data & ((sound_size[0] / 0x20000) - 1); in set_okibank() 959 DrvSndROM[0] = Next; Next += sound_size[0]; in MemIndex() 960 DrvSndROM[1] = Next; Next += sound_size[1]; in MemIndex() 1044 sound_size[0] = sLoad[0] - DrvSndROM[0]; in DrvLoadRoms() 1045 sound_size[1] = sLoad[1] - DrvSndROM[1]; in DrvLoadRoms() 1089 qs1000_init(DrvQSROM, DrvSndROM[0], sound_size[0]); in sound_type_2_init()
|
/dports/lang/squeak/Squeak-4.10.2.2614-src/Cross/plugins/OggPlugin/ |
H A D | sqOgg.c | 542 int sound_size= SqSpeexDecodeWrite(ogg->speex, (char *) packet.packet, packet.bytes); in speexDecode() local 543 decompressed = (short *) requestBuffer(ogg, sound_size); in speexDecode()
|
/dports/graphics/sswf/sswf-1.8.4/src/tools/ |
H A D | swf_dump.c | 2028 static const char *sound_size[2] = { "8 bits", "16 bits" }; variable 2064 printf(" Sound Size: %s\n", sound_size[(flags >> 1) & 1]); in scan_definesound() 2213 printf(" Playback Size: %s\n", sound_size[(flags >> 9) & 1]); in scan_soundstreamhead() 2216 printf(" Stream Sound Size: %s\n", sound_size[(flags >> 1) & 1]); in scan_soundstreamhead()
|
/dports/audio/snd/snd-21.2/ |
H A D | snd-io.c | 344 for (i = 0; i < cp->sound_size; i++)
|
H A D | snd-data.c | 43 cp->sound_size = 0; in make_chan_info()
|
H A D | snd-edits.c | 38 for (i = 0; i < cp->sound_size; i++) in free_sound_list() 45 cp->sound_size = 0; in free_sound_list() 59 for (i = 0; i < cp->sound_size; i++) in release_pending_sounds() 81 if (cp->sound_ctr >= cp->sound_size) in prepare_sound_list() 84 cp->sound_size += EDIT_ALLOC_SIZE; in prepare_sound_list() 85 cp->sounds = (snd_data **)realloc(cp->sounds, cp->sound_size * sizeof(snd_data *)); in prepare_sound_list() 86 for (i = cp->sound_ctr; i < cp->sound_size; i++) cp->sounds[i] = NULL; in prepare_sound_list() 2918 for (i = 0; i < cp->sound_size; i++) in backup_edit_list_1()
|
H A D | snd-region.c | 469 cp->sound_size = ncp->sound_size; in fixup_region_data()
|