Searched refs:VOLUME_MAX (Results 1 – 8 of 8) sorted by relevance
/reactos/base/applications/sndvol32/ |
H A D | advanced.c | 49 …wndDlg, IDC_ADV_BASS_SLIDER, TBM_SETRANGE, (WPARAM)TRUE, (LPARAM)MAKELONG(VOLUME_MIN, VOLUME_MAX)); in OnInitDialog() 50 …dDlg, IDC_ADV_TREBLE_SLIDER, TBM_SETRANGE, (WPARAM)TRUE, (LPARAM)MAKELONG(VOLUME_MIN, VOLUME_MAX)); in OnInitDialog() 57 dwStep = (VOLUME_MAX / (VOLUME_TICKS + 1)); in OnInitDialog() 58 if (VOLUME_MAX % (VOLUME_TICKS + 1) != 0) in OnInitDialog() 60 for (i = dwStep; i < VOLUME_MAX; i += dwStep) in OnInitDialog() 83 … = (Control[Index].Bounds.dwMaximum - Control[Index].Bounds.dwMinimum) / (VOLUME_MAX - VOLUME_MIN); in OnInitDialog() 102 … = (Control[Index].Bounds.dwMaximum - Control[Index].Bounds.dwMinimum) / (VOLUME_MAX - VOLUME_MIN); in OnInitDialog() 215 dwStep = (dwMaximum - dwMinimum) / (VOLUME_MAX - VOLUME_MIN); in OnHScroll()
|
H A D | tray.c | 102 …volumeStep = (pDialogData->volumeMaximum - pDialogData->volumeMinimum) / (VOLUME_MAX - VOLUME_MIN); in OnTrayInitMixer() 138 …lgItemMessage(hwndDlg, IDC_LINE_SLIDER_VERT, TBM_SETRANGE, TRUE, MAKELONG(VOLUME_MIN, VOLUME_MAX)); in OnTrayInitMixer() 140 …SendDlgItemMessage(hwndDlg, IDC_LINE_SLIDER_VERT, TBM_SETPOS, TRUE, VOLUME_MAX -(pDialogData->maxV… in OnTrayInitMixer() 222 …dwPosition = VOLUME_MAX - (DWORD)SendDlgItemMessage(hwndDlg, IDC_LINE_SLIDER_VERT, TBM_GETPOS, 0, … in OnVScroll() 226 else if (dwPosition == VOLUME_MAX) in OnVScroll()
|
H A D | sndvol32.c | 669 … = (Control[Index].Bounds.dwMaximum - Control[Index].Bounds.dwMinimum) / (VOLUME_MAX - VOLUME_MIN); in SetVolumeCallback() 674 …puDetails[0].dwValue = ((VOLUME_MAX - volumePosition) * volumeStep) + Control[Index].Bounds.dwMini… in SetVolumeCallback() 681 …puDetails[0].dwValue = ((VOLUME_MAX - volumePosition) * volumeStep) + Control[Index].Bounds.dwMini… in SetVolumeCallback() 682 …puDetails[1].dwValue = ((VOLUME_MAX - volumePosition) * volumeStep) + Control[Index].Bounds.dwMini… in SetVolumeCallback() 686 …puDetails[0].dwValue = ((VOLUME_MAX - volumePosition) * volumeStep) + Control[Index].Bounds.dwMini… in SetVolumeCallback() 692 …puDetails[1].dwValue = ((VOLUME_MAX - volumePosition) * volumeStep) + Control[Index].Bounds.dwMini… in SetVolumeCallback() 696 …puDetails[0].dwValue = ((VOLUME_MAX - volumePosition) * volumeStep) + Control[Index].Bounds.dwMini… in SetVolumeCallback() 704 …puDetails[1].dwValue = ((VOLUME_MAX - volumePosition) * volumeStep) + Control[Index].Bounds.dwMini… in SetVolumeCallback() 806 … = (Control[Index].Bounds.dwMaximum - Control[Index].Bounds.dwMinimum) / (VOLUME_MAX - VOLUME_MIN); in MixerControlChangeCallback() 853 …pdateDialogLineSliderControl(&Preferences, Line, IDC_LINE_SLIDER_VERT, VOLUME_MAX - volumePosition… in MixerControlChangeCallback()
|
H A D | dialog.c | 193 SendMessage(hwnd, TBM_SETRANGE, (WPARAM)TRUE, (LPARAM)MAKELONG(VOLUME_MIN, VOLUME_MAX)); in AddDialogControl() 202 nSteps = (VOLUME_MAX / (VOLUME_TICKS + 1)); in AddDialogControl() 203 if (VOLUME_MAX % (VOLUME_TICKS + 1) != 0) in AddDialogControl() 205 for (i = nSteps; i < VOLUME_MAX; i += nSteps) in AddDialogControl() 547 … = (Control[Index].Bounds.dwMaximum - Control[Index].Bounds.dwMinimum) / (VOLUME_MAX - VOLUME_MIN); in EnumConnectionsCallback() 607 if (OldPosition != (VOLUME_MAX - volumePosition)) in EnumConnectionsCallback() 610 … SendMessageW(hDlgCtrl, TBM_SETPOS, (WPARAM)TRUE, VOLUME_MAX - volumePosition); in EnumConnectionsCallback()
|
H A D | sndvol32.h | 19 #define VOLUME_MAX 500 macro
|
/reactos/dll/cpl/mmsys/ |
H A D | speakervolume.c | 66 …pPageData->volumeStep = (pPageData->volumeMaximum - pPageData->volumeMinimum) / (VOLUME_MAX - VOLU… in OnInitDialog() 96 …DlgItemMessageW(hwndDlg, 9475 + j, TBM_SETRANGE, (WPARAM)TRUE, MAKELPARAM(VOLUME_MIN, VOLUME_MAX)); in OnInitDialog() 168 else if (dwPosition == VOLUME_MAX) in OnHScroll() 211 dwValue = ((VOLUME_MAX - VOLUME_MIN) / 2 * pPageData->volumeStep) + pPageData->volumeMinimum; in OnSetDefaults()
|
H A D | mmsys.h | 43 #define VOLUME_MAX 500 macro
|
H A D | volume.c | 149 …volumeStep = (pGlobalData->volumeMaximum - pGlobalData->volumeMinimum) / (VOLUME_MAX - VOLUME_MIN); in GetVolumeControl() 219 else if (dwPosition == VOLUME_MAX) in SetVolumeValue() 310 …wndDlg, IDC_VOLUME_TRACKBAR, TBM_SETRANGE, (WPARAM)TRUE, (LPARAM)MAKELONG(VOLUME_MIN, VOLUME_MAX)); in InitVolumeControls()
|