Lines Matching defs:samples
65 /* SDL audio buffer size, in samples. Should be small to have precise
167 int show_audio; /* if true, display audio samples */
721 /* get the current audio output buffer size, in samples. With SDL, we
748 /* compute display index : center on currently output samples */
1912 /* copy samples for viewing in editor window */
1913 static void update_sample_display(VideoState *is, short *samples, int samples_size)
1922 memcpy(is->sample_array + is->sample_array_index, samples, len * sizeof(short));
1923 samples += len;
1931 /* return the new audio buffer size (samples can be added or deleted
1933 static int synchronize_audio(VideoState *is, short *samples,
1942 /* if not master, then we try to remove or add samples to correct the clock */
1971 /* add or remove samples to correction the synchro */
1973 /* remove samples */
1979 /* add samples */
1981 samples_end = (uint8_t *)samples + samples_size - n;
2211 wanted_spec.samples = SDL_AUDIO_BUFFER_SIZE;