Ignore:
Timestamp:
Feb 27, 2021, 9:36:54 PM (4 years ago)
Author:
Paul Smedley
Message:

More code cleanups from AlexT from #os2russian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-next/lib32/ioctl.c

    r675 r677  
    2121#include "soundoss.h"
    2222
     23#include <kee.h>
    2324#include <u32ioctl.h>
    2425
     
    6162{
    6263        int ctl_id;
    63         ULONG blkid = 0;
    6464        int i = 0;
    6565
     
    7777                        return -ETIME;
    7878
    79                 MyDevBlock(blkid, 1, 0);
     79                KernBlock((ULONG)&WaitForControlChange, 1, 0, 0, 0);
    8080                if (unlock_all)
    8181                {
     
    8989int WaitForPCMInterrupt(void *handle, int timeout)
    9090{
    91         ULONG blkid = 0;
    9291        int i = 0;
    9392        int j = 0;
     
    143142                }
    144143
    145                 MyDevBlock(blkid, 1, 0);
     144                KernBlock((ULONG)&WaitForPCMInterrupt, 1, 0, 0, 0);
    146145                if (unlock_all)
    147146                {
Note: See TracChangeset for help on using the changeset viewer.