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

Linux Audio Support #60

Merged
merged 12 commits into from
Oct 28, 2017
Merged

Linux Audio Support #60

merged 12 commits into from
Oct 28, 2017

Conversation

joealam
Copy link
Contributor

@joealam joealam commented Oct 24, 2017

Implemented sound support on Linux via SDL_mixer.

Wrapped up some of the sound calls in a helper so the calling-code doesn't need to care which platform it's on.

This depends on the Cross Platform changes from #58

Conflicts:
	Turn/Turn.vcxproj
	Turn/Turn.vcxproj.filters
Fixed several include paths to use forward slashes instead of
backslashes.
Wrapped Windows-specific PlaySound code (cross platform implementation
still todo)

Conflicts:
	Turn/src/Player.cpp
	Turn/src/Store.cpp
Added dependency on WinMM for PlaySound

Conflicts:
	Turn/Turn.vcxproj
	Turn/Turn.vcxproj.filters
@tagniam
Copy link
Owner

tagniam commented Oct 28, 2017

Tested on ubuntu mate. Installed the SDL2 mixer packages, build was successful but no sounds are played in-game. Is there anything in the setup that I'm missing?

@joealam
Copy link
Contributor Author

joealam commented Oct 28, 2017 via email

@tagniam
Copy link
Owner

tagniam commented Oct 28, 2017

Thanks, that worked. I had to run it from the /Turn/ directory. This'll be merged shortly, I just need to setup the depencies for Travis CI.

@tagniam tagniam merged commit 3c0abd4 into tagniam:master Oct 28, 2017
@tagniam tagniam mentioned this pull request Oct 28, 2017
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

Successfully merging this pull request may close these issues.

2 participants