]> git.alsa-project.org Git - alsa-lib.git/commitdiff
topology: remove little endian type from userspace header
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Fri, 6 Nov 2015 14:57:17 +0000 (14:57 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 9 Nov 2015 07:38:35 +0000 (08:38 +0100)
Use a generic uint64_t for formats instead of an ABI endian specific
__le64 type.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/topology.h

index b631871e14446426025ed76f98bf6d337289a035..993537c07b8d870d09ff5f0dd5141d5649951070 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef __ALSA_TOPOLOGY_H
 #define __ALSA_TOPOLOGY_H
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -665,7 +667,7 @@ struct snd_tplg_stream_template {
  */
 struct snd_tplg_stream_caps_template {
        const char *name;       /*!< name of the stream caps */
-       __le64 formats; /*!< supported formats SNDRV_PCM_FMTBIT_* */
+       uint64_t formats;       /*!< supported formats SNDRV_PCM_FMTBIT_* */
        unsigned int rates;     /*!< supported rates SNDRV_PCM_RATE_* */
        unsigned int rate_min;  /*!< min rate */
        unsigned int rate_max;  /*!< max rate */