Annotation of driverkit/libDriver/Kernel/snd_reply.h, 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:  * snd_reply.h
                     26:  *
                     27:  * Copyright (c) 1991, NeXT Computer, Inc.  All rights reserved.
                     28:  *
                     29:  *      Snd reply message routine prototypes.
                     30:  *
                     31:  * HISTORY
                     32:  *      08/07/92/mtm    Original coding.
                     33:  */
                     34: 
                     35: #import <mach/mach_types.h>
                     36: #import <mach/message.h>
                     37: #import <bsd/sys/types.h>
                     38: 
                     39: extern void audio_snd_reply_ret_device (
                     40:        msg_header_t    *out_msg,       // allocated message
                     41:        port_name_t     remote_port,    // who to send it to.
                     42:        port_name_t     device_port);   // returned port.
                     43: extern void audio_snd_reply_ret_stream (
                     44:        msg_header_t    *out_msg,       // allocated message
                     45:        port_name_t     remote_port,    // who to send it to.
                     46:        port_name_t     stream_port);   // returned port.
                     47: extern void audio_snd_reply_illegal_msg (
                     48:        msg_header_t    *out_msg,       // allocated message
                     49:        port_name_t     local_port,     // returned port of interest
                     50:        port_name_t     remote_port,    // who to send it to.
                     51:        int             msg_id,         // message id with illegal syntax
                     52:        int             error);         // error code   
                     53: extern void audio_snd_reply_recorded_data (
                     54:        msg_header_t    *out_msg,       // allocated message
                     55:        port_name_t     remote_port,    // who to reply to
                     56:        int             data_tag,       // tag from region
                     57:        pointer_t       data,           // recorded data
                     58:        int             nbytes);        // number of bytes of data to send
                     59: extern void audio_snd_reply_timed_out (
                     60:        msg_header_t    *out_msg,       // allocated message
                     61:        port_name_t     remote_port,    // who to send it to.
                     62:        int             data_tag);      // tag from region
                     63: extern void audio_snd_reply_ret_samples (
                     64:        msg_header_t    *out_msg,       // allocated message
                     65:        port_name_t     remote_port,    // who to send it to.
                     66:        int             nsamples,       // number of bytes of data to record
                     67:        int             timeStamp);
                     68: extern void audio_snd_reply_overflow (
                     69:        msg_header_t    *out_msg,       // allocated message
                     70:        port_name_t     remote_port,    // who to send it to.
                     71:        int             data_tag);      // from region
                     72: extern void audio_snd_reply_started (
                     73:        msg_header_t    *out_msg,       // allocated message
                     74:        port_name_t     remote_port,    // who to send it to.
                     75:        int             data_tag);      // from region
                     76: extern void audio_snd_reply_completed (
                     77:        msg_header_t    *out_msg,       // allocated message
                     78:        port_name_t     remote_port,    // who to send it to.
                     79:        int             data_tag);      // from region
                     80: extern void audio_snd_reply_aborted (
                     81:        msg_header_t    *out_msg,       // allocated message
                     82:        port_name_t     remote_port,    // who to send it to.
                     83:        int             data_tag);      // from region
                     84: extern void audio_snd_reply_paused (
                     85:        msg_header_t    *out_msg,       // allocated message
                     86:        port_name_t     remote_port,    // who to send it to.
                     87:        int             data_tag);      // from region
                     88: extern void audio_snd_reply_resumed (
                     89:        msg_header_t    *out_msg,       // allocated message
                     90:        port_name_t     remote_port,    // who to send it to.
                     91:        int             data_tag);      // from region
                     92: extern void audio_snd_reply_ret_parms (
                     93:        msg_header_t    *out_msg,       // allocated message
                     94:        port_name_t     remote_port,    // who to send it to.
                     95:        u_int           parms);
                     96: extern void audio_snd_reply_ret_volume (
                     97:        msg_header_t    *out_msg,       // allocated message
                     98:        port_name_t     remote_port,    // who to send it to.
                     99:        u_int           volume);        
                    100: extern void audio_snd_reply_ret_formats(msg_header_t *msg,
                    101:                                  port_name_t remote_port,
                    102:                                  u_int rates, u_int low, u_int high,
                    103:                                  u_int encodings, u_int chans);

unix.superglobalmegacorp.com

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