Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Part #7 - Emulator no sound on Macos Ventura v13.6.6 #56

Open
rafaeldriveme1 opened this issue May 22, 2024 · 0 comments
Open

Part #7 - Emulator no sound on Macos Ventura v13.6.6 #56

rafaeldriveme1 opened this issue May 22, 2024 · 0 comments

Comments

@rafaeldriveme1
Copy link

rafaeldriveme1 commented May 22, 2024

Hello @OneLoneCoder, thank you for your videos. :)

I arrived at the last video in your series of videos on the development of the NES emulator, but when I run the emulator after it is compiled, the roms of several games the image appears, but the sound does not work and it does not show any error in the terminal, I think This would be because macos does not support the sound libraries that were added to the project.

image

Command to compile:

LIBRARIES = -framework OpenGL -framework GLUT -framework Carbon -lpng -framework OpenAL

EXE_DEBUG = ./bin/debug
EXE_TESTS = ./bin/tests
FILES_TO_LINKED = Mapper.cpp Bus.cpp Mapper_000.cpp Mapper_001.cpp Mapper_002.cpp Mapper_003.cpp Mapper_004.cpp Mapper_066.cpp olc6502.cpp olc2C02.cpp olc2A03.cpp Cartridge.cpp

clang++ -arch x86_64 -std=c++17 -mmacosx-version-min=10.15 -Wall $(LIBRARIES) olcNes_Sounds1.cpp ${FILES_TO_LINKED} -o $(EXE_DEBUG) -v

Note: Your Sound example from the SoundDemo.cpp files also does not work, without errors in the terminal, it just opens the program screen and the sound is muted.

Is there any alternative to make the sound work in the emulator on macos? Anybody know?

Tks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant