File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
examples/Android/SnowboyAlexaDemo/src/ai/kitt/snowboy/audio Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ public class AudioDataSaver implements AudioDataReceivedListener {
16
16
private static final String TAG = AudioDataSaver .class .getSimpleName ();
17
17
18
18
// file size of when to delete and create a new recording file
19
- private float MAX_RECORDING_FILE_SIZE_IN_MB = 50f ;
19
+ private final float MAX_RECORDING_FILE_SIZE_IN_MB = 50f ;
20
20
21
21
// initial file size of recording file
22
22
private final float INITIAL_FILE_SIZE_IN_MB = 1.3f ;
23
23
24
24
// converted max file size
25
- private float MAX_RECORDING_FILE_SIZE_IN_BYTES
25
+ private final float MAX_RECORDING_FILE_SIZE_IN_BYTES
26
26
= (MAX_RECORDING_FILE_SIZE_IN_MB - INITIAL_FILE_SIZE_IN_MB ) * 1024 * 1024 ;
27
27
28
28
// keeps track of recording file size
You can’t perform that action at this time.
0 commit comments