Functions | |
| alp_status_t | alp_snd_callback_register (void *handle, void *data, AlpSndCallBack cb) |
| Register a callback function to process message from audio manager. | |
| alp_status_t | alp_snd_close (void *handle) |
| Close ALP sound handle object. | |
| alp_status_t | alp_snd_dev_get_present (char *name, uint8_t *status) |
| This funtion is used to check whether a sound device is present or not. | |
| alp_status_t | alp_snd_get_current_routepath (char *streamtype, char **routepath) |
| Get the current route path(device name) of the specified stream type. | |
| alp_status_t | alp_snd_get_silent_mode (bool *silent_mode) |
| Get mute status . | |
| alp_status_t | alp_snd_get_stream_status (char *stream_type, int *num_app, stream_status_t **arrary) |
| Get status of streams of type "stream_type". | |
| alp_status_t | alp_snd_get_stream_type_status (char *streamtype, bool *status) |
| Get active stream type status. | |
| alp_status_t | alp_snd_get_stream_volume (char *stream_type, int *volume) |
| Get stream type volume. | |
| alp_status_t | alp_snd_ioctl (void *handle, AlpSndCmd cmd, void *data) |
| I/O control function for both middleware components and application. | |
| alp_status_t | alp_snd_notify (AlpSndNotifyStru *notify, AlpSndNotifyType type, int num) |
| This function is used to send notification message to audio manager. | |
| alp_status_t | alp_snd_open (void **handle, char *srcid, AlpSndAppMode mode) |
| Opens an audio handle object for playback or recording. | |
| alp_status_t | alp_snd_play_tone (unsigned short amplitude, unsigned short duration, unsigned short freq) |
| This function is used to play tone. | |
| alp_status_t | alp_snd_read (void *handle, void *pbuf, int buflen, int *preadlen) |
| Read audio PCM data(from audio manager) into a buffer which is malloced from an open audio handle. | |
| alp_status_t | alp_snd_syssnd_async_fini (int id) |
| This function is used to do finish work for asynchronous play. | |
| alp_status_t | alp_snd_syssnd_async_init (const char *sound, int *id) |
| This function is used to do initial work for async play. | |
| alp_status_t | alp_snd_syssnd_async_play (int id, char *streamtype, int volume) |
| This function is used to asynchronous play system sound(uncompressed wav file). | |
| alp_status_t | alp_snd_syssnd_async_play_file (char *filename, char *streamtype, int volume) |
| This function is used to asychnronous play PCM(.wav) file. | |
| alp_status_t | alp_snd_syssnd_play (const char *sound, char *streamtype, int volume) |
| This function is used to play system sound(uncompressed wav file) file. | |
| alp_status_t | alp_snd_syssnd_play_file (char *filename, char *streamtype, int volume) |
| This function is used to play PCM(.wav) file. | |
| alp_status_t | alp_snd_write (void *handle, void *pbuf, int buflen) |
| Write audio PCM data to audio manager from the specified audio object. | |
|
||||||||||||||||
|
Register a callback function to process message from audio manager.
|
|
|
Close ALP sound handle object.
|
|
||||||||||||
|
This funtion is used to check whether a sound device is present or not.
|
|
||||||||||||
|
Get the current route path(device name) of the specified stream type.
|
|
|
Get mute status .
|
|
||||||||||||||||
|
Get status of streams of type "stream_type".
|
|
||||||||||||
|
Get active stream type status.
|
|
||||||||||||
|
Get stream type volume.
|
|
||||||||||||||||
|
I/O control function for both middleware components and application.
|
|
||||||||||||||||
|
This function is used to send notification message to audio manager.
|
|
||||||||||||||||
|
Opens an audio handle object for playback or recording.
|
|
||||||||||||||||
|
This function is used to play tone.
|
|
||||||||||||||||||||
|
Read audio PCM data(from audio manager) into a buffer which is malloced from an open audio handle.
|
|
|
This function is used to do finish work for asynchronous play.
|
|
||||||||||||
|
This function is used to do initial work for async play.
|
|
||||||||||||||||
|
This function is used to asynchronous play system sound(uncompressed wav file).
|
|
||||||||||||||||
|
This function is used to asychnronous play PCM(.wav) file.
|
|
||||||||||||||||
|
This function is used to play system sound(uncompressed wav file) file.
|
|
||||||||||||||||
|
This function is used to play PCM(.wav) file.
|
|
||||||||||||||||
|
Write audio PCM data to audio manager from the specified audio object.
|
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.