mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 04:35:53 +00:00
[BDASUP][KMIXER][MMIXER][STREAM] Replace meaningless YDEBUG (#5818)
bdasup: Addendum to40c15ec
(r46632). kmixer: Addendum to3e489bf
(r42143). mmixer: Addendum toc42d9f2
(r44872). stream: Addendum to4a0debf
(r41662). Serge plans a follow up that will remove all other remaining YDEBUG in the source tree. The ones covered here he considered to be the most trivial ones.
This commit is contained in:
parent
6d7aaaade0
commit
60b0afc3af
11 changed files with 12 additions and 40 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include "precomp.h"
|
||||
|
||||
#define YDEBUG
|
||||
// #define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
const GUID KSNODETYPE_DESKTOP_MICROPHONE = {0xDFF21BE2, 0xF70F, 0x11D0, {0xB9, 0x17, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96}};
|
||||
|
@ -56,7 +56,6 @@ MMixerAddMixerControl(
|
|||
return MM_STATUS_NO_MEMORY;
|
||||
}
|
||||
|
||||
|
||||
/* initialize mixer control */
|
||||
MixerControl->hDevice = hMixer;
|
||||
MixerControl->NodeID = NodeIndex;
|
||||
|
@ -263,7 +262,6 @@ MMixerCreateDestinationLine(
|
|||
DestinationLine->Line.dwUser = 0;
|
||||
DestinationLine->Line.fdwLine = MIXERLINE_LINEF_ACTIVE;
|
||||
|
||||
|
||||
if (LineName)
|
||||
{
|
||||
MixerContext->Copy(DestinationLine->Line.szShortName, LineName, (min(MIXER_SHORT_NAME_CHARS, wcslen(LineName)+1)) * sizeof(WCHAR));
|
||||
|
@ -564,7 +562,6 @@ MMixerGetChannelCountEnhanced(
|
|||
Request.Property.Flags = KSPROPERTY_TYPE_BASICSUPPORT | KSPROPERTY_TYPE_TOPOLOGY;
|
||||
Request.Property.Id = KSPROPERTY_AUDIO_VOLUMELEVEL;
|
||||
|
||||
|
||||
/* get description */
|
||||
Status = MixerContext->Control(hMixer, IOCTL_KS_PROPERTY, (PVOID)&Request, sizeof(KSP_NODE), (PVOID)&Description, sizeof(KSPROPERTY_DESCRIPTION), &BytesReturned);
|
||||
if (Status == MM_STATUS_SUCCESS)
|
||||
|
@ -772,7 +769,6 @@ MMixerGetComponentAndTargetType(
|
|||
Request.Property.Set = KSPROPSETID_Pin;
|
||||
Request.Property.Id = KSPROPERTY_PIN_CATEGORY;
|
||||
|
||||
|
||||
/* get pin category */
|
||||
Status = MixerContext->Control(hMixer, IOCTL_KS_PROPERTY, (PVOID)&Request, sizeof(KSP_PIN), &Guid, sizeof(GUID), &BytesReturned);
|
||||
if (Status != MM_STATUS_SUCCESS)
|
||||
|
@ -1163,7 +1159,6 @@ MMixerAddMixerSourceLines(
|
|||
return MM_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
MIXER_STATUS
|
||||
MMixerAddMixerControlsToDestinationLine(
|
||||
IN PMIXER_CONTEXT MixerContext,
|
||||
|
@ -1623,7 +1618,6 @@ MMixerInitializeFilter(
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
/* now get the bridge pin which is at the end of node path
|
||||
* For sink pins (wave out) search down stream
|
||||
* For source pins (wave in) search up stream
|
||||
|
@ -1829,7 +1823,6 @@ MMixerSetupFilter(
|
|||
return Status;
|
||||
}
|
||||
|
||||
|
||||
MIXER_STATUS
|
||||
MMixerAddEvent(
|
||||
IN PMIXER_CONTEXT MixerContext,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue