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
64e35acf
Commit
64e35acf
authored
Apr 25, 2018
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix for DirectSound.
parent
82911b25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mini_al.h
mini_al.h
+4
-4
No files found.
mini_al.h
View file @
64e35acf
...
@@ -6401,7 +6401,7 @@ mal_result mal_context_get_device_info__dsound(mal_context* pContext, mal_device
...
@@ -6401,7 +6401,7 @@ mal_result mal_context_get_device_info__dsound(mal_context* pContext, mal_device
}
}
if
(
!
data
.
found
)
{
if
(
!
data
.
found
)
{
return
MAL_
SUCCESS
;
return
MAL_
NO_DEVICE
;
}
}
}
else
{
}
else
{
// I don't think there's a way to get the name of the default device with DirectSound. In this case we just need to use defaults.
// I don't think there's a way to get the name of the default device with DirectSound. In this case we just need to use defaults.
...
@@ -8692,11 +8692,11 @@ mal_result mal_context_get_device_info__alsa(mal_context* pContext, mal_device_t
...
@@ -8692,11 +8692,11 @@ mal_result mal_context_get_device_info__alsa(mal_context* pContext, mal_device_t
return
result
;
return
result
;
}
}
if
(
data
.
foundDevice
)
{
if
(
!
data
.
foundDevice
)
{
return
MAL_SUCCESS
;
}
else
{
return
MAL_NO_DEVICE
;
return
MAL_NO_DEVICE
;
}
}
return
MAL_SUCCESS
;
}
}
mal_result
mal_context_init__alsa
(
mal_context
*
pContext
)
mal_result
mal_context_init__alsa
(
mal_context
*
pContext
)
...
...
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