mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-08 00:31:11 +00:00
Initialize newly allocated channel map with a value of -1 (off) for all channels.
https://github.com/FluidSynth/fluidsynth/pull/1081#discussion_r853430986
This commit is contained in:
parent
ab0b79c114
commit
552bfce3ed
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ set_channel_map(AudioUnit outputUnit, int audio_channels, const char *map_string
|
|||
return;
|
||||
}
|
||||
|
||||
FLUID_MEMSET(channel_map, 0, property_size);
|
||||
FLUID_MEMSET(channel_map, 0xff, property_size);
|
||||
|
||||
status = AudioUnitGetProperty(outputUnit,
|
||||
kAudioOutputUnitProperty_ChannelMap,
|
||||
|
|
Loading…
Reference in a new issue