/home/bifh1/fremantle-i386-fremantle-pe1.cs2007q3/work/libplayback-0.5/libplayback/playback-types.h File Reference

#include <libplayback/playback-macros.h>

Go to the source code of this file.

Defines

#define PB_FLAG_AUDIO   0x1
#define PB_FLAG_VIDEO   0x2
#define PB_FLAG_AUDIO_RECORDING   0x4
#define PB_FLAG_VIDEO_RECORDING   0x8

Enumerations

enum  pb_state_e { PB_STATE_NONE, PB_STATE_STOP, PB_STATE_PLAY, PB_STATE_LAST }
enum  pb_class_e {
  PB_CLASS_NONE, PB_CLASS_TEST, PB_CLASS_EVENT, PB_CLASS_VOIP,
  PB_CLASS_CALL = PB_CLASS_VOIP, PB_CLASS_MEDIA, PB_CLASS_BACKGROUND, PB_CLASS_RINGTONE,
  PB_CLASS_VOICEUI, PB_CLASS_CAMERA, PB_CLASS_GAME, PB_CLASS_ALARM,
  PB_CLASS_FLASH, PB_CLASS_SYSTEM, PB_CLASS_INPUT, PB_CLASS_LAST
}
enum  pb_bt_override_status_e { BT_OVERRIDE_DISCONNECTED = -1, BT_OVERRIDE_OFF = 0, BT_OVERRIDE_ON = 1 }

Functions

enum pb_state_e pb_string_to_state (const char *state)
const char * pb_state_to_string (enum pb_state_e pb_state)
enum pb_class_e pb_string_to_class (const char *aclass)
const char * pb_class_to_string (enum pb_class_e pb_class)


Define Documentation

#define PB_FLAG_AUDIO   0x1

#define PB_FLAG_AUDIO_RECORDING   0x4

#define PB_FLAG_VIDEO   0x2

#define PB_FLAG_VIDEO_RECORDING   0x8


Enumeration Type Documentation

Enumerator:
BT_OVERRIDE_DISCONNECTED 
BT_OVERRIDE_OFF 
BT_OVERRIDE_ON 

enum pb_class_e

Enumerator:
PB_CLASS_NONE  declare an "unknown" (or undefined) PLAYBACK class
PB_CLASS_TEST  "test" class
PB_CLASS_EVENT  declare an "event" playback
PB_CLASS_VOIP  "VoIP" class
PB_CLASS_CALL 
PB_CLASS_MEDIA  "Media" class
PB_CLASS_BACKGROUND  "Background" class
PB_CLASS_RINGTONE  "Ringtone" class
PB_CLASS_VOICEUI  "Voice UI" class, for instance for text-to-speech
PB_CLASS_CAMERA  "Camera" class for active camera preview.

PB_CLASS_GAME  "Game" class for video games
PB_CLASS_ALARM  "Alarm" class for alarm clock
PB_CLASS_FLASH  "Flash" class for the Flash player
PB_CLASS_SYSTEM 
PB_CLASS_INPUT  > "Systemsound" class desktop, etc.

sounds

PB_CLASS_LAST  > "Inputsound" class for keypress, touchscreen

enum pb_state_e

Enumerator:
PB_STATE_NONE  define an unknown PLAYBACK state (must be avoided)

PLAYBACK state is "STOP" (assumptions on resource handles are strong while there is no resource management solution: RESOURCE SHOULD BE FREED)

PB_STATE_STOP  PLAYBACK state is "PLAY".
PB_STATE_PLAY 
PB_STATE_LAST 


Function Documentation

const char* pb_class_to_string ( enum pb_class_e  pb_class  ) 

const char* pb_state_to_string ( enum pb_state_e  pb_state  ) 

enum pb_class_e pb_string_to_class ( const char *  aclass  ) 

enum pb_state_e pb_string_to_state ( const char *  state  ) 


Generated on Tue Aug 3 15:09:04 2010 for libplayback-1 by  doxygen 1.5.6