mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	topology: remove little endian type from userspace header
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>
This commit is contained in:
		
							parent
							
								
									93b420b9e2
								
							
						
					
					
						commit
						7eb683ee39
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -21,6 +21,8 @@
 | 
				
			||||||
#ifndef __ALSA_TOPOLOGY_H
 | 
					#ifndef __ALSA_TOPOLOGY_H
 | 
				
			||||||
#define __ALSA_TOPOLOGY_H
 | 
					#define __ALSA_TOPOLOGY_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <stdint.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef __cplusplus
 | 
					#ifdef __cplusplus
 | 
				
			||||||
extern "C" {
 | 
					extern "C" {
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					@ -665,7 +667,7 @@ struct snd_tplg_stream_template {
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
struct snd_tplg_stream_caps_template {
 | 
					struct snd_tplg_stream_caps_template {
 | 
				
			||||||
	const char *name;	/*!< name of the stream caps */
 | 
						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 rates;	/*!< supported rates SNDRV_PCM_RATE_* */
 | 
				
			||||||
	unsigned int rate_min;	/*!< min rate */
 | 
						unsigned int rate_min;	/*!< min rate */
 | 
				
			||||||
	unsigned int rate_max;	/*!< max rate */
 | 
						unsigned int rate_max;	/*!< max rate */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue