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
6f11e646
Commit
6f11e646
authored
Oct 16, 2016
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up some old unused code.
parent
9d007e9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
mini_al.h
mini_al.h
+0
-7
No files found.
mini_al.h
View file @
6f11e646
...
...
@@ -1930,13 +1930,6 @@ static mal_result mal_device__stop_backend__alsa(mal_device* pDevice)
static
mal_result
mal_device__break_main_loop__alsa
(
mal_device
*
pDevice
)
{
mal_assert
(
pDevice
!=
NULL
);
// The main loop will be waiting on snd_pcm_writei()/snd_pcm_readi(). The only way I was able to
// figure out how to force these to return is to prepare the device. Not sure if this is the best
// way to do this...
//
// Update #1: This causes snd_pcm_readi() to return -EIO on it's first fragment, so no good.
//snd_pcm_prepare(pDevice->alsa.pPCM);
// Fallback. We just set a variable to tell the worker thread to terminate after handling the
// next fragment. This is a slow way of handling this.
...
...
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