This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.media.AudioFormat | |
import android.media.AudioRecord | |
import android.media.MediaRecorder | |
import java.io.IOException | |
import java.io.InputStream | |
class AudioInputStream( | |
audioSource: Int = MediaRecorder.AudioSource.DEFAULT, | |
sampleRate: Int = 44100, | |
channelConfig: Int = AudioFormat.CHANNEL_IN_MONO, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qemu-img convert -O vdi gnome.qcow2 gnome.vdi | |
#if its a raw image then: | |
VBoxManage convertdd opnstk.raw VBox.vdi --format VDI |