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
ab2f1281
Commit
ab2f1281
authored
Sep 11, 2017
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes to documentation.
parent
72c95238
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
mini_al.h
mini_al.h
+7
-7
No files found.
mini_al.h
View file @
ab2f1281
...
@@ -751,15 +751,14 @@ struct mal_device
...
@@ -751,15 +751,14 @@ struct mal_device
mal_uint32
_dspFrameCount
;
// Internal use only. Used when running the device -> DSP -> client pipeline. See mal_device__on_read_from_device().
mal_uint32
_dspFrameCount
;
// Internal use only. Used when running the device -> DSP -> client pipeline. See mal_device__on_read_from_device().
const
mal_uint8
*
_dspFrames
;
// ^^^ AS ABOVE ^^^
const
mal_uint8
*
_dspFrames
;
// ^^^ AS ABOVE ^^^
union
union
{
{
#ifdef MAL_SUPPORT_WASAPI
#ifdef MAL_SUPPORT_WASAPI
struct
struct
{
{
/*IAudioClient*/
mal_ptr
pAudioClient
;
/*IAudioClient*
*
/
mal_ptr
pAudioClient
;
/*IAudioRenderClient
*/
mal_ptr
pRenderClient
;
/*IAudioRenderClient
*
*/
mal_ptr
pRenderClient
;
/*IAudioCaptureClient
*/
mal_ptr
pCaptureClient
;
/*IAudioCaptureClient
*
*/
mal_ptr
pCaptureClient
;
/*HANDLE*/
mal_handle
hStopEvent
;
/*HANDLE*/
mal_handle
hStopEvent
;
mal_bool32
breakFromMainLoop
;
mal_bool32
breakFromMainLoop
;
}
wasapi
;
}
wasapi
;
...
@@ -798,8 +797,8 @@ struct mal_device
...
@@ -798,8 +797,8 @@ struct mal_device
struct
struct
{
{
/*snd_pcm_t**/
mal_ptr
pPCM
;
/*snd_pcm_t**/
mal_ptr
pPCM
;
mal_bool32
isUsingMMap
;
mal_bool32
isUsingMMap
:
1
;
mal_bool32
breakFromMainLoop
;
mal_bool32
breakFromMainLoop
:
1
;
void
*
pIntermediaryBuffer
;
void
*
pIntermediaryBuffer
;
}
alsa
;
}
alsa
;
#endif
#endif
...
@@ -896,7 +895,7 @@ mal_result mal_context_init(mal_backend backends[], mal_uint32 backendCount, mal
...
@@ -896,7 +895,7 @@ mal_result mal_context_init(mal_backend backends[], mal_uint32 backendCount, mal
// Uninitializes a context.
// Uninitializes a context.
//
//
// Results are undefined if you call this while a
related
is still active.
// Results are undefined if you call this while a
ny device created by this context
is still active.
//
//
// Return Value:
// Return Value:
// - MAL_SUCCESS if successful.
// - MAL_SUCCESS if successful.
...
@@ -1140,6 +1139,7 @@ mal_uint32 mal_get_sample_size_in_bytes(mal_format format);
...
@@ -1140,6 +1139,7 @@ mal_uint32 mal_get_sample_size_in_bytes(mal_format format);
// The default channel mapping is based on the channel count, as per the table below. Note that these
// The default channel mapping is based on the channel count, as per the table below. Note that these
// can be freely changed after this function returns if you are needing something in particular.
// can be freely changed after this function returns if you are needing something in particular.
//
//
// |---------------|------------------------------|
// | Channel Count | Mapping |
// | Channel Count | Mapping |
// |---------------|------------------------------|
// |---------------|------------------------------|
// | 1 (Mono) | 0: MAL_CHANNEL_FRONT_CENTER |
// | 1 (Mono) | 0: MAL_CHANNEL_FRONT_CENTER |
...
...
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