;/////////////////////////////////////////////////////////////////////////////
;// vmp3dn.inc
;//
;// Virtual MPEG Audio Layer3 Device declarations
;//
;// 25/10/1999	fOSSiL		Initial version
;// 16/11/1999	fOSSiL		Initial version (nasm)
;// 2000/01/14	The Owl		nasm port
;// 2000/01/16	The Owl		added playing related services
;// 2000/01/18	fOSSiL		new vmm/vxd macros
;// 2000/07/03	The Owl		added StatusInfo

%ifndef INCLUDED_VMP3DN_INC
%define INCLUDED_VMP3DN_INC

%include "vxdn.inc"

VMP3D_Device_ID equ  0x7E01

Begin_Service_Table VMP3D
  VMP3D_Service VMP3D_Get_Version
  VMP3D_Service VMP3D_Get_IRQ
  VMP3D_Service VMP3D_On_SoftIce_IRQ
  VMP3D_Service VMP3D_Need_SoftIce_IRQ
  VMP3D_Service VMP3D_Play
  VMP3D_Service VMP3D_Play_Prev
  VMP3D_Service VMP3D_Play_Next
  VMP3D_Service VMP3D_Stop
  VMP3D_Service VMP3D_Pause
  VMP3D_Service VMP3D_Resume
End_Service_Table VMP3D

struc MpegInfo
.RetCode	resd 1
.Layer		resd 1
.Version	resd 1
.BitRate	resd 1
.Chanels	resd 1
.SampFreq	resd 1
.ActChanels	resd 1
.ActSampFreq	resd 1
.BitsPerSample	resd 1
.FrameBits	resd 1
.StreamSize	resd 1
endstruc

struc StatusInfo
.RetCode	resd 1
.Track:		resd 1
.Progress:	resd 1
.IsPlaying:	resb 1
.IsBusy:	resb 1
endstruc

%endif