Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 77dfdf1

Browse files
Merge pull request #5446 from livecodepanos/bugfix-19630
[Bug 19630] Fix setting the iphoneSetAudioCategory
2 parents b06b0b1 + 59ef19f commit 77dfdf1

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

docs/notes/bugfix-19630.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Make sure setting the iphoneSetAudioCategory is respected

engine/src/mblhandlers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2627,7 +2627,7 @@ Exec_stat MCHandleSetAudioCategory(void *context, MCParameter *p_parameters)
26272627
t_category = kMCSoundAudioCategoryUnknown;
26282628
if (t_success)
26292629
{
2630-
MCSoundAudioCategoryFromString(*t_category_string);
2630+
t_category = MCSoundAudioCategoryFromString(*t_category_string);
26312631
}
26322632

26332633
if (t_success)

0 commit comments

Comments
 (0)