Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hongtae/swift-openal-soft
- Owner: Hongtae
- License: other
- Created: 2022-11-18T07:01:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-02T09:29:12.000Z (6 months ago)
- Last Synced: 2024-08-02T10:58:27.532Z (6 months ago)
- Topics: audio-library, ios-swift, linux-swift, macos-swift, openal, openal-soft, swift, windows-swift
- Language: C
- Homepage:
- Size: 146 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
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 PackageDescriptionlet package = Package(
name: "MyProject",
dependencies: [
.package(
url: "https://github.com/Hongtae/swift-openal-soft.git",
branch: "master"),
],
...
```in your swift file
```
import OpenALlet 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