a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
Include
 classes
 clib
 datatypes
 devices
 diskfont
 dos
 exec
 gadgets
 graphics
 hardware
 images
 intuition
 libraries
 pragma
 pragmas
 prefs
  asl.h / .i
  font.h / .i
  icontrol.h / .i
  input.h / .i
  locale.h / .i
  overscan.h / .i
  palette.h / .i
  pointer.h / .i
  prefhdr.h / .i
  printergfx.h / .i
  printerps.h / .i
  printertxt.h / .i
  reaction.h
  screenmode.h / .i
  serial.h / .i
  sound.h / .i
  wbpattern.h / .i
  workbench.h / .i
 proto
 reaction
 resources
 rexx
 utility
 workbench
GuruMeditation
Docs » Include » prefs » sound.h / .i
#ifndef PREFS_SOUND_H
#define PREFS_SOUND_H
/*
**	$VER: sound.h 38.2 (20.6.1991)
**	Includes Release 45.1
**
**	File format for sound preferences
**
**	(C) Copyright 1991-2001 Amiga, Inc.
**	All Rights Reserved
*/

/*****************************************************************************/


#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif

#ifndef LIBRARIES_IFFPARSE_H
#include <libraries/iffparse.h>
#endif


/*****************************************************************************/


#define ID_SOND MAKE_ID('S','O','N','D')


struct SoundPrefs
{
    LONG  sop_Reserved[4];	      /* System reserved	    */
    BOOL  sop_DisplayQueue;	      /* Flash the display?	    */
    BOOL  sop_AudioQueue;	      /* Make some sound?	    */
    UWORD sop_AudioType;	      /* Type of sound, see below   */
    UWORD sop_AudioVolume;	      /* Volume of sound, 0..64     */
    UWORD sop_AudioPeriod;	      /* Period of sound, 127..2500 */
    UWORD sop_AudioDuration;	      /* Length of simple beep	    */
    char  sop_AudioFileName[256];     /* Filename of 8SVX file	    */
};


/* constants for SoundPrefs.sop_AudioType */
#define SPTYPE_BEEP	0	/* simple beep sound */
#define SPTYPE_SAMPLE	1	/* sampled sound     */


/*****************************************************************************/


#endif /* PREFS_SOUND_H */

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Future Crew

AYS
FC
RZR
ANA

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se