mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	io: add size of current cycle to position
This commit is contained in:
		
							parent
							
								
									0395897856
								
							
						
					
					
						commit
						4aab226047
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -122,6 +122,7 @@ struct spa_io_position_video {
 | 
				
			||||||
struct spa_io_position {
 | 
					struct spa_io_position {
 | 
				
			||||||
	struct spa_io_clock clock;		/**< clock position of driver, always valid and
 | 
						struct spa_io_clock clock;		/**< clock position of driver, always valid and
 | 
				
			||||||
						  *  read only */
 | 
											  *  read only */
 | 
				
			||||||
 | 
						uint32_t size;				/**< size of current cycle expressed in clock.rate */
 | 
				
			||||||
	struct spa_fraction rate;		/**< overal rate of the graph */
 | 
						struct spa_fraction rate;		/**< overal rate of the graph */
 | 
				
			||||||
#define SPA_IO_POSITION_FLAG_BAR	(1<<0)
 | 
					#define SPA_IO_POSITION_FLAG_BAR	(1<<0)
 | 
				
			||||||
#define SPA_IO_POSITION_FLAG_VIDEO	(1<<1)
 | 
					#define SPA_IO_POSITION_FLAG_VIDEO	(1<<1)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue