mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-03 18:12:14 +02:00
Initialize arrays
This commit is contained in:
parent
7edd381593
commit
9c9ff5f8a7
@ -29,8 +29,8 @@ Result audoutInitialize(void)
|
||||
AudioOutState State = 0;
|
||||
|
||||
// Passing an empty device name will open the default "DeviceOut"
|
||||
char DeviceNameIn[DEVICE_NAME_LENGTH];
|
||||
char DeviceNameOut[DEVICE_NAME_LENGTH];
|
||||
char DeviceNameIn[DEVICE_NAME_LENGTH] = {0};
|
||||
char DeviceNameOut[DEVICE_NAME_LENGTH] = {0};
|
||||
|
||||
rc = audoutOpenAudioOut(DeviceNameIn, DeviceNameOut, DEFAULT_SAMPLE_RATE, CHANNEL_COUNT_MAGIC, &SampleRate, &ChannelCount, &Format, &State);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user