mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	Update src/modules/module-raop-sink.c
This commit is contained in:
		
							parent
							
								
									ae116399ca
								
							
						
					
					
						commit
						0c494c5469
					
				
					 1 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
					@ -760,6 +760,8 @@ static void rtsp_record_reply(void *data, int status, const struct spa_dict *hea
 | 
				
			||||||
	uint8_t buffer[1024];
 | 
						uint8_t buffer[1024];
 | 
				
			||||||
	struct spa_pod_builder b;
 | 
						struct spa_pod_builder b;
 | 
				
			||||||
	struct spa_latency_info latency;
 | 
						struct spa_latency_info latency;
 | 
				
			||||||
 | 
					 	int res;
 | 
				
			||||||
 | 
					    	char *progress;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	pw_log_info("reply %d", status);
 | 
						pw_log_info("reply %d", status);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -784,8 +786,7 @@ static void rtsp_record_reply(void *data, int status, const struct spa_dict *hea
 | 
				
			||||||
	impl->sync = 0;
 | 
						impl->sync = 0;
 | 
				
			||||||
	impl->sync_period = impl->info.rate / (impl->block_size / impl->frame_size);
 | 
						impl->sync_period = impl->info.rate / (impl->block_size / impl->frame_size);
 | 
				
			||||||
	impl->recording = true;
 | 
						impl->recording = true;
 | 
				
			||||||
    int res;
 | 
					
 | 
				
			||||||
    char *progress;
 | 
					 | 
				
			||||||
    	asprintf(&progress,"progress: %s/%s/%s\r\n", "0","0","0");
 | 
					    	asprintf(&progress,"progress: %s/%s/%s\r\n", "0","0","0");
 | 
				
			||||||
    	res = pw_rtsp_client_send(impl->rtsp, "SET_PARAMETER", NULL,
 | 
					    	res = pw_rtsp_client_send(impl->rtsp, "SET_PARAMETER", NULL,
 | 
				
			||||||
			"text/parameters", progress, NULL, NULL);
 | 
								"text/parameters", progress, NULL, NULL);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue