Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hongtae/swift-openal-soft

OpenAL Soft Swift Package
https://github.com/hongtae/swift-openal-soft

audio-library ios-swift linux-swift macos-swift openal openal-soft swift windows-swift

Last synced: 2 months ago
JSON representation

OpenAL Soft Swift Package

Awesome Lists containing this project

README

        

# swift-openal-soft
OpenAL Soft Swift Package

* Swift programming language
* https://swift.org
* OpenAL Soft
* https://github.com/kcat/openal-soft

## Usage
Add this repository URL as a dependency of your Package.swift.
```
import PackageDescription

let package = Package(
name: "MyProject",
dependencies: [
.package(
url: "https://github.com/Hongtae/swift-openal-soft.git",
branch: "master"),
],
...
```

in your swift file
```
import OpenAL

let device = alcOpenDevice(deviceName)
...
alcCloseDevice(device)
```

### Take a look at the files in the following repository.
https://github.com/Hongtae/SwiftVVD/tree/main/Sources/DKGame/Audio