X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fsound%2Fhdsp.h;h=7ce3aa67e5d6bab6d44b25db0799d85ef6d85c6f;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=93e0427c14688dbc9e172e6c8919b99474278a63;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/sound/hdsp.h b/include/sound/hdsp.h index 93e0427c1..7ce3aa67e 100644 --- a/include/sound/hdsp.h +++ b/include/sound/hdsp.h @@ -32,13 +32,13 @@ typedef enum { typedef struct _snd_hdsp_peak_rms hdsp_peak_rms_t; struct _snd_hdsp_peak_rms { - unsigned int input_peaks[26]; - unsigned int playback_peaks[26]; - unsigned int output_peaks[28]; - unsigned long long input_rms[26]; - unsigned long long playback_rms[26]; + u32 input_peaks[26]; + u32 playback_peaks[26]; + u32 output_peaks[28]; + u64 input_rms[26]; + u64 playback_rms[26]; /* These are only used for H96xx cards */ - unsigned long long output_rms[26]; + u64 output_rms[26]; }; #define SNDRV_HDSP_IOCTL_GET_PEAK_RMS _IOR('H', 0x40, hdsp_peak_rms_t) @@ -76,7 +76,7 @@ struct _snd_hdsp_config_info { typedef struct _snd_hdsp_firmware hdsp_firmware_t; struct _snd_hdsp_firmware { - unsigned long __user *firmware_data; /* 24413 long words */ + void __user *firmware_data; /* 24413 x 4 bytes */ }; #define SNDRV_HDSP_IOCTL_UPLOAD_FIRMWARE _IOW('H', 0x42, hdsp_firmware_t)