You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
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:
@@ -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?
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user