gme: adapt to API change in the upcoming version 0.7.0
Closes https://github.com/MusicPlayerDaemon/MPD/issues/833
This commit is contained in:
		
							
								
								
									
										2
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								NEWS
									
									
									
									
									
								
							@@ -2,6 +2,8 @@ ver 0.21.23 (not yet released)
 | 
				
			|||||||
* storage
 | 
					* storage
 | 
				
			||||||
  - curl: fix corrupt "href" values in the presence of XML entities
 | 
					  - curl: fix corrupt "href" values in the presence of XML entities
 | 
				
			||||||
  - curl: unescape "href" values
 | 
					  - curl: unescape "href" values
 | 
				
			||||||
 | 
					* decoder
 | 
				
			||||||
 | 
					  - gme: adapt to API change in the upcoming version 0.7.0
 | 
				
			||||||
* output
 | 
					* output
 | 
				
			||||||
  - alsa: implement channel mapping for 5.0 and 7.0
 | 
					  - alsa: implement channel mapping for 5.0 and 7.0
 | 
				
			||||||
* player
 | 
					* player
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -185,7 +185,11 @@ gme_file_decode(DecoderClient &client, Path path_fs)
 | 
				
			|||||||
		LogWarning(gme_domain, gme_err);
 | 
							LogWarning(gme_domain, gme_err);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (length > 0)
 | 
						if (length > 0)
 | 
				
			||||||
		gme_set_fade(emu, length);
 | 
							gme_set_fade(emu, length
 | 
				
			||||||
 | 
					#if GME_VERSION >= 0x000700
 | 
				
			||||||
 | 
								     , 8000
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
								     );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* play */
 | 
						/* play */
 | 
				
			||||||
	DecoderCommand cmd;
 | 
						DecoderCommand cmd;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user