Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
solaoi committed May 23, 2024
1 parent 21405b4 commit 5ec6663
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lycoris",
"private": true,
"version": "0.9.15",
"version": "0.9.16",
"type": "module",
"license": "MIT",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lycoris"
version = "0.9.15"
version = "0.9.16"
description = "Lycoris is an offline voice memo"
authors = ["solaoi"]
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions src-tauri/src/module/transcription_amivoice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ impl TranscriptionAmivoice {
let cursor = Cursor::new(buffer);
let mut reader = WavReader::new(cursor)?;
let spec = WavSpec {
channels: 1,
sample_rate: 48000,
channels: reader.spec().channels,
sample_rate: reader.spec().sample_rate,
bits_per_sample: 16,
sample_format: SampleFormat::Int,
};
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "Lycoris",
"version": "0.9.15"
"version": "0.9.16"
},
"tauri": {
"allowlist": {
Expand Down

0 comments on commit 5ec6663

Please sign in to comment.