|
|
@ -130,7 +130,7 @@ public class AudioPlayerDialog extends Dialog { |
|
|
|
speechRate = 10; |
|
|
|
speechRate = 10; |
|
|
|
sbPitch.setProgress(pitch); |
|
|
|
sbPitch.setProgress(pitch); |
|
|
|
sbSpeechRate.setProgress(speechRate); |
|
|
|
sbSpeechRate.setProgress(speechRate); |
|
|
|
SharedPreUtils.getInstance().putInt("pitch", pitch); |
|
|
|
SharedPreUtils.getInstance().putInt("readPitch", pitch); |
|
|
|
SharedPreUtils.getInstance().putInt("speechRate", speechRate); |
|
|
|
SharedPreUtils.getInstance().putInt("speechRate", speechRate); |
|
|
|
if (ReadAloudService.running) { |
|
|
|
if (ReadAloudService.running) { |
|
|
|
ReadAloudService.pause(mReadActivity); |
|
|
|
ReadAloudService.pause(mReadActivity); |
|
|
|