diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-01-22 13:58:52 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-01-22 13:58:52 +0000 |
commit | 78a5885628328e26523115af24463269cdca7e55 (patch) | |
tree | 960ac488a3b258e2f52033b89ecaab1cd5bc7ced /plugins/BASS_interface | |
parent | 6d7e8af75f9712f08f6cf436c355d720e31cb945 (diff) |
geting sound preview on bass_interface frame if checked preview in options
git-svn-id: http://svn.miranda-ng.org/main/trunk@3229 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BASS_interface')
-rw-r--r-- | plugins/BASS_interface/src/Main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/BASS_interface/src/Main.cpp b/plugins/BASS_interface/src/Main.cpp index 35303457b0..59e88065f1 100644 --- a/plugins/BASS_interface/src/Main.cpp +++ b/plugins/BASS_interface/src/Main.cpp @@ -410,6 +410,9 @@ static LRESULT CALLBACK FrameWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPAR db_set_b(NULL, ModuleName, OPT_VOLUME, Volume);
BASS_SetConfig(BASS_CONFIG_GVOL_STREAM, Volume * 100);
SendMessage(hwndOptSlider, TBM_SETPOS, TRUE, Volume);
+ Preview = TRUE;
+ if (EnPreview)
+ SkinPlaySound("AlertMsg");
}
break;
}
|