IOCTL_SBAUD_STREAM_CLOSE IOCTL (sidebandaudio.h)
On closure of KS pin, used for streaming audio, send IOCTL_SBAUD_STREAM_CLOSE. This control code is used by an audio driver when cooperating with the audio class drivers to operate a sideband connection.
Major code
Input buffer
A 0 based endpoint index value based on the number of Audio endpoints as reported by the IOCTL_SBAUD_GET_DEVICE_DESCRIPTOR.
This is a ULONG value from 0 to (N-1) where N is the number of Endpoints for the device.
Input buffer length
Size of ULONG.
Status block
Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status to the appropriate error condition as a NTSTATUS code. For more information, see NTSTATUS Values.
Remarks
This IOCTL can only be called from kernel mode.
This is one of the IOCTLs used for KS pin state transitions. The audio driver sends these requests on certain KS pin state transitions.
- On first transition above KSSTATE_STOP (normally to KSSTATE_ACQUIRE), send IOCTL_SBAUD_STREAM_OPEN.
- On transition up to KSSTATE_RUN, send IOCTL_SBAUD_STREAM_START.
- On transition below KSSTATE_RUN, send IOCTL_SBAUD_STREAM_SUSPEND.
- On closure of KS pin, send IOCTL_SBAUD_STREAM_CLOSE.
Requirements
Requirement | Value |
---|---|
Header | sidebandaudio.h |