关于MediaPlayer或AudioRecord中的IllegalStateException异常

关于MediaPlayer或AudioRecord中的IllegalStateException错误必须在mediaPlay.isPlaying()返回true时才能

关于MediaPlayer或AudioRecord中的IllegalStateException错误

必须在mediaPlay.isPlaying()返回true时才能执行stop,否则就会出现IllegalStateException的错误,AudioRecord类似。