--- alsa-lib-1.0.16.orig/include/sound/asound.h	2009-07-02 11:04:27.613906000 +0100
+++ alsa-lib-1.0.16/include/sound/asound.h	2009-07-02 11:07:20.634189522 +0100
@@ -400,7 +400,7 @@
 
 struct sndrv_pcm_channel_info {
 	unsigned int channel;
-	off_t offset;			/* mmap offset */
+	long offset;			/* mmap offset */
 	unsigned int first;		/* offset to first sample in bits */
 	unsigned int step;		/* samples distance in bits */
 };

--- alsa-lib-1.0.16.orig/include/sound/asound.h	2009-07-02 11:04:27.613906000 +0100
+++ alsa-lib-1.0.16/include/sound/asound.h	2009-07-02 11:07:20.634189522 +0100
@@ -345,6 +345,7 @@
 
 #define SNDRV_PCM_HW_PARAMS_NORESAMPLE	(1<<0)  /* avoid rate resampling */
 #define SNDRV_PCM_HW_PARAMS_EXPORT_BUFFER	(1<<1)  /* export buffer */
+#define SNDRV_PCM_HW_PARAMS_NON_AUDIO_DATA	(1<<2)  /* data is non-audio */
 
 struct sndrv_interval {
 	unsigned int min, max;
