Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
KMix
Commits
82325cc7
Commit
82325cc7
authored
Oct 05, 2020
by
Adriaan de Groot
💬
Browse files
Use the define for table size, in sizing the tables
parent
7c139a19
Changes
1
Hide whitespace changes
Inline
Side-by-side
backends/mixer_oss.cpp
View file @
82325cc7
...
...
@@ -54,7 +54,7 @@
#define MAX_MIXDEVS 32
// clang-format off
const
char
*
MixerDevNames
[
32
]
=
{
const
char
*
MixerDevNames
[
MAX_MIXDEVS
]
=
{
I18N_NOOP
(
"Volume"
),
I18N_NOOP
(
"Bass"
),
I18N_NOOP
(
"Treble"
),
I18N_NOOP
(
"Synth"
),
I18N_NOOP
(
"Pcm"
),
I18N_NOOP
(
"Speaker"
),
I18N_NOOP
(
"Line"
),
I18N_NOOP
(
"Microphone"
),
I18N_NOOP
(
"CD"
),
...
...
@@ -67,7 +67,7 @@ const char* MixerDevNames[32]={
I18N_NOOP
(
"unknown"
),
I18N_NOOP
(
"unknown"
),
I18N_NOOP
(
"unknown"
),
I18N_NOOP
(
"unknown"
)
,
I18N_NOOP
(
"unused"
)
};
const
MixDevice
::
ChannelType
MixerChannelTypes
[
32
]
=
{
const
MixDevice
::
ChannelType
MixerChannelTypes
[
MAX_MIXDEVS
]
=
{
MixDevice
::
VOLUME
,
MixDevice
::
BASS
,
MixDevice
::
TREBLE
,
MixDevice
::
MIDI
,
MixDevice
::
AUDIO
,
MixDevice
::
SPEAKER
,
MixDevice
::
EXTERNAL
,
MixDevice
::
MICROPHONE
,
MixDevice
::
CD
,
...
...
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