mirror of
https://github.com/Myzel394/Alibi.git
synced 2025-06-19 07:15:25 +02:00
current stand
This commit is contained in:
parent
47b85e74d2
commit
8f8376cd16
@ -57,15 +57,9 @@ class AudioRecorderService : IntervalRecorderService() {
|
|||||||
} else {
|
} else {
|
||||||
MediaRecorder()
|
MediaRecorder()
|
||||||
}.apply {
|
}.apply {
|
||||||
setOutputFormat(settings!!.outputFormat)
|
|
||||||
|
|
||||||
// Setting file path
|
// Setting file path
|
||||||
|
/*
|
||||||
if (customOutputFolder == null) {
|
if (customOutputFolder == null) {
|
||||||
val newFilePath = "${defaultOutputFolder}/$counter.${settings!!.fileExtension}"
|
|
||||||
|
|
||||||
println("newfile path: ${newFilePath}")
|
|
||||||
|
|
||||||
setOutputFile(newFilePath)
|
|
||||||
} else {
|
} else {
|
||||||
customOutputFolder!!.createFile(
|
customOutputFolder!!.createFile(
|
||||||
"audio/${settings!!.fileExtension}",
|
"audio/${settings!!.fileExtension}",
|
||||||
@ -76,6 +70,15 @@ class AudioRecorderService : IntervalRecorderService() {
|
|||||||
setOutputFile(fileDescriptor)
|
setOutputFile(fileDescriptor)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
val newFilePath = "${defaultOutputFolder}/$counter.${settings!!.fileExtension}"
|
||||||
|
|
||||||
|
println("newfile path: ${newFilePath}")
|
||||||
|
|
||||||
|
setOutputFile(newFilePath)
|
||||||
|
println("outputformat eta: ${settings!!.outputFormat}")
|
||||||
|
setOutputFormat(settings!!.outputFormat)
|
||||||
|
|
||||||
// Audio Source is kinda strange, here are my experimental findings using a Pixel 7 Pro
|
// Audio Source is kinda strange, here are my experimental findings using a Pixel 7 Pro
|
||||||
// and Redmi Buds 3 Pro:
|
// and Redmi Buds 3 Pro:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user