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
f225ae94
Commit
f225ae94
authored
Nov 14, 2021
by
David Reid
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into dev-0.11
parents
77cd309e
c221402e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
miniaudio.h
miniaudio.h
+4
-2
No files found.
miniaudio.h
View file @
f225ae94
...
@@ -24319,10 +24319,11 @@ static ma_result ma_context_enumerate_devices__alsa(ma_context* pContext, ma_enu
...
@@ -24319,10 +24319,11 @@ static ma_result ma_context_enumerate_devices__alsa(ma_context* pContext, ma_enu
/*
/*
Some devices are both playback and capture, but they are only enumerated by ALSA once. We need to fire the callback
Some devices are both playback and capture, but they are only enumerated by ALSA once. We need to fire the callback
again for the other device type in this case. We do this for known devices.
again for the other device type in this case. We do this for known devices and where the IOID hint is NULL, which
means both Input and Output.
*/
*/
if (cbResult) {
if (cbResult) {
if (ma_is_common_device_name__alsa(NAME)) {
if (ma_is_common_device_name__alsa(NAME)
|| IOID == NULL
) {
if (deviceType == ma_device_type_playback) {
if (deviceType == ma_device_type_playback) {
if (!ma_is_capture_device_blacklisted__alsa(NAME)) {
if (!ma_is_capture_device_blacklisted__alsa(NAME)) {
cbResult = callback(pContext, ma_device_type_capture, &deviceInfo, pUserData);
cbResult = callback(pContext, ma_device_type_capture, &deviceInfo, pUserData);
...
@@ -87992,6 +87993,7 @@ REVISION HISTORY
...
@@ -87992,6 +87993,7 @@ REVISION HISTORY
================
================
v0.10.43 - TBD
v0.10.43 - TBD
- ALSA: Fix use of uninitialized variables
- ALSA: Fix use of uninitialized variables
- ALSA: Fix enumeration of devices that support both playback and capture.
v0.10.42 - 2021-08-22
v0.10.42 - 2021-08-22
- Fix a possible deadlock when stopping devices.
- Fix a possible deadlock when stopping devices.
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