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
52584ba5
Commit
52584ba5
authored
Mar 25, 2018
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Const-correctness improvements.
parent
13b95af6
Changes
1
Show 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 @
52584ba5
...
...
@@ -1798,7 +1798,7 @@ mal_uint64 mal_format_converter_read_frames_separated(mal_format_converter* pCon
///////////////////////////////////////////////////////////////////////////////
// Initializes a sample rate conversion object.
mal_result mal_src_init(mal_src_config* pConfig, mal_src_read_proc onRead, void* pUserData, mal_src* pSRC);
mal_result
mal_src_init
(
const
mal_src_config
*
pConfig
,
mal_src_read_proc
onRead
,
void
*
pUserData
,
mal_src
*
pSRC
);
// Dynamically adjusts the input sample rate.
mal_result
mal_src_set_input_sample_rate
(
mal_src
*
pSRC
,
mal_uint32
sampleRateIn
);
...
...
@@ -1831,7 +1831,7 @@ mal_uint64 mal_src_read_frames_ex(mal_src* pSRC, mal_uint64 frameCount, void* pF
///////////////////////////////////////////////////////////////////////////////
// Initializes a DSP object.
mal_result mal_dsp_init(mal_dsp_config* pConfig, mal_dsp_read_proc onRead, void* pUserData, mal_dsp* pDSP);
mal_result
mal_dsp_init
(
const
mal_dsp_config
*
pConfig
,
mal_dsp_read_proc
onRead
,
void
*
pUserData
,
mal_dsp
*
pDSP
);
// Dynamically adjusts the input sample rate.
mal_result
mal_dsp_set_input_sample_rate
(
mal_dsp
*
pDSP
,
mal_uint32
sampleRateOut
);
...
...
@@ -17043,7 +17043,7 @@ mal_uint32 mal_src_cache_read_frames(mal_src_cache* pCache, mal_uint32 frameCoun
mal_uint64
mal_src_read_frames_passthrough
(
mal_src
*
pSRC
,
mal_uint64
frameCount
,
void
*
pFramesOut
,
mal_bool32
flush
);
mal_uint64
mal_src_read_frames_linear
(
mal_src
*
pSRC
,
mal_uint64
frameCount
,
void
*
pFramesOut
,
mal_bool32
flush
);
mal_result mal_src_init(mal_src_config* pConfig, mal_src_read_proc onRead, void* pUserData, mal_src* pSRC)
mal_result
mal_src_init
(
const
mal_src_config
*
pConfig
,
mal_src_read_proc
onRead
,
void
*
pUserData
,
mal_src
*
pSRC
)
{
if
(
pSRC
==
NULL
)
{
return
MAL_INVALID_ARGS
;
...
...
@@ -17823,7 +17823,7 @@ mal_uint32 mal_dsp__src_on_read(mal_src* pSRC, mal_uint32 frameCount, void* pFra
return
pDSP
->
onRead
(
pDSP
,
frameCount
,
pFramesOut
,
pDSP
->
pUserDataForOnRead
);
}
mal_result mal_dsp_init(mal_dsp_config* pConfig, mal_dsp_read_proc onRead, void* pUserData, mal_dsp* pDSP)
mal_result
mal_dsp_init
(
const
mal_dsp_config
*
pConfig
,
mal_dsp_read_proc
onRead
,
void
*
pUserData
,
mal_dsp
*
pDSP
)
{
if
(
pDSP
==
NULL
)
{
return
MAL_INVALID_ARGS
;
...
...
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