include/alp/mobile_audio.h File Reference


Detailed Description

Public header file for the mobile audio services.

#include <alp/mobile_services.h>

Go to the source code of this file.

Data Structures

struct  _AlpMblAudioDeviceList
struct  _AlpMblAudioVolumeRange

Defines

#define ALP_MBL_AUDIO_NOTIFICATION_CONNECTION_STATUS_CHANGE   ((AlpMblNotificationId) 1)
 The connecttion status of an audio device has changed.
#define ALP_MBL_AUDIO_NOTIFICATION_DEVICE_LIST_CHANGE   ((AlpMblNotificationId) 4)
 The list of devices has changed.
#define ALP_MBL_AUDIO_NOTIFICATION_MUTE_STATUS_CHANGE   ((AlpMblNotificationId) 3)
 The mute status of the device has changed.
#define ALP_MBL_AUDIO_NOTIFICATION_VOLUME_CHANGE   ((AlpMblNotificationId) 2)
 The volume level of the connected audio has changed.
#define AUDIO_DEVICE_BLUETOOTH   "Bluetooth"
 Bluetooth audio device type.
#define AUDIO_DEVICE_FILTER_ALL   0x00FF
 All audio device filter, connected or not connected device.
#define AUDIO_DEVICE_FILTER_ALL_CONNECTED   0x10FF
 All audio device filter, but only connected device.
#define AUDIO_DEVICE_FILTER_BLUETOOTH   0x0002
 Bluetooth audio device filter, connected or not connected device.
#define AUDIO_DEVICE_FILTER_BLUETOOTH_CONNECTED   0x1002
 Bluetooth audio device filter, but only connected device.
#define AUDIO_DEVICE_FILTER_INTERNAL   0x0001
 Filter for audio device search Internal audio device filter, connected or not connected device.
#define AUDIO_DEVICE_FILTER_INTERNAL_CONNETED   0x1001
 Internal audio device filter, but only connected device.
#define AUDIO_DEVICE_INTERNAL   "Internal"
 Type of audio device Internal audio device type.

Typedefs

typedef void(* AlpMblAudioConnectionStatusChangeCallbackPtr )(void *iUserDataP, AlpMblAudioDevice iAudioDevice, bool iConnectedF)
typedef char AlpMblAudioDevice [128]
typedef _AlpMblAudioDeviceList AlpMblAudioDeviceList
typedef void(* AlpMblAudioDeviceListChangeCallbackPtr )(void *iUserDataP, AlpMblAudioDeviceList iAudioDeviceList)
typedef unsigned short AlpMblAudioFilter
typedef void(* AlpMblAudioMuteStatusChangeCallbackPtr )(void *iUserDataP, bool iMuteStatus)
typedef unsigned short AlpMblAudioVolume
typedef void(* AlpMblAudioVolumeChangeCallbackPtr )(void *iUserDataP, AlpMblAudioVolume iVolume)
typedef _AlpMblAudioVolumeRange AlpMblAudioVolumeRange

Functions

alp_status_t alp_mbl_audio_get_connected_device (AlpMblAudioDevice *oAudioDeviceP)
alp_status_t alp_mbl_audio_get_devices (AlpMblAudioFilter iFilter, AlpMblAudioDeviceList *oAudioDeviceListP)
alp_status_t alp_mbl_audio_get_mute_status (bool *oMuteStatusP)
alp_status_t alp_mbl_audio_get_preferred_device (AlpMblAudioDevice *oAudioDeviceP)
alp_status_t alp_mbl_audio_get_volume (AlpMblAudioVolume *oVolumeP)
alp_status_t alp_mbl_audio_get_volume_range (AlpMblAudioVolumeRange *oVolumeRangeP)
alp_status_t alp_mbl_audio_set_connected_device (AlpMblAudioDevice iAudioDevice)
alp_status_t alp_mbl_audio_set_mute_status (bool iMuteStatus)
alp_status_t alp_mbl_audio_set_preferred_device (AlpMblAudioDevice iAudioDevice)
alp_status_t alp_mbl_audio_set_volume (AlpMblAudioVolume iVolume)


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

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