Home
last modified time | relevance | path

Searched refs:samplebytes (Results 1 – 25 of 35) sorted by relevance

12

/dports/audio/mhwaveedit/mhwaveedit-1.4.24/src/
H A Drateconv.c147 return wf * cd->format.samplebytes; in rateconv_src_write()
183 return rf * cd->format.samplebytes; in rateconv_src_read()
333 j = i % cd->format.samplebytes; in sox_write_main()
400 return cd->format.samplebytes + i; in sox_read_main()
422 j = i % cd->format.samplebytes; in sox_read_main()
450 cd->format.samplebytes; in sox_read()
506 guint samplebytes; in repeat_read() local
516 samplebytes = data->format.samplebytes; in repeat_read()
522 < samplebytes) in repeat_read()
528 p += samplebytes; in repeat_read()
[all …]
H A Ddatasource.c58 obj->format.samplebytes=4; in datasource_init()
324 length -= u/ds->format.samplebytes; in datasource_dump()
325 position += u/ds->format.samplebytes; in datasource_dump()
529 x /= source->format.samplebytes; in datasource_sndfile_read_array()
547 return x * source->format.samplebytes; in datasource_sndfile_read_array()
619 u = size / source->format.samplebytes; in datasource_read_array_main()
623 source->format.samplebytes ; in datasource_read_array_main()
635 return u * source->format.samplebytes; in datasource_read_array_main()
649 return s*source->format.samplebytes; in datasource_read_array_main()
680 != source->format.samplebytes); in datasource_read()
[all …]
H A Dsound-dummy.c83 dummy_data.format.samplerate*dummy_data.format.samplebytes; in dummy_output_checkbuf()
95 2 * dummy_data.format.samplerate * dummy_data.format.samplebytes); in dummy_output_want_data()
103 i = 2*dummy_data.format.samplerate*dummy_data.format.samplebytes; in dummy_output_play()
148 dummy_data.format.samplerate * dummy_data.format.samplebytes; in dummy_input_store()
H A Dtempfile.c163 l = datasize / format->samplebytes; in get_wav_header()
164 if (((off_t)l) < datasize/format->samplebytes) l = 0xFFFFFFFF; in get_wav_header()
347 i = MIN(length, t->format.samplebytes - t->sample_buf_pos); in tempfile_write_main()
350 if (t->sample_buf_pos < t->format.samplebytes) in tempfile_write_main()
353 if (tempfile_write_main(t,t->sample_buf,t->format.samplebytes)) in tempfile_write_main()
359 if (length % t->format.samplebytes != 0) { in tempfile_write_main()
360 i = length % t->format.samplebytes; in tempfile_write_main()
459 ds->length = (off_t)(u / ds->format.samplebytes); in tempfile_finished()
494 ds->length = l/(t->format.samplebytes); in tempfile_finished()
495 ds->bytes = ds->length * ds->format.samplebytes; in tempfile_finished()
H A Dchunk.c92 object->format.samplebytes=4; in chunk_init()
136 c->size = len*c->format.samplebytes; in chunk_calc_length()
433 full_size = informat.samplebytes; in chunk_filter_tofmt()
851 x2 == x*c2->format.samplebytes); in chunk_sandwich_main()
855 buf1,c1->format.samplebytes, x); in chunk_sandwich_main()
856 sandwich_copy(outbuf,c1->format.samplebytes,format.samplebytes, in chunk_sandwich_main()
857 buf2,c2->format.samplebytes, x); in chunk_sandwich_main()
1041 samps*outformat->samplebytes); in chunk_remap_channels_mixmode_proc()
1189 guint sb = handle->format.samplebytes; in chunk_read_array()
1285 c->size = len * c->format.samplebytes; in chunk_append()
[all …]
H A Dfiletypes.c518 fmt.samplebytes = fmt.samplesize * fmt.channels; in wav_load()
528 ds->length = l / (off_t)fmt.samplebytes; in wav_load()
680 ds->length = (i-offs)/fmt->samplebytes; in raw_load()
759 f.samplebytes = f.channels * f.samplesize; in sndfile_load()
788 status_bar_progress(bar, st/f.samplebytes)) { in sndfile_load()
894 fmt.samplebytes = fmt.samplesize * fmt.channels; in sndfile_save_main()
912 samplebuf = g_malloc(fmt.samplebytes * 1024); in sndfile_save_main()
924 n /= fmt.samplebytes; in sndfile_save_main()
934 wc /= fmt.samplebytes; in sndfile_save_main()
1095 fmt.samplebytes = fmt.samplesize * fmt.channels; in ogg_save()
[all …]
H A Dsound-jack.c579 result->samplebytes = result->samplesize * result->channels; in mhjack_output_suggest_format()
649 frames = bufsize / mhjack.current_format.samplebytes; in mhjack_output_play()
696 return frames * mhjack.current_format.samplebytes; in mhjack_output_play()
742 frames = ringbuf_freespace(buffer) / mhjack.current_format.samplebytes; in mhjack_input_store()
777 s = ringbuf_enqueue(buffer,sbuf,frames*mhjack.current_format.samplebytes); in mhjack_input_store()
778 g_assert(s == frames*mhjack.current_format.samplebytes); in mhjack_input_store()
806 fmt->samplebytes = fmt->samplesize * fmt->channels; in mhjack_input_supported_formats()
H A Dplayer.c101 sz = frames * ch->format.samplebytes; in get_frames()
105 curpos += read / ch->format.samplebytes; in get_frames()
180 rateest_log_data(i/ch->format.samplebytes); in player_work()
203 o = (loopend-loopstart)*ch->format.samplebytes; in check_small_loop()
H A Dsound-alsalib.c470 s = bufsize/alsa_data.wfmt.samplebytes; in alsa_output_play()
502 u = r*alsa_data.wfmt.samplebytes; in alsa_output_play()
527 alsa_data.rfmt.samplebytes); in alsa_input_store()
529 ringbuf_enqueue(buffer,buf,x*alsa_data.rfmt.samplebytes); in alsa_input_store()
H A Dsound-sun.c175 ui -= ui % sunaud_format.samplebytes; in sunaud_output_play()
234 ui -= ui % sunaud_format.samplebytes; in sunaud_input_store()
H A Drecorddialog.c109 rf->fmt.samplebytes = rf->fmt.samplesize * rf->fmt.channels; in build_preset_list()
204 rd->current_format->samplebytes, 0, buf); in set_limit_label()
226 x -= x % rd->current_format->samplebytes; in process_input()
320 rd->written_bytes/rd->current_format->samplebytes, in process_input()
327 rd->written_bytes/rd->current_format->samplebytes, in process_input()
640 d *= (gdouble)(rd->current_format->samplebytes); in update_limit()
756 rd->databuf = ringbuf_new(2*df->samplebytes*df->samplerate); in record_dialog_set_format()
758 rd->analysis_bytes = df->samplebytes * df->samplerate / 10; in record_dialog_set_format()
H A Ddataformat.h44 int samplebytes; /* should always be samplesize*channels */ member
H A Drawdialog.c66 fmt.samplebytes= fmt.samplesize * fmt.channels; in rawdialog_execute()
H A Dsound-artsc.c231 j -= j % mharts_format.samplebytes; in mharts_input_store()
H A Ddataformat.c53 dataformat_sample_t.samplebytes = 0; in floating_point_check()
60 dataformat_single.samplebytes = 0; in floating_point_check()
151 result->samplebytes = result->channels * result->samplesize; in dataformat_get_from_inifile()
963 fmt[0].samplebytes = fmt[0].samplesize; in conversion_selftest()
/dports/audio/faac/faac-78d8e01/frontend/
H A Dinput.c255 sndf->samplebytes = UINT16(wave.Format.wBitsPerSample) / 8; in wav_open_read()
257 if (!sndf->samplebytes || !sndf->channels) in wav_open_read()
259 sndf->samples = riffsub.len / (sndf->samplebytes * sndf->channels); in wav_open_read()
288 if ((sndf->samplebytes > 4) || (sndf->samplebytes < 1)) in wav_read_float32()
291 isize = num * sndf->samplebytes; in wav_read_float32()
295 isize /= sndf->samplebytes; in wav_read_float32()
305 switch (sndf->samplebytes) { in wav_read_float32()
315 switch (sndf->samplebytes) in wav_read_float32()
388 if ((sndf->samplebytes > 4) || (sndf->samplebytes < 1)) in wav_read_int24()
393 size = fread(bufi, sndf->samplebytes, num, sndf->f); in wav_read_int24()
[all …]
H A Dinput.h45 int samplebytes; member
H A Dmain.c821 infile->samplebytes = rawBits / 8; in main()
823 infile->samples /= (infile->channels * infile->samplebytes); in main()
939 mp4config.bits = infile->samplebytes * 8; in main()
/dports/games/quake2lnx/quake2-r0.16.2/src/solaris/
H A Dsnd_solaris.c216 int samplebytes = dma.samplebits/8; in SNDDMA_Submit() local
226 if (write(audio_fd, dma.buffer, dma.samples * samplebytes) != dma.samples * samplebytes) in SNDDMA_Submit()
252 if (write(audio_fd, dma.buffer, dma.samples * samplebytes) != dma.samples * samplebytes) in SNDDMA_Submit()
269 dma.buffer + dma.samplepos * samplebytes, in SNDDMA_Submit()
270 dma.submission_chunk * samplebytes) != dma.submission_chunk * samplebytes) { in SNDDMA_Submit()
/dports/games/quake2-source/quake2-r0.16.2/src/solaris/
H A Dsnd_solaris.c216 int samplebytes = dma.samplebits/8; in SNDDMA_Submit() local
226 if (write(audio_fd, dma.buffer, dma.samples * samplebytes) != dma.samples * samplebytes) in SNDDMA_Submit()
252 if (write(audio_fd, dma.buffer, dma.samples * samplebytes) != dma.samples * samplebytes) in SNDDMA_Submit()
269 dma.buffer + dma.samplepos * samplebytes, in SNDDMA_Submit()
270 dma.submission_chunk * samplebytes) != dma.submission_chunk * samplebytes) { in SNDDMA_Submit()
/dports/audio/faac/faac-78d8e01/common/Cfaac/
H A DCfaac.h163 void To32bit(int32_t *buf, BYTE *bufi, int size, BYTE samplebytes, BYTE bigendian);
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/libOpenImageIO/
H A Ddeepdata.cpp1040 size_t samplebytes = samplesize(); in sort() local
1041 char* tmppixel = OIIO_ALLOCA(char, samplebytes* nsamples); in sort()
1042 memcpy(tmppixel, data_ptr(pixel, 0, 0), samplebytes * nsamples); in sort()
1045 tmppixel + samplebytes * sample_indices[i], samplebytes); in sort()
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/libOpenImageIO/
H A Ddeepdata.cpp1040 size_t samplebytes = samplesize(); in sort() local
1041 char* tmppixel = OIIO_ALLOCA(char, samplebytes* nsamples); in sort()
1042 memcpy(tmppixel, data_ptr(pixel, 0, 0), samplebytes * nsamples); in sort()
1045 tmppixel + samplebytes * sample_indices[i], samplebytes); in sort()
/dports/www/janus/janus-gateway-0.11.6/postprocessing/
H A Dpp-g711.c37 uint16_t samplebytes; member
H A Dpp-g722.c42 uint16_t samplebytes; member

12