Tizen Native API 5.5
OpenAL is open source for audio play. Various user applications or audio related modules can invoke OpenAL api in Tizen.
As Tizen Audio Framework works with stream information concept since 3.0, OpenAL needs to be integrated with stream information.
The function "alcOpenDeviceNew" is same as alcOpenDevice() with addition of "StreamType" and "StreamIndex" fields to Device structure.
- 2 additional variables are added to the structure "ALCdevice_struct" in the existing Header file "OpenAL32/Include/alMain.h"
- ALuint StreamIndex;
- 1 function needs to be added in "include/AL/alc.h".
|ALC_API ALCdevice *ALC_APIENTRY||alcOpenDeviceNew (const ALCchar *devicename, sound_stream_info_h stream_info)|
|Open the named device with the stream information. |
|ALC_API ALCdevice* ALC_APIENTRY alcOpenDeviceNew||(||const ALCchar *||devicename,|
Open the named device with the stream information.
- Since :
[in] devicename The device name to open [in] stream_info The stream information handle (can be created by sound_manager module)
- This returns ALCdevice structure pointer on success, NULL on error