mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-31 13:10:19 -04:00 
			
		
		
		
	Fixed enumeration of audio output devices.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@450 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									5d3f2b762e
								
							
						
					
					
						commit
						e0faa141b3
					
				| @ -231,6 +231,7 @@ int padevsub_(int *numdev, int *ndefin, int *ndefout, | ||||
| 
 | ||||
|   //  numDevices = Pa_CountDevices();
 | ||||
|   numDevices = Pa_GetDeviceCount(); | ||||
|   | ||||
|   *numdev=numDevices; | ||||
|   if( numDevices < 0 )  { | ||||
|     err = numDevices; | ||||
| @ -248,7 +249,7 @@ int padevsub_(int *numdev, int *ndefin, int *ndefout, | ||||
|     if(i == Pa_GetDefaultOutputDevice()) *ndefout=i; | ||||
|     nchin[i]=pdi->maxInputChannels; | ||||
|     nchout[i]=pdi->maxOutputChannels; | ||||
|     if(nchin[i]>0)  | ||||
|     if(nchout[i]>0)  | ||||
|       printf("  %2d      %2d       %s\n",i,nchout[i],pdi->name); | ||||
|   } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user