Annotation of driverkit/libDriver/Kernel/audioReply.defs, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
                      3:  *
                      4:  * @APPLE_LICENSE_HEADER_START@
                      5:  * 
                      6:  * Portions Copyright (c) 1999 Apple Computer, Inc.  All Rights
                      7:  * Reserved.  This file contains Original Code and/or Modifications of
                      8:  * Original Code as defined in and that are subject to the Apple Public
                      9:  * Source License Version 1.1 (the "License").  You may not use this file
                     10:  * except in compliance with the License.  Please obtain a copy of the
                     11:  * License at http://www.apple.com/publicsource and read it before using
                     12:  * this file.
                     13:  * 
                     14:  * The Original Code and all software distributed under the License are
                     15:  * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
                     16:  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
                     17:  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
                     18:  * FITNESS FOR A PARTICULAR PURPOSE OR NON- INFRINGEMENT.  Please see the
                     19:  * License for the specific language governing rights and limitations
                     20:  * under the License.
                     21:  * 
                     22:  * @APPLE_LICENSE_HEADER_END@
                     23:  */
                     24: /*
                     25:  * audioReply.defs
                     26:  *     MIG interface for replies from audio driver.
                     27:  */
                     28: subsystem audioReply 1700;
                     29: 
                     30: #include <mach/std_types.defs>
                     31: 
                     32: type u_int = MSG_TYPE_INTEGER_32;
                     33: type dealloc_ptr = ^array [] of (MSG_TYPE_BYTE,8,dealloc);
                     34: 
                     35: import <bsd/dev/audioTypes.h>;
                     36: 
                     37: serverprefix _NXAudioReply;
                     38: userprefix _NXAudioReply;
                     39: 
                     40: /*
                     41:  * Stream status.
                     42:  */
                     43: simpleroutine StreamStatus (
                     44:        port            : port_t;
                     45:        streamPort      : port_t;
                     46:        streamReply     : port_t;
                     47:        streamId        : int;
                     48:        tag             : int;
                     49:        status          : int);
                     50: 
                     51: /*
                     52:  * Recorded data.
                     53:  */
                     54: simpleroutine RecordedData (
                     55:        port            : port_t;
                     56:        streamPort      : port_t;
                     57:        streamReply     : port_t;
                     58:        streamId        : int;
                     59:        tag             : int;
                     60:        data            : dealloc_ptr
                     61:        /* dataCnt      : int */);      /* invisible mig arg */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.