|
|
|
|
@ -9,3 +9,25 @@
|
|
|
|
|
#else
|
|
|
|
|
# include <SDL/SDL.h>
|
|
|
|
|
#endif
|
|
|
|
|
--- src/xine-engine/audio_out.c.orig Sun Jul 27 18:42:56 2003
|
|
|
|
|
+++ src/xine-engine/audio_out.c Mon Aug 11 09:41:32 2003
|
|
|
|
|
@@ -425,8 +425,8 @@
|
|
|
|
|
num_frames = pts_len * this->frames_per_kpts / 1024;
|
|
|
|
|
|
|
|
|
|
xprintf (this->xine, XINE_VERBOSITY_LOG,
|
|
|
|
|
- "inserting %d 0-frames to fill a gap of %" PRId64 " pts\n",
|
|
|
|
|
- num_frames, pts_len);
|
|
|
|
|
+ "inserting %d 0-frames to fill a gap of %lu pts\n",
|
|
|
|
|
+ num_frames, (unsigned long)pts_len);
|
|
|
|
|
|
|
|
|
|
if ((this->output.mode == AO_CAP_MODE_A52) || (this->output.mode == AO_CAP_MODE_AC5)) {
|
|
|
|
|
write_pause_burst(this,num_frames);
|
|
|
|
|
@@ -790,7 +790,7 @@
|
|
|
|
|
this->resample_sync_factor = (avg_gap < 0) ? 0.995 : 1.005;
|
|
|
|
|
|
|
|
|
|
llprintf (LOG_RESAMPLE_SYNC,
|
|
|
|
|
- "sample rate adjusted to reduce gap: gap=%" PRId64 "\n", avg_gap);
|
|
|
|
|
+ "sample rate adjusted to reduce gap: gap=%lu\n", (unsigned long)avg_gap);
|
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
|
|
} else if (info->reduce_gap && abs(avg_gap) < 50) {
|
|
|
|
|
|