mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-17 17:04:22 +00:00
Revert "Download recording and set fallbacks for record data"
This reverts commit d65bbade43.
This commit is contained in:
parent
d65bbade43
commit
5547fedd7c
1 changed files with 4 additions and 4 deletions
|
|
@ -159,7 +159,7 @@ function App() {
|
||||||
const reader = new FileReader();
|
const reader = new FileReader();
|
||||||
|
|
||||||
cleanUp();
|
cleanUp();
|
||||||
downloadRecording(blob);
|
// downloadRecording(blob);
|
||||||
|
|
||||||
reader.readAsArrayBuffer(blob);
|
reader.readAsArrayBuffer(blob);
|
||||||
reader.onload = (event) => {
|
reader.onload = (event) => {
|
||||||
|
|
@ -178,9 +178,9 @@ function App() {
|
||||||
|
|
||||||
const recordData = {
|
const recordData = {
|
||||||
audio: rawAudio,
|
audio: rawAudio,
|
||||||
channels: audioConfig.channelCount || 1,
|
channels: audioConfig.channelCount,
|
||||||
sampleRate: audioConfig.sampleRate || 44100,
|
sampleRate: audioConfig.sampleRate,
|
||||||
sampleSize: audioConfig.sampleSize || 16,
|
sampleSize: audioConfig.sampleSize,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (sendRecordingRef.current) {
|
if (sendRecordingRef.current) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue