MCPcopy Create free account
hub / github.com/demoth/jake2 / getDriverNames

Method getDriverNames

client/src/main/java/jake2/client/sound/S.java:220–226  ·  view source on GitHub ↗

Returns a string array containing all sound driver names.

()

Source from the content-addressed store, hash-verified

218 * Returns a string array containing all sound driver names.
219 */
220 public static String[] getDriverNames() {
221 String[] names = new String[drivers.size()];
222 for (int i = 0; i < names.length; i++) {
223 names[i] = ((Sound)drivers.get(i)).getName();
224 }
225 return names;
226 }
227
228 /**
229 * This is used, when resampling to this default sampling rate is activated

Callers 1

Options_MenuInitMethod · 0.95

Calls 3

sizeMethod · 0.80
getNameMethod · 0.65
getMethod · 0.45

Tested by

no test coverage detected