Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
miniaudio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
miniaudio
Commits
5dc78518
Commit
5dc78518
authored
Feb 12, 2018
by
David Reid
Committed by
GitHub
Feb 12, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12 from a3f/patch-1
Support {Net,Open}BSD OSS
parents
7f6218e8
a8cd5b2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
mini_al.h
mini_al.h
+5
-1
No files found.
mini_al.h
View file @
5dc78518
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
//
//
// Building (BSD)
// Building (BSD)
// --------------
// --------------
//
The BSD build uses OSS and should Just Work without any linking nor include path configuration
.
//
BSD build uses OSS. Requires linking to -lossaudio on {Open,Net}BSD, but not FreeBSD
.
//
//
// Building (Emscripten)
// Building (Emscripten)
// ---------------------
// ---------------------
...
@@ -6712,6 +6712,10 @@ static mal_result mal_device__main_loop__alsa(mal_device* pDevice)
...
@@ -6712,6 +6712,10 @@ static mal_result mal_device__main_loop__alsa(mal_device* pDevice)
#include <fcntl.h>
#include <fcntl.h>
#include <sys/soundcard.h>
#include <sys/soundcard.h>
#ifndef SNDCTL_DSP_HALT
#define SNDCTL_DSP_HALT SNDCTL_DSP_RESET
#endif
int
mal_open_temp_device__oss
()
int
mal_open_temp_device__oss
()
{
{
// The OSS sample code uses "/dev/mixer" as the device for getting system properties so I'm going to do the same.
// The OSS sample code uses "/dev/mixer" as the device for getting system properties so I'm going to do the same.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment