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

Fix Pulse Audio Issues #4

Open
iyoko opened this issue Mar 22, 2014 · 0 comments
Open

Fix Pulse Audio Issues #4

iyoko opened this issue Mar 22, 2014 · 0 comments

Comments

@iyoko
Copy link
Collaborator

iyoko commented Mar 22, 2014

Got this email, need to look into fixing it!

"""
I tried to configure cursynth with the --with-pulse option, and encountered some problems. Firstly, the rtmidi subpackage does not support pulseaudio, so an alsa (or other) library also needs to be available. Also, the libraries dependencies are not passed back to the cursynth configuration, so that when linking the cursynth binary the libraries needed by rtmidi are not included. This can be overcome by, e.g. using LDFLAGS="-lasound" together with --with-pulse when configuring.

After successfully building with the workarounds mentioned above, however, the cursynth executable exits with the following error:

RtApiPulse::probeDeviceOpen: unsupported sample format.

Examining the cursynth source, I see in cursynth.cpp on line 309, that it's trying to open an rtaudio stream with the RTAUDIO_FLOAT64 sample format, which is unfortunately not supported from the rtaudio pulseaudio interface. I tried changing the FLOAT64 to FLOAT32, but ran into an assertion error in pulseaudio it seems.
"""

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