src/api-impl: fix up code style, mainly for code imported from AOSP

used the following (plus manual edits):
`clang-format --style="{BasedOnStyle: LLVM, IndentWidth: 8, UseTab: Always, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: true, ColumnLimit: 0}`
This commit is contained in:
Mis012
2023-06-22 11:45:46 +02:00
parent 824b821f5a
commit 0a9591c474
208 changed files with 154568 additions and 150150 deletions

View File

@@ -11,13 +11,13 @@ public class AudioManager {
}
public String getProperty(String name) {
switch(name) {
switch (name) {
case PROPERTY_OUTPUT_FRAMES_PER_BUFFER:
return "256"; // FIXME arbitrary
case PROPERTY_OUTPUT_SAMPLE_RATE:
return "44100"; // FIXME arbitrary
default:
System.out.println("AudioManager.getProperty: >"+name+"< not handled");
System.out.println("AudioManager.getProperty: >" + name + "< not handled");
return "";
}
}
@@ -29,7 +29,7 @@ public class AudioManager {
return 0;
}
public int getStreamVolume (int streamType) {
public int getStreamVolume(int streamType) {
return 0; // arbitrary, shouldn't matter too much?
}
}