API Guide Home (Online version only) |

# HsSoundLibTraps.h

Go to the documentation of this file.

    00001 /*******************************************************************************
    00002  * Copyright (c) 2004-2005 palmOne, Inc. or its subsidiaries.
    00003  * All rights reserved.
    00004  ******************************************************************************/
    00005 /**
    00006  * @ingroup Sound
    00007  */
    00008
    00009 /**
    00010  * file     HsSoundLibTraps.h
    00011  * brief    Public 68k common header file for Sound Library on Treo devices.
    00012  *
    00013  * This file contains the function trap numbers for the Sound Library APIs.
    00014  */
    00015
    00016 #ifndef __HSSOUNDLIB_TRAPS__H__
    00017 #define __HSSOUNDLIB_TRAPS__H__
    00018
    00019 /***********************************************************************
    00020  * Palm OS common definitions
    00021  ***********************************************************************/
    00022 #include <PalmTypes.h>
    00023
    00024 #if 0
    00025 #pragma mark -------- Constants --------
    00026 #endif
    00027
    00028 /**
    00029  * @name Function Traps
    00030  *
    00031  */
    00032 /*@{*/
    00033 #define kHsSoundLibTrapOpen           (sysLibTrapOpen)  /**<No definition. */
    00034 #define kHsSoundLibTrapClose          (sysLibTrapClose) /**<No definition. */
    00035
    00036 #define kHsSoundLibTrapGetVersion     (sysLibTrapCustom + 0) /**<No definition. */
    00037 #define kHsSoundLibTrapPortGetInfo    (sysLibTrapCustom + 1) /**<No definition. */
    00038 #define kHsSoundLibTrapPortSetParam   (sysLibTrapCustom + 2) /**<No definition. */
    00039 #define kHsSoundLibTrapSwitchGetPort  (sysLibTrapCustom + 3) /**<No definition. */
    00040 #define kHsSoundLibTrapSwitchSetPort  (sysLibTrapCustom + 4) /**<No definition. */
    00041 #define kHsSoundLibTrapTonePlay       (sysLibTrapCustom + 5) /**<No definition. */
    00042 #define kHsSoundLibTrapToneStop       (sysLibTrapCustom + 6) /**<No definition. */
    00043 #define kHsSoundLibTrapFormatPlay     (sysLibTrapCustom + 7) /**<No definition. */
    00044 #define kHsSoundLibTrapFormatRecord   (sysLibTrapCustom + 8) /**<No definition. */
    00045 #define kHsSoundLibTrapGetUserVolume  (sysLibTrapCustom + 9) /**<No definition. */
    00046 #define kHsSoundLibTrapSetUserVolume  (sysLibTrapCustom + 10) /**<No definition. */
    00047 #define kPmSoundLibTrapClkGetTicksPerSecond (sysLibTrapCustom + 11) /**<No definition. */
    00048 #define kPmSoundLibTrapClkGetTickCount (sysLibTrapCustom + 12) /**<No definition. */
    00049 #define kPmSoundLibTrapGetPosition     (sysLibTrapCustom + 13) /**<No definition. */
    00050 #define kPmSoundLibTrapReserved        (sysLibTrapCustom + 14) /**<No definition. */
    00051 /*@}*/
    00052
    00053 #endif // INCLUDE ONCE -- __HSSOUNDLIB_TRAPS__H__

Top | Palm Developer Network © 2004-2008, Palm, Inc. All rights reserved. Generated on Fri Jun 13 10:06:53 2008 for Palm API Guide