Tizen Native API  7.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 :

  • 2 additional variables are added to the structure "ALCdevice_struct" in the existing Header file "OpenAL32/Include/alMain.h"
    Remarks:
    ALuint StreamIndex;
    ALchar *StreamType;
  • 1 function needs to be added in "include/AL/alc.h".
    Remarks:
    alcOpenDeviceNew

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