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
e08c1303
Commit
e08c1303
authored
Feb 19, 2025
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a bug with the deviceio test.
parent
698a4319
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
tests/test_deviceio/ma_test_deviceio.c
tests/test_deviceio/ma_test_deviceio.c
+5
-1
No files found.
tests/test_deviceio/ma_test_deviceio.c
View file @
e08c1303
...
@@ -594,7 +594,7 @@ int main(int argc, char** argv)
...
@@ -594,7 +594,7 @@ int main(int argc, char** argv)
}
}
/* Now we just keep looping and wait for user input. */
/* Now we just keep looping and wait for user input. */
while
(
!
g_State
.
wantsToClose
)
{
for
(;;
)
{
if
(
interactive
)
{
if
(
interactive
)
{
int
c
;
int
c
;
...
@@ -630,6 +630,10 @@ int main(int argc, char** argv)
...
@@ -630,6 +630,10 @@ int main(int argc, char** argv)
}
}
}
else
{
}
else
{
/* Running in auto-close mode. Just sleep for a bit. The data callback will control when this loop aborts. */
/* Running in auto-close mode. Just sleep for a bit. The data callback will control when this loop aborts. */
if
(
g_State
.
wantsToClose
)
{
break
;
}
ma_sleep
(
10
);
ma_sleep
(
10
);
}
}
}
}
...
...
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