-
|
Selecting a sample rate can be important but difficult for end users. The wrong choice can add additional resampling or even pitch errors. The fluidsynth.exe -Q command provides a report of a probe of all available soundcards for supported modes, sample-rates and sample-formats. That information could be used to help users make a better choice for a sample rate. I am unable to find a way to do this type of probe programmatically through the API. Am I missing something? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
Sorry it's not an answer. but I am thinking this is depend on Audio Driver. my c lib have 3 lines. and Java call it like these lines. |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
fluidsynth -Qexecutes this file, whose functionality is currently not exposed via the public API. You'll see that it simply sets a few settings, creates an audio driver and monitors the log messages printed by that driver. Because WASAPI is currently the only driver for which this matters, I would refrain from adding this to our public API and instead encourage you to replicate this logic in your code.