Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

再生したら落ちた #1

Open
masakazozaki opened this issue Mar 31, 2022 · 2 comments
Open

再生したら落ちた #1

masakazozaki opened this issue Mar 31, 2022 · 2 comments
Labels
bug Something isn't working spr22 一人で頑張る
Projects

Comments

@masakazozaki
Copy link
Member

Screen Shot 2022-04-01 at 2 04 51

@masakazozaki masakazozaki added this to アプリ甲子園までにやること in neko Mar 31, 2022
@masakazozaki
Copy link
Member Author

masakazozaki commented Apr 2, 2022

@Miupan
Screen Shot 2022-04-03 at 0 28 49

このgetURL()record()でもplay()でも呼び出していると思うんだけど,元々あったL98のコメントアウトしたコードではDate()を読んでいるよね.

getURLではrecordする音源の保存するディレクトリのurl, 再生する音源の保存されてるディレクトリを取得すると思うんだけど,

Date()は呼ばれた時点での時刻がそのまま呼ばれるので再生した時と録音するときで呼ぶDate()は値が異なるのでいくら録音しても再生しないで落ちる.

代わりにただのstring入れたら動いたよ

@masakazozaki
Copy link
Member Author

https://github.com/lit-monster/TalkCard/projects/1#card-80063215

これに変更してしまって良さそう.結構大工事だけどがんばって😵‍💫

@Miupan Miupan moved this from アプリ甲子園までにやること to Done in neko Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working spr22 一人で頑張る
Projects
neko
Done
Development

No branches or pull requests

1 participant