Enums
[Audio Manager]


Enumerations

enum  AlpSndActionType {
  ALP_SND_ACTION_NULL = 0, ALP_SND_ACTION_PLAY, ALP_SND_ACTION_ATTENUATE, ALP_SND_ACTION_PAUSE,
  ALP_SND_ACTION_MUTE, ALP_SND_ACTION_STOP, ALP_SND_ACTION_RECORD
}
 AlpSndActionType Enum. More...
enum  AlpSndAppMode { ALP_SND_MODE_PLAYBACK, ALP_SND_MODE_RECORD }
 AlpSndAppMode Enum. More...
enum  AlpSndCmd {
  ALP_SND_CTL_PLAY, ALP_SND_CTL_APLAY, ALP_SND_CTL_STOP, ALP_SND_CTL_PAUSE,
  ALP_SND_CTL_RECORD, ALP_SND_SET_VOLUME, ALP_SND_GET_VOLUME, ALP_SND_SET_FORMAT,
  ALP_SND_GET_FORMAT, ALP_SND_GET_DELAY, ALP_SND_SET_SRCTYPE, ALP_SND_SET_DRMFLAG,
  ALP_SND_CTL_DRAIN, ALP_SND_CTL_FLUSH_START, ALP_SND_CTL_FLUSH_STOP
}
 AlpSndCmd Enum. More...
enum  AlpSndMsgType { ALP_SND_MSG_ACTION_CHANGED }
 AlpSndMsgType Enum. More...
enum  AlpSndNotifyType { ALP_SND_NOTIFY_VOLUME, ALP_SND_NOTIFY_CONDITION, ALP_SND_NOTIFY_DEVPRESENT, ALP_SND_NOTIFY_VOLUME_TEMP }
 AlpSndNotifyType Enum. More...


Enumeration Type Documentation

enum AlpSndActionType
 

AlpSndActionType Enum.

contains action type of audio stream.

Enumerator:
ALP_SND_ACTION_NULL  action is NULL
ALP_SND_ACTION_PLAY  action is play
ALP_SND_ACTION_ATTENUATE  action is atenuate
ALP_SND_ACTION_PAUSE  action is pause
ALP_SND_ACTION_MUTE  action is mute
ALP_SND_ACTION_STOP  action is stop
ALP_SND_ACTION_RECORD  action is record

enum AlpSndAppMode
 

AlpSndAppMode Enum.

used to describe the action of an audio client or application.

Enumerator:
ALP_SND_MODE_PLAYBACK  Audio application will do playback related operations.
ALP_SND_MODE_RECORD  Audio application will do record related operations.

enum AlpSndCmd
 

AlpSndCmd Enum.

Defines control command used by alp_snd_ioctl.

Enumerator:
ALP_SND_CTL_PLAY  Sound play control. No data needed.
ALP_SND_CTL_APLAY  Sound async play control. Filename needed.
ALP_SND_CTL_STOP  Sound stop control. No data needed.
ALP_SND_CTL_PAUSE  Sound pause control. No data needed.
ALP_SND_CTL_RECORD  Sound record control. No data needed.
ALP_SND_SET_VOLUME  Set volume. data is integer number, range [0, 100].
ALP_SND_GET_VOLUME  Get volume. data is integer number, range [0, 100].
ALP_SND_SET_FORMAT  Set format. data is pointer to AlpSndPcmFmt structure.
ALP_SND_GET_FORMAT  Get format. data is pointer to AlpSndPcmFmt structure.
ALP_SND_GET_DELAY  Sound delay. data is pointer to void.
ALP_SND_SET_SRCTYPE  Set audio stream type. All types are defined in XML.
ALP_SND_SET_DRMFLAG  Set DRM flag. To identify if the stream is DRM protected or not.
ALP_SND_CTL_DRAIN  Sound drain control. No data needed.
ALP_SND_CTL_FLUSH_START 
ALP_SND_CTL_FLUSH_STOP 

enum AlpSndMsgType
 

AlpSndMsgType Enum.

contains message types of audiomgr.

Enumerator:
ALP_SND_MSG_ACTION_CHANGED  audio stream action changed, its correspond data type is AlpSndActionType.

enum AlpSndNotifyType
 

AlpSndNotifyType Enum.

contains notify message for audio manager server.

Enumerator:
ALP_SND_NOTIFY_VOLUME  Volume change event. While using volume pref panel or volume status gadget to change volume level, use this command type to notify audio manager.
ALP_SND_NOTIFY_CONDITION  Condition change event. While conditions in some rule paths were changed, use this command type to notify audio manager.
ALP_SND_NOTIFY_DEVPRESENT  Device present event. While audio device status was changed (present or not), use this command type to notify audio manager.
ALP_SND_NOTIFY_VOLUME_TEMP  Temp volume change event. While temporily change class volume of specified stream class during its lifecycle. use this command type to notify audio manager.


Generated on Wed Jul 30 07:06:41 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.