home *** CD-ROM | disk | FTP | other *** search
- @DATABASE "Device/Audio.h"
- @MASTER "Work2:AD/IInc/Device/Audio.h"
- @REMARK This file was created by ADtoHT 2.0 on 11-Mär-97 13:33:39
- @REMARK Do not edit
- @REMARK ADtoHT is © 1993-1995 Christian Stieber
-
- @NODE MAIN "Device/Audio.h"
- @TOC "__pOS_Dev.guide/MAIN"
-
- @{"Device/Audio.h" LINK File}
-
-
- @{b}Structures@{ub}
-
- @{"pOS_AudioDevice" LINK "Device/Audio.h/File" 20} @{"pOS_AudioIO" LINK "Device/Audio.h/File" 25}
-
- @ENDNODE
- @NODE File "Device/Audio.h"
- #ifndef __INC_POS_DEVICE_AUDIO_H
- #define __INC_POS_DEVICE_AUDIO_H
- /*******************************************************************
- Includes Release 24
- (C) Copyright 1995-1997 proDAD
- All Rights Reserved
-
- $AUT Holger Burkarth
- $DAT >>Audio.h<< 19 Dec 1996 08:25:14 - (C) ProDAD
- *******************************************************************/
- #ifndef __INC_POS_PEXEC_DEVICE_H
- #include <@{"pExec/Device.h" LINK "pExec/Device.h/File"}>
- #endif
-
- /*\\
- *** OpenDevice mit Unit==~0 geht immer:
- *** Geeignet für: AUDIOCMD_Info, AUDIOCMD_ChannelInfo
- \\*/
-
- struct pOS_AudioDevice {@{"struct pOS_Device" LINK "pExec/Device.h/File" 21} Dev; };
-
-
- /*----------------------------------
- -----------------------------------*/
- struct pOS_AudioIO
- {
- /** @{"struct pOS_IORequest" LINK "pExec/Device.h/File" 53} **/
-
- @{"struct pOS_Message" LINK "pExec/MsgPort.h/File" 41} aio_Message;
- @{"struct pOS_Device" LINK "pExec/Device.h/File" 21} *aio_Device; /* device node pointer */
- @{"struct pOS_Unit" LINK "pExec/Device.h/File" 29} *aio_Unit; /* unit (driver private) */
- @{"UWORD" LINK "pExec/Types.h/File" 93} aio_Command; /* (enum pOS_IOReqCommands) (enum pOS_AudioIOReqCommands) */
- @{"UBYTE" LINK "pExec/Types.h/File" 95} aio_Flags; /* (enum pOS_IOReqFlags) */
- @{"SBYTE" LINK "pExec/Types.h/File" 94} aio_Error; /* (enum pOS_IOReqErrors) */
-
- union
- @{"UBYTE" LINK "pExec/Types.h/File" 95} aio_Reserved[64];
-
- struct /** CMD_WRITE **/
- @{"struct pOS_AudioMap" LINK "pAudio/Audio.h/File" 18} *amio_AudioMap;
- @{"UWORD" LINK "pExec/Types.h/File" 93} amio_Volume;
- @{"UWORD" LINK "pExec/Types.h/File" 93} amio_Cycles;
- @{"ULONG" LINK "pExec/Types.h/File" 91} amio_Frequence; /* Hz */
- @{"ULONG" LINK "pExec/Types.h/File" 91} amio_Length;
- } aio_Map;
-
- struct /** AUDIOCMD_Info **/
- @{"ULONG" LINK "pExec/Types.h/File" 91} aiio_FirstHwChannels; /* Erster Hardware-Channels */
- @{"ULONG" LINK "pExec/Types.h/File" 91} aiio_NumHwChannels; /* Anzahl der Hardware-Channels */
- @{"ULONG" LINK "pExec/Types.h/File" 91} aiio_FirstSwChannels; /* Erster Software-Channels */
- @{"ULONG" LINK "pExec/Types.h/File" 91} aiio_NumSwChannels; /* Anzahl der Software-Channels */
- } aio_Info;
-
- struct /** AUDIOCMD_ChannelInfo **/
- @{"ULONG" LINK "pExec/Types.h/File" 91} acio_Channel;
- @{"size_t" LINK "pExec/Types.h/File" 113} acio_InfoSize; /* sizeof(pOS_AudioInfoData) */
- @{"struct pOS_AudioInfoData" LINK "pAudio/InfoData.h/File" 18} *acio_InfoData;
- } aio_ChInfo;
-
- struct /** AUDIOCMD_AllocChannel **/
- const @{"struct pOS_TagItem" LINK "pUtil/TagItem.h/File" 19} *alio_Tags;
- @{"ULONG" LINK "pExec/Types.h/File" 91} alio_Result;
- } aio_AllocCh;
-
- /** AUDIOCMD_FreeChannel **/
-
-
- } aio_U;
-
- };
-
-
-
- enum pOS_AudioIOReqCommands
- {
- AUDIOCMD_Info = CMD_NONSTD,
- AUDIOCMD_ChannelInfo,
- AUDIOCMD_AllocChannel,
- AUDIOCMD_FreeChannel,
- };
-
-
- enum pOS_AudioIOReqErrors
- {
- AUDIOIOERR_UnknownChannel=1,
- };
-
- #endif
- @ENDNODE
-