Searched refs:audio_data (Results 1 – 8 of 8) sorted by relevance
/third_party/libsnd/programs/ |
D | sndfile-play.c | 508 win32_play_data (Win32_Audio_Data *audio_data) in win32_play_data() argument 512 …readcount = (audio_data->remaining > audio_data->bufferlen) ? audio_data->bufferlen : (int) audio_… in win32_play_data() 514 short *lpData = (short *) (void *) audio_data->whdr [audio_data->current].lpData ; in win32_play_data() 515 thisread = (int) sf_read_short (audio_data->sndfile, lpData, readcount) ; in win32_play_data() 517 audio_data->remaining -= thisread ; in win32_play_data() 521 if (thisread < audio_data->bufferlen) in win32_play_data() 522 audio_data->whdr [audio_data->current].dwBufferLength = thisread * sizeof (short) ; in win32_play_data() 525 …waveOutWrite (audio_data->hwave, (LPWAVEHDR) &(audio_data->whdr [audio_data->current]), sizeof (WA… in win32_play_data() 528 EnterCriticalSection (&audio_data->mutex) ; in win32_play_data() 529 audio_data->BuffersInUse ++ ; in win32_play_data() [all …]
|
/third_party/ffmpeg/libavutil/ |
D | samplefmt.c | 153 int av_samples_fill_arrays(uint8_t **audio_data, int *linesize, in av_samples_fill_arrays() argument 168 memset(audio_data, 0, planar in av_samples_fill_arrays() 169 ? sizeof(*audio_data) * nb_channels in av_samples_fill_arrays() 170 : sizeof(*audio_data)); in av_samples_fill_arrays() 175 audio_data[0] = (uint8_t *)buf; in av_samples_fill_arrays() 177 audio_data[ch] = audio_data[ch-1] + line_size; in av_samples_fill_arrays() 182 int av_samples_alloc(uint8_t **audio_data, int *linesize, int nb_channels, in av_samples_alloc() argument 195 size = av_samples_fill_arrays(audio_data, linesize, buf, nb_channels, in av_samples_alloc() 202 av_samples_set_silence(audio_data, 0, nb_samples, nb_channels, sample_fmt); in av_samples_alloc() 207 int av_samples_alloc_array_and_samples(uint8_t ***audio_data, int *linesize, int nb_channels, in av_samples_alloc_array_and_samples() argument [all …]
|
D | samplefmt.h | 198 int av_samples_fill_arrays(uint8_t **audio_data, int *linesize, 222 int av_samples_alloc(uint8_t **audio_data, int *linesize, int nb_channels, 234 int av_samples_alloc_array_and_samples(uint8_t ***audio_data, int *linesize, int nb_channels, 261 int av_samples_set_silence(uint8_t **audio_data, int offset, int nb_samples,
|
/third_party/ffmpeg/libavformat/ |
D | dvenc.c | 51 AVFifo *audio_data[4]; /* FIFO for storing excessive amounts of PCM */ member 204 av_fifo_peek(c->audio_data[channel], frame_ptr + d, 2, of * 2); in dv_inject_audio() 274 if (av_fifo_can_write(c->audio_data[i]) < data_size) { in dv_assemble_frame() 278 av_fifo_write(c->audio_data[i], data, data_size); in dv_assemble_frame() 283 c->has_audio |= ((reqasize <= av_fifo_can_read(c->audio_data[i])) << i); in dv_assemble_frame() 297 av_fifo_drain2(c->audio_data[i], reqasize); in dv_assemble_frame() 298 c->has_audio |= ((reqasize <= av_fifo_can_read(c->audio_data[i])) << i); in dv_assemble_frame() 378 c->audio_data[i] = av_fifo_alloc2(100 * MAX_AUDIO_FRAME_SIZE, 1, 0); in dv_init_mux() 379 if (!c->audio_data[i]) in dv_init_mux() 442 av_fifo_freep2(&c->audio_data[i]); in dv_deinit()
|
/third_party/ffmpeg/libavfilter/ |
D | ebur128.c | 70 double *audio_data; member 256 st->d->audio_data = in ff_ebur128_init() 258 st->channels * sizeof(*st->d->audio_data)); in ff_ebur128_init() 259 CHECK_ERROR(!st->d->audio_data, 0, free_sample_peak) in ff_ebur128_init() 291 av_free(st->d->audio_data); in ff_ebur128_init() 308 av_free((*st)->d->audio_data); in ff_ebur128_destroy() 321 double* audio_data = st->d->audio_data + st->d->audio_data_index; \ 349 audio_data[i * st->channels + c] = \ 404 channel_sum += st->d->audio_data[i * st->channels + c] * in ebur128_calc_gating_block() 405 st->d->audio_data[i * st->channels + c]; in ebur128_calc_gating_block() [all …]
|
D | avf_showcqt.c | 1490 float *audio_data; in filter_frame() local 1513 audio_data = (float*) insamples->data[0]; in filter_frame() 1520 s->fft_data[j+m].re = audio_data[2*(i+m)]; in filter_frame() 1521 s->fft_data[j+m].im = audio_data[2*(i+m)+1]; in filter_frame() 1554 s->fft_data[j+m].re = audio_data[2*(i+m)]; in filter_frame() 1555 s->fft_data[j+m].im = audio_data[2*(i+m)+1]; in filter_frame()
|
/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/libavresample/ |
D | Makefile | 8 audio_data.o \
|