OSDN Git Service
(root)
/
cinnamon-audio
/
cinnamon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f273afe
)
Minor change in interface release for starting a DirectSound sound
author
AlaskanEmily
<emily@alaskanemily.net>
Sun, 9 Sep 2018 00:49:23 +0000
(17:49 -0700)
committer
AlaskanEmily
<emily@alaskanemily.net>
Sun, 9 Sep 2018 00:49:23 +0000
(17:49 -0700)
dsound/cin_sound_dsound.cpp
patch
|
blob
|
history
diff --git
a/dsound/cin_sound_dsound.cpp
b/dsound/cin_sound_dsound.cpp
index
5bab2d5
..
bfecd03
100755
(executable)
--- a/
dsound/cin_sound_dsound.cpp
+++ b/
dsound/cin_sound_dsound.cpp
@@
-86,15
+86,14
@@
void Cin_Sound::setEvents(){
notes[i].hEventNotify = m_event;
}
notify->SetNotificationPositions(CIN_DSOUND_NOTIFY_COUNT, notes);
- notify->Release();
}
else{
DSBPOSITIONNOTIFY note;
note.dwOffset = 0;
note.hEventNotify = m_event;
notify->SetNotificationPositions(1, ¬e);
- notify->Release();
}
+ notify->Release();
}
Cin_Sound::Cin_Sound(struct Cin_Driver *drv,