fix bug in audio playback

git-svn-id: svn://code.dyne.org/veejay/trunk@791 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
Niels Elburg
2007-02-12 23:16:30 +00:00
parent c08109f363
commit 8593b378b9

View File

@@ -2865,6 +2865,7 @@ int vj_perform_queue_audio_frame(veejay_t *info, int frame)
video_playback_setup *settings = info->settings;
long this_frame = settings->current_frame_num;
int num_samples = (el->audio_rate/el->video_fps);
int pred_len = num_samples;
int bps = el->audio_bps;
uint8_t *a_buf = top_audio_buffer;