]> git.alsa-project.org Git - alsa-tools.git/commitdiff
hdspmixer: Use __u32 and __u64 for RMS array types
authorTakashi Iwai <tiwai@suse.de>
Fri, 20 Dec 2019 15:40:43 +0000 (16:40 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 20 Dec 2019 15:42:30 +0000 (16:42 +0100)
Some variable types are referring to the field in ioctl struct, which
are actually __u32 or __u64 instead of uint32_t or uint64_t.
This inconsistency may result in the compile error.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
hdspmixer/src/HDSPMixerWindow.cxx

index 342efb2b857f82cbd98f40440dc3bbacb3bd9351..9efc25d0d5c0453d9b21a8075c3154557844bb38 100644 (file)
@@ -35,8 +35,8 @@ static void readregisters_cb(void *arg)
     hdsp_peak_rms_t hdsp_peak_rms;
     struct hdspm_peak_rms hdspm_peak_rms;
     bool isMADI = false;
-    uint32_t *input_peaks, *playback_peaks, *output_peaks;
-    uint64_t *input_rms, *playback_rms, *output_rms;
+    __u32 *input_peaks, *playback_peaks, *output_peaks;
+    __u64 *input_rms, *playback_rms, *output_rms;
     
     HDSPMixerWindow *w = (HDSPMixerWindow *)arg;