-
Notifications
You must be signed in to change notification settings - Fork 338
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
CPAL not outputting sound under Mac OS X x86_64. #148
Comments
@SirVer Do you get any sound with a debug build? Had a look into this (on Mid 2012 15" mbp running yosemite) and appeared to be to do with the empty loop (presumably being optimized out in a release build?) at: https://github.com/tomaka/cpal/blob/master/src/coreaudio/mod.rs#L53 So if a statement is put inside it, like thread::sleep for example, it worked for me. Though that doesn't really feel like a clean fix. |
Sorry for the late reply, life is busy right now. @shockham bingo, that is it.
|
I cant get it to work on debug either... no crash but no sound either |
Also #154 doesn't seem to fix the no sound issue for me.. |
Also having this issue here trying to use rodio. I wasn't seeing this until I tried using an external library that used cpal. If I used cpal directly I didn't have the issue, presumably because I was always in debug mode. |
Some additional info.
Running
Running your example
|
@mlindner Are you still having this issue? I tuned the beep example on macOS 10.13.1 (MacBookPro13,3) a couple of weeks ago and it worked perfectly. |
Closing this as the original issue has been confirmed fixed in #196. If any commenters on this thread still have problems feel free to open up a new issue for your specific issue :) |
This is the followup bug to RustAudio/rodio#94.
This is a MacBookPro Retina 15 Inch, Early 2013 with Intel Core i7 running OS X El Capitan.
CPAL does not crash, but the examples do not play a sound under my Mac OS X:
The text was updated successfully, but these errors were encountered: