-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into develop
- Loading branch information
Showing
11 changed files
with
101 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 75 additions & 0 deletions
75
...contents/GameMaker_Language/GML_Reference/Asset_Management/Audio/audio_throw_on_error.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>audio_throw_on_error</title> | ||
<meta name="generator" content="Adobe RoboHelp 2022" /> | ||
<link rel="stylesheet" type="text/css" href="../../../../assets/css/default.css" /> | ||
<script src="../../../../assets/scripts/main_script.js" type="module"></script> | ||
<meta name="rh-authors" content="" /> | ||
<meta name="topic-comment" content="" /> | ||
<meta name="rh-index-keywords" content="audio_throw_on_error" /> | ||
<meta name="search-keywords" content="audio_throw_on_error" /> | ||
<meta name="template" content="assets/masterpages/Manual_Keyword_Page.htt" /> | ||
</head> | ||
<body> | ||
<h1><span data-field="title" data-format="default">audio_throw_on_error</span></h1> | ||
<p>This function enables or disables audio functions throwing fatal errors (as described in <a data-xref="{text}" href="Audio.htm#h1">Audio Error Handling</a>). By default, throwing is enabled and you can pass <span class="inline2">false</span> to this function to disable that behaviour and instead make such errors print a message to the Output Log.</p> | ||
<p>The following functions are exceptions and will always throw errors regardless of what you pass this function:</p> | ||
<ul class="colour"> | ||
<li><a data-xref="{title}" href="audio_play_sound.htm">audio_play_sound</a></li> | ||
<li><a data-xref="{title}" href="audio_play_sound_at.htm">audio_play_sound_at</a></li> | ||
<li><a data-xref="{title}" href="Audio_Emitters/audio_play_sound_on.htm">audio_play_sound_on</a></li> | ||
<li><a data-xref="{title}" href="Audio_Synchronisation/audio_play_in_sync_group.htm">audio_play_in_sync_group</a></li> | ||
</ul> | ||
<p> </p> | ||
<ul class="colour"> | ||
</ul> | ||
<h4>Syntax:</h4> | ||
<p class="code"><span data-field="title" data-format="default">audio_throw_on_error</span>(enable);</p> | ||
<table> | ||
<colgroup> | ||
<col /> | ||
<col /> | ||
<col /> | ||
</colgroup> | ||
<tbody> | ||
<tr> | ||
<th>Argument</th> | ||
<th>Type</th> | ||
<th>Description</th> | ||
</tr> | ||
<tr> | ||
<td>enable</td> | ||
<td><span data-keyref="Type_Bool"><a href="../../../GML_Overview/Data_Types.htm" target="_blank">Boolean</a></span></td> | ||
<td>Whether errors should be thrown (<span class="inline2">true</span>, default) or logged (<span class="inline2">false</span>)</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<p> </p> | ||
<h4>Returns:</h4> | ||
<p class="code"><span data-keyref="Type_Void">N/A</span></p> | ||
<p> </p> | ||
<h4>Example:</h4> | ||
<p class="code"><span data-field="title" data-format="default">audio_throw_on_error</span>(false);</p> | ||
<p>This disables audio functions throwing errors.</p> | ||
<p> </p> | ||
<p> </p> | ||
<div class="footer"> | ||
<div class="buttons"> | ||
<div class="clear"> | ||
<div>Back: <a data-xref="{title}" href="Audio.htm">Audio</a></div> | ||
<div>Next: <a data-xref="{title}" href="audio_debug.htm">audio_debug</a></div> | ||
</div> | ||
</div> | ||
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5> | ||
</div> | ||
<!-- KEYWORDS | ||
audio_throw_on_error | ||
--> | ||
<!-- TAGS | ||
audio_throw_on_error | ||
--> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+49.4 KB
(240%)
...s/assets/Images/Scripting_Reference/GML/Reference/Debug/debug_overlay_audio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.