fix bluetooth recording

This commit is contained in:
Alexey Kuznetsov 2018-08-23 18:40:31 +03:00
commit c30f10bbd4
2 changed files with 2 additions and 1 deletions

View file

@ -57,5 +57,5 @@ android {
dependencies {
testImplementation 'junit:junit:4.12'
implementation 'com.github.axet:android-audio-library:1.0.117' // implementation project(':android-audio-library')
implementation 'com.github.axet:android-audio-library:1.0.118' // implementation project(':android-audio-library')
}

View file

@ -734,6 +734,7 @@ public class RecordingActivity extends AppCompatThemeActivity {
map.put(getString(R.string.source_raw), MediaRecorder.AudioSource.UNPROCESSED);
else
map.put(getString(R.string.source_raw), MediaRecorder.AudioSource.VOICE_RECOGNITION);
map.put(getString(R.string.source_bluetooth), MediaRecorder.AudioSource.MIC);
int[] ss = new int[]{
map.get(shared.getString(MainApplication.PREFERENCE_SOURCE, getString(R.string.source_mic))),