projects
/
platform
/
core
/
csapi
/
tizenfx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3cb076a
)
[AudioIO] Fix crash issue (#1024)
author
hsgwon
<haesu.gwon@samsung.com>
Thu, 19 Sep 2019 11:58:00 +0000
(20:58 +0900)
committer
GitHub
<noreply@github.com>
Thu, 19 Sep 2019 11:58:00 +0000
(20:58 +0900)
src/Tizen.Multimedia.AudioIO/WavPlayer/WavPlayer.cs
patch
|
blob
|
history
diff --git
a/src/Tizen.Multimedia.AudioIO/WavPlayer/WavPlayer.cs
b/src/Tizen.Multimedia.AudioIO/WavPlayer/WavPlayer.cs
index
1f14f3f
..
37f3762
100644
(file)
--- a/
src/Tizen.Multimedia.AudioIO/WavPlayer/WavPlayer.cs
+++ b/
src/Tizen.Multimedia.AudioIO/WavPlayer/WavPlayer.cs
@@
-95,7
+95,7
@@
namespace Tizen.Multimedia
Native.WavPlayerCompletedCallback cb = (id_, _) => tcs.TrySetResult(true);
Native.WavPlayerCompletedCallback cb = (id_, _) => tcs.TrySetResult(true);
- using (ObjectKeeper.Get(cb))
+ using (
var cbKeeper =
ObjectKeeper.Get(cb))
{
Native.Start(path, streamPolicy.Handle, cb, IntPtr.Zero, out var id).
Validate("Failed to play.");
{
Native.Start(path, streamPolicy.Handle, cb, IntPtr.Zero, out var id).
Validate("Failed to play.");