change flac to LPC
This commit is contained in:
parent
9c2d69f4dd
commit
0c1f5721bc
2 changed files with 4 additions and 3 deletions
|
|
@ -43,5 +43,5 @@ android {
|
|||
dependencies {
|
||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||
testCompile 'junit:junit:4.12'
|
||||
compile 'com.github.axet:android-audio-library:1.0.37' // compile project(':android-audio-library')
|
||||
compile 'com.github.axet:android-audio-library:1.0.42' // compile project(':android-audio-library')
|
||||
}
|
||||
|
|
|
|||
|
|
@ -886,13 +886,13 @@ public class RecordingActivity extends AppCompatActivity {
|
|||
try {
|
||||
Uri root = Storage.getDocumentTreeUri(targetUri);
|
||||
resolver.takePersistableUriPermission(root, Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
|
||||
storage.move(out, root, Storage.getDocumentName(targetUri));
|
||||
storage.move(out, root, Storage.getDocumentChildPath(targetUri));
|
||||
} catch (RuntimeException e) {
|
||||
Storage.delete(out); // delete tmp encoding file
|
||||
try {
|
||||
storage.delete(targetUri); // delete SAF encoding file
|
||||
} catch (RuntimeException ee) {
|
||||
Log.d(TAG, "unable to delete target uri", e); // ignore, not even created?
|
||||
Log.d(TAG, "unable to delete target uri", ee); // ignore, not even created?
|
||||
}
|
||||
Post(e);
|
||||
d.cancel();
|
||||
|
|
@ -947,6 +947,7 @@ public class RecordingActivity extends AppCompatActivity {
|
|||
}
|
||||
|
||||
void Error(Throwable e) {
|
||||
Log.d(TAG, "error", e);
|
||||
String msg = e.getMessage();
|
||||
if (msg == null || msg.isEmpty()) {
|
||||
Throwable t;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue