You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform: macOS sonoma 14.0 (23A344)
Device: Mac Studio Apple M2 Max Ship
I tried testing the regular hello world in README.md to play a simple sound.wav file. The program compiles successfully, runs and no audio is playing?!
Program:
#include<stdio.h>#defineMA_DEBUG_OUTPUT#defineMINIAUDIO_IMPLEMENTATION#include"miniaudio.h"intmain() {
ma_resultresult;
ma_engineengine;
result=ma_engine_init(NULL, &engine);
if (result!=MA_SUCCESS) {
return-1;
}
ma_engine_play_sound(&engine, "sound.wav", NULL);
printf("Press Enter to quit...");
getchar();
ma_engine_uninit(&engine);
return0;
}
Debug Output:
DEBUG: WASAPI backend is disabled.DEBUG: DirectSound backend is disabled.DEBUG: WinMM backend is disabled.DEBUG: Attempting to initialize Core Audio backend...DEBUG: Loading library: CoreFoundation.framework/CoreFoundationINFO: Failed to load library: CoreFoundation.framework/CoreFoundationDEBUG: Failed to initialize Core Audio backend.DEBUG: sndio backend is disabled.DEBUG: audio(4) backend is disabled.DEBUG: OSS backend is disabled.DEBUG: PulseAudio backend is disabled.DEBUG: ALSA backend is disabled.DEBUG: JACK backend is disabled.DEBUG: AAudio backend is disabled.DEBUG: OpenSL|ES backend is disabled.DEBUG: Web Audio backend is disabled.DEBUG: Failed to initialize Custom backend.DEBUG: Attempting to initialize Null backend...DEBUG: System Architecture:DEBUG: Endian: LEDEBUG: SSE2: NODEBUG: AVX2: NODEBUG: NEON: YESINFO: [Null]INFO: NULL Playback Device (Playback)INFO: Format: 32-bit IEEE Floating Point -> 32-bit IEEE Floating PointINFO: Channels: 2 -> 2INFO: Sample Rate: 48000 -> 48000INFO: Buffer Size: 480*3 (1440)INFO: Conversion:INFO: Pre Format Conversion: NOINFO: Post Format Conversion: NOINFO: Channel Routing: NOINFO: Resampling: NOINFO: Passthrough: YESINFO: Channel Map In: {CHANNEL_FRONT_LEFT CHANNEL_FRONT_RIGHT}INFO: Channel Map Out: {CHANNEL_FRONT_LEFT CHANNEL_FRONT_RIGHT}
The text was updated successfully, but these errors were encountered:
Platform: macOS sonoma 14.0 (23A344)
Device: Mac Studio Apple M2 Max Ship
I tried testing the regular hello world in README.md to play a simple sound.wav file. The program compiles successfully, runs and no audio is playing?!
Program:
Debug Output:
The text was updated successfully, but these errors were encountered: