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
11d23efc
Commit
11d23efc
authored
May 04, 2018
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweaks to the Raspberry Pi build.
parent
c10cdc0c
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 @
11d23efc
...
@@ -8517,8 +8517,8 @@ static struct
...
@@ -8517,8 +8517,8 @@ static struct
const char* name;
const char* name;
float scale;
float scale;
} g_malDefaultBufferSizeScalesALSA[] = {
} g_malDefaultBufferSizeScalesALSA[] = {
{"bcm2835 IEC958/HDMI",
20
},
{"bcm2835 IEC958/HDMI",
8.0f
},
{"bcm2835 ALSA",
20
}
{"bcm2835 ALSA",
8.0f
}
};
};
float mal_find_default_buffer_size_scale__alsa(const char* deviceName)
float mal_find_default_buffer_size_scale__alsa(const char* deviceName)
...
@@ -8548,7 +8548,7 @@ mal_format mal_convert_alsa_format_to_mal_format(mal_snd_pcm_format_t formatALSA
...
@@ -8548,7 +8548,7 @@ mal_format mal_convert_alsa_format_to_mal_format(mal_snd_pcm_format_t formatALSA
case MAL_SND_PCM_FORMAT_U8: return mal_format_u8;
case MAL_SND_PCM_FORMAT_U8: return mal_format_u8;
case MAL_SND_PCM_FORMAT_S16_LE: return mal_format_s16;
case MAL_SND_PCM_FORMAT_S16_LE: return mal_format_s16;
case MAL_SND_PCM_FORMAT_S24_3LE: return mal_format_s24;
case MAL_SND_PCM_FORMAT_S24_3LE: return mal_format_s24;
//
MAL_SND_PCM_FORMAT_S24_LE,
return mal_format_s24_32
//
case MAL_SND_PCM_FORMAT_S24_LE:
return mal_format_s24_32
case MAL_SND_PCM_FORMAT_S32_LE: return mal_format_s32;
case MAL_SND_PCM_FORMAT_S32_LE: return mal_format_s32;
case MAL_SND_PCM_FORMAT_FLOAT_LE: return mal_format_f32;
case MAL_SND_PCM_FORMAT_FLOAT_LE: return mal_format_f32;
default: return mal_format_unknown;
default: return mal_format_unknown;
...
@@ -20521,7 +20521,7 @@ float mal_calculate_cpu_speed_factor()
...
@@ -20521,7 +20521,7 @@ float mal_calculate_cpu_speed_factor()
float f = 1000;
float f = 1000;
// Experiment: Reduce the factor a little when debug mode is used to reduce a blowout.
// Experiment: Reduce the factor a little when debug mode is used to reduce a blowout.
#if
ndef NDEBUG
#if
!defined(NDEBUG) || defined(_DEBUG)
f /= 2;
f /= 2;
#endif
#endif
...
...
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