Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-9378

mplay32: minor improvement to TogglePlaybackState()

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 0.4.0
    • Applications

    Description

      In TogglePlaybackState, replace the if blocks with a switch block and add cases for
      MCI_MODE_OPEN and MCI_MODE_STOP. Also include a default case which just
      returns. Remove the mode comparision in the window procedure for IDC_PLAY and
      IDC_PAUSE and instead always call TogglePlaybackSate. Also lower the scope of
      a variable in WM_SIZE.

      Attachments

        Activity

          People

            hbelusca hbelusca
            Forever Winter Forever Winter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: