addressed amb1498 - GetSoundDuration() is broken on valve's end
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401934
This commit is contained in:
		
							parent
							
								
									39885cd9e7
								
							
						
					
					
						commit
						94da06c69f
					
				@ -130,11 +130,13 @@ enum
 | 
				
			|||||||
native PrefetchSound(const String:nane[]);
 | 
					native PrefetchSound(const String:nane[]);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Gets a sound's duration (does not work for mp3s).
 | 
					 * This function is not known to work, and may crash.  You should 
 | 
				
			||||||
 | 
					 * not use it.  It is provided for backwards compatibility only.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * @param name		Sound file name relative to the "sounds" folder.
 | 
					 * @param name		Sound file name relative to the "sounds" folder.
 | 
				
			||||||
 * @return			Duration in seconds.
 | 
					 * @return			Duration in seconds.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					#pragma deprecated Does not work, may crash.
 | 
				
			||||||
native Float:GetSoundDuration(const String:name[]);
 | 
					native Float:GetSoundDuration(const String:name[]);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user