Win32: Fixed often registry reading when MCI sounds are enabled.

This commit is contained in:
Ianos Gnatiuc 2006-08-13 17:03:02 +00:00
parent 9bb9d3abd8
commit f56cfa40da
3 changed files with 9 additions and 2 deletions

View File

@ -10,6 +10,7 @@ _____________________________________________________________________________
‡ ¬¥âª¨ ¤«ï GoldED+ 1.1.5, /snapshot/
_____________________________________________________________________________
- Win32: ˆá¯à ¢«¥­® ç á⮥ ç⥭¨¥ ॥áâà  ª®£¤  ¢ª«î祭 MCI §¢ãª.
- Golded+ ¬®£ 㯠áâì ¢ ᯨ᪥ á®®¡é¥­¨©, ¥á«¨ à §¬¥à ¨¬¥­¨ ¨«¨ ⥬ë ᫨誮¬
¡®«ì訥.
- ˆá¯à ¢«¥­ ¬¥­î 㤠«¥­¨ï ­¥®â¯à ¢«¥­­ëå á®®¡é¥­¨©, ª®£¤  㤠«ï«®áì ¢ ª®à§¨­ã.

View File

@ -10,6 +10,8 @@ ______________________________________________________________________
Notes for GoldED+ 1.1.5, /snapshot/
______________________________________________________________________
- Win32: Fixed often registry reading when MCI sounds are enabled.
- Golded+ can crash in message list if size of name or subject is too big.
- Fixed delete menu dialog, when unsent message is to be deleted to recyclebin.

View File

@ -481,8 +481,12 @@ int gsnd::is_playing() {
char return_buffer[BUFFERSIZE];
if(g_send_mci_string("status noise mode wait", return_buffer))
return strieql(return_buffer, "playing") or strieql(return_buffer, "seeking");
if (file_open)
{
if(g_send_mci_string("status noise mode wait", return_buffer))
return strieql(return_buffer, "playing") or strieql(return_buffer, "seeking");
}
return 0;
#else