Skip to content

ashvetsov/MyOpenAL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

MyOpenAL requires two frameworks:

  • OpenAL (/System/Library/Frameworks/OpenAL.framework)
  • AudioToolbox (/System/Library/Frameworks/AudioToolbox.framework)

Usage

// Initializing OpenAL.
MyOpenAL* myOpenAL = myOpenAL = [[MyOpenAL alloc] init];

// Loading sound file castaned.wav and saving reference.
NSUInteger sound = [myOpenAL loadSoundFromFile:@"castaned" ext:@"wav" withLoop:false];

// Playing it with given sound level (volume).
[myOpenAL playSoundWithId:soundOne atVolume:0.75f];

About

My own OpenAL wrapper.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published