Results 1 to 5 of 5

Thread: Why we use OpenAL in PHP?

  1. #1
    Join Date
    Aug 2006
    Posts
    181

    Why we use OpenAL in PHP?

    Hello friends,
    I have done coding in PHP programming language to better extent. But when I was going through the tutorials of PHP, I found the term OpenAL which I never heard before. So I am asking my query here, as you guys do lot of help. Please explain me what is the OpenAL and why we use OpenAL in PHP.?? Thanks in Advance.!!
    QTechnology Ultra-Quiet ATX PSU 460W I MSI K8N Neo4-F I AMD Opteron 144 CABNE0545 2.66Ghz I 2 x 512MB RAM I 380GB Maxtor SATAI Raid0 Hard Drive I 40GB Maxtor IDE Hard Drive I Nvidia GeForce 7900GTX I Win XP Home Service Pack 2 I Soundblaster Xtreme Fidelity Fatal1ty I Mercury Home Theater HT-4500

  2. #2
    Join Date
    Aug 2006
    Posts
    227

    Re: Why we use OpenAL in PHP?

    I think first you should understand the concepts about the OpenAL. OpenAL is a cross-platform 3D audio API appropriate for use with gaming applications and many other types of audio applications. The library models a collection of audio sources moving in a 3D space that are heard by a single listener somewhere in that space. The basic OpenAL objects are a Listener, a Source, and a buffer. There can be a large number of Buffers, which contain audio data. Each buffer can be attached to one or more Sources, which represent points in 3D space Which are emitting audio. There is always one Listener object which represents the position where the sources are heard - rendering is done from the perspective of the Listener.
    I do to dead flowers what people at morgues do to dead people. Suck all the moisture out, dip them in plastic, paint them up pretty and put them in a nice frame.

  3. #3
    Join Date
    Jul 2006
    Posts
    286

    Re: Why we use OpenAL in PHP?

    The functions of OpenAL are available in the standard PHP module, which is always available. his extension PECL is not bundled with PHP. While talking about the resource types, this extension defines four resource types which are mentioned as follows :
    • Open AL (Device) - Returned by openal_device_open ()
    • Open AL (Context) - Returned by openal_context_create ()
    • Open AL (Buffer) - Returned by openal_buffer_create ()
    • Open AL (Source) - Returned by openal_source_create ().
    IF you hate me, please don't mention it. I know who hates me and who doesn't. You really do not have to make fun of people....

  4. #4
    Join Date
    Mar 2008
    Posts
    349

    Re: Predefined Constants used in OpenAL in PHP?

    I am giving you the predefined constants that are used by the OpenAL in PHP, the following are the predefined constants :
    • ALC_FREQUENCY (integer)
    • ALC_REFRESH (integer)
    • ALC_SYNC (integer)
    • AL_FREQUENCY (integer)
    • AL_BITS (integer)
    • AL_CHANNELS (integer)
    • AL_SIZE (integer)
    • AL_BUFFER (integer)

  5. #5
    Join Date
    Jul 2006
    Posts
    442

    Re: Why we use OpenAL in PHP?

    The following are the OpenAL Functions, that are commonly used :
    • openal_buffer_create - Generate OpenAL buffer
    • openal_buffer_data - Load a buffer with data
    • openal_buffer_destroy - Destroys an OpenAL buffer
    • openal_buffer_get - Retrieve an OpenAL buffer property
    • openal_buffer_loadwav - Load a. wav file into a buffer
    • openal_context_create - Create an audio processing context
    • openal_context_current - Make the specified context current
    • openal_context_destroy - Destroys a context
    • openal_context_process - Process the specified context
    • openal_context_suspend - Suspend the specified context
    "When they give you ruled paper, write the other way..." J.R.J.

Similar Threads

  1. Replies: 4
    Last Post: 19-04-2011, 11:55 PM
  2. From where I can download OpenAL Redist 2.0.4.0
    By Cajetan in forum Windows Software
    Replies: 4
    Last Post: 18-04-2011, 01:25 PM
  3. Where to download OpenAL 2.1.0.0 drivers
    By Eric Banadinovich in forum Windows Software
    Replies: 3
    Last Post: 16-04-2011, 11:20 AM
  4. Replies: 6
    Last Post: 16-04-2011, 02:50 AM
  5. UT3 + OpenAL HW acceleration crash
    By Pequot in forum Video Games
    Replies: 5
    Last Post: 15-04-2010, 02:55 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,034,082.23412 seconds with 17 queries