Hi there. Using C++ on SDL2’s audio interface (working on a performance grade synthesizer, porting a vst) to write samples direct to the audio out port.
- On my Mac I am able to open SDL2/AppleCoreAudio with Float32 samples for the audio output,
- On the rPI w/pisound, I can only open SDL2/ALSA with S16 (signed 16 bit integer samples).
Obviously this will be a little lower in quality than Float32 (though it’s possible the mac is auto converting to S16 for me, I dont know).
Questions:
- I know the pisound has a high quality DAC and components, but what’s the software to hardware DAC conversion look like, I see the pisound hardware supports 24bit here: https://blokas.io/pisound/docs/Specs/.
- Given that, what is the best I should hope for from ALSA? Is 32 bit float (or int) possible?
- Should I be searching for a way to configure ALSA to something better than S16, or is this the best it gets? (i see alsa plug conversion stuff, but looking to avoid if all it does is convert to s16 anyways).
- and, if I should be configuring ALSA / pisound for better than S16, any ideas how?
- anything better than ALSA that SDL2 would support? (i hear things about jack but have no experience, appears SDL2 supports jack now, so I could try that)