mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	introduce a new error PA_ERR_TOOLARGE
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@785 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									335e23473f
								
							
						
					
					
						commit
						193fb12228
					
				
					 2 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -160,6 +160,7 @@ enum {
 | 
			
		|||
    PA_ERR_BADSTATE,               /**< Bad state */
 | 
			
		||||
    PA_ERR_NODATA,                 /**< No data */
 | 
			
		||||
    PA_ERR_VERSION,                /**< Incompatible protocol version \since 0.8 */
 | 
			
		||||
    PA_ERR_TOOLARGE,               /**< Data too large \since 0.8.1 */
 | 
			
		||||
    PA_ERR_MAX                     /**< Not really an error but the first invalid error code */
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -49,6 +49,7 @@ static const char* const errortab[PA_ERR_MAX] = {
 | 
			
		|||
    [PA_ERR_BADSTATE] = "Bad state",
 | 
			
		||||
    [PA_ERR_NODATA] = "No data",
 | 
			
		||||
    [PA_ERR_VERSION] = "Incompatible protocol version",
 | 
			
		||||
    [PA_ERR_TOOLARGE] = "Too large"
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const char*pa_strerror(int error) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue