mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-11-04 00:26:45 +00:00 
			
		
		
		
	Fix stereo files with libsndfile
This commit is contained in:
		
							parent
							
								
									f7ac94d686
								
							
						
					
					
						commit
						3fea3e7d25
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -22,8 +22,8 @@ void MpgSnd_Decoder::Open(const std::string &fname)
 | 
			
		|||
    {
 | 
			
		||||
        if(info.channels == 1)
 | 
			
		||||
            chanConfig = MonoChannels;
 | 
			
		||||
        else if(info.channels == 1)
 | 
			
		||||
            chanConfig = MonoChannels;
 | 
			
		||||
        else if(info.channels == 2)
 | 
			
		||||
            chanConfig = StereoChannels;
 | 
			
		||||
        else
 | 
			
		||||
        {
 | 
			
		||||
            sf_close(sndFile);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue