Tizen Native API  4.0
OpenAL Tizen

OpenAL is open source for audio play. Various user applications or audio related modules can invoke OpenAL api in Tizen.

Required Header

#include <AL/alc.h>

Overview

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.

Remarks :

Functions

ALC_API ALCdevice *ALC_APIENTRY alcOpenDeviceNew (const ALCchar *devicename, sound_stream_info_h stream_info)
 Open the named device with the stream information.

Function Documentation

ALC_API ALCdevice* ALC_APIENTRY alcOpenDeviceNew ( const ALCchar *  devicename,
sound_stream_info_h  stream_info 
)

Open the named device with the stream information.

Since :
3.0
Parameters:
[in]devicenameThe device name to open
[in]stream_infoThe stream information handle (can be created by sound_manager module)
Returns:
This returns ALCdevice structure pointer on success, NULL on error