/third_party/libsnd/programs/ |
D | sndfile-play.c | 506 win32_play_data (Win32_Audio_Data *audio_data) in win32_play_data() argument 510 …readcount = (audio_data->remaining > audio_data->bufferlen) ? audio_data->bufferlen : (int) audio_… in win32_play_data() 512 short *lpData = (short *) (void *) audio_data->whdr [audio_data->current].lpData ; in win32_play_data() 513 thisread = (int) sf_read_short (audio_data->sndfile, lpData, readcount) ; in win32_play_data() 515 audio_data->remaining -= thisread ; in win32_play_data() 519 if (thisread < audio_data->bufferlen) in win32_play_data() 520 audio_data->whdr [audio_data->current].dwBufferLength = thisread * sizeof (short) ; in win32_play_data() 523 …waveOutWrite (audio_data->hwave, (LPWAVEHDR) &(audio_data->whdr [audio_data->current]), sizeof (WA… in win32_play_data() 526 EnterCriticalSection (&audio_data->mutex) ; in win32_play_data() 527 audio_data->BuffersInUse ++ ; in win32_play_data() [all …]
|
/third_party/ffmpeg/libavutil/ |
D | samplefmt.c | 151 int av_samples_fill_arrays(uint8_t **audio_data, int *linesize, in av_samples_fill_arrays() argument 163 audio_data[0] = (uint8_t *)buf; in av_samples_fill_arrays() 165 audio_data[ch] = audio_data[ch-1] + line_size; in av_samples_fill_arrays() 173 int av_samples_alloc(uint8_t **audio_data, int *linesize, int nb_channels, in av_samples_alloc() argument 186 size = av_samples_fill_arrays(audio_data, linesize, buf, nb_channels, in av_samples_alloc() 193 av_samples_set_silence(audio_data, 0, nb_samples, nb_channels, sample_fmt); in av_samples_alloc() 198 int av_samples_alloc_array_and_samples(uint8_t ***audio_data, int *linesize, int nb_channels, in av_samples_alloc_array_and_samples() argument 203 *audio_data = av_calloc(nb_planes, sizeof(**audio_data)); in av_samples_alloc_array_and_samples() 204 if (!*audio_data) in av_samples_alloc_array_and_samples() 206 ret = av_samples_alloc(*audio_data, linesize, nb_channels, in av_samples_alloc_array_and_samples() [all …]
|
D | samplefmt.h | 202 int av_samples_fill_arrays(uint8_t **audio_data, int *linesize, 226 int av_samples_alloc(uint8_t **audio_data, int *linesize, int nb_channels, 238 int av_samples_alloc_array_and_samples(uint8_t ***audio_data, int *linesize, int nb_channels, 265 int av_samples_set_silence(uint8_t **audio_data, int offset, int nb_samples,
|
/third_party/python/Lib/test/ |
D | test_winsound.py | 110 audio_data = f.read() 111 safe_PlaySound(audio_data, winsound.SND_MEMORY) 112 audio_data = bytearray(audio_data) 113 safe_PlaySound(audio_data, winsound.SND_MEMORY)
|
/third_party/ffmpeg/libavformat/ |
D | dvenc.c | 52 AVFifoBuffer *audio_data[4]; /* FIFO for storing excessive amounts of PCM */ member 204 … frame_ptr[d] = *av_fifo_peek2(c->audio_data[channel], of*2+1); // FIXME: maybe we have to admit in dv_inject_audio() 205 …frame_ptr[d+1] = *av_fifo_peek2(c->audio_data[channel], of*2); // that DV is a big-endian… in dv_inject_audio() 272 if (av_fifo_size(c->audio_data[i]) + data_size >= 100*MAX_AUDIO_FRAME_SIZE) in dv_assemble_frame() 274 av_fifo_generic_write(c->audio_data[i], data, data_size, NULL); in dv_assemble_frame() 279 c->has_audio |= ((reqasize <= av_fifo_size(c->audio_data[i])) << i); in dv_assemble_frame() 293 av_fifo_drain(c->audio_data[i], reqasize); in dv_assemble_frame() 294 c->has_audio |= ((reqasize <= av_fifo_size(c->audio_data[i])) << i); in dv_assemble_frame() 372 if (c->ast[i] && !(c->audio_data[i]=av_fifo_alloc_array(100, MAX_AUDIO_FRAME_SIZE))) { in dv_init_mux() 436 av_fifo_freep(&c->audio_data[i]); in dv_deinit()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | avtpaafdepay.c | 27 const guint8 audio_data[] = { 0xAA, 0xBB, 0xCC, 0xDD }; variable 48 sizeof (audio_data)); in create_input_buffer() 59 avtp_aaf_pdu_set (pdu, AVTP_AAF_FIELD_STREAM_DATA_LEN, sizeof (audio_data)); in create_input_buffer() 60 memcpy (pdu->avtp_payload, audio_data, sizeof (audio_data)); in create_input_buffer() 254 fail_unless (gst_buffer_get_size (out) == sizeof (audio_data)); in GST_START_TEST() 257 fail_unless (memcmp (info.data, audio_data, info.size) == 0); in GST_START_TEST()
|
/third_party/ffmpeg/libavfilter/ |
D | ebur128.c | 69 double *audio_data; member 255 st->d->audio_data = in ff_ebur128_init() 257 st->channels * sizeof(*st->d->audio_data)); in ff_ebur128_init() 258 CHECK_ERROR(!st->d->audio_data, 0, free_sample_peak) in ff_ebur128_init() 290 av_free(st->d->audio_data); in ff_ebur128_init() 307 av_free((*st)->d->audio_data); in ff_ebur128_destroy() 320 double* audio_data = st->d->audio_data + st->d->audio_data_index; \ 348 audio_data[i * st->channels + c] = \ 403 channel_sum += st->d->audio_data[i * st->channels + c] * in ebur128_calc_gating_block() 404 st->d->audio_data[i * st->channels + c]; in ebur128_calc_gating_block() [all …]
|
D | avf_showcqt.c | 1487 float *audio_data; in filter_frame() local 1510 audio_data = (float*) insamples->data[0]; in filter_frame() 1517 s->fft_data[j+m].re = audio_data[2*(i+m)]; in filter_frame() 1518 s->fft_data[j+m].im = audio_data[2*(i+m)+1]; in filter_frame() 1551 s->fft_data[j+m].re = audio_data[2*(i+m)]; in filter_frame() 1552 s->fft_data[j+m].im = audio_data[2*(i+m)+1]; in filter_frame()
|
/third_party/ffmpeg/libavresample/ |
D | Makefile | 8 audio_data.o \
|