Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flow3r
flow3r firmware
Commits
f391066a
Commit
f391066a
authored
1 year ago
by
moon2
Browse files
Options
Downloads
Patches
Plain Diff
line in: bring back right channel
parent
3f7e0743
No related branches found
No related tags found
1 merge request
!409
line in: bring back right channel
Pipeline
#8370
passed
1 year ago
Stage: check
Stage: build
Stage: deploy
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
components/st3m/st3m_audio.c
+1
-1
1 addition, 1 deletion
components/st3m/st3m_audio.c
with
1 addition
and
1 deletion
components/st3m/st3m_audio.c
+
1
−
1
View file @
f391066a
...
@@ -334,7 +334,7 @@ static void _audio_player_task(void *data) {
...
@@ -334,7 +334,7 @@ static void _audio_player_task(void *data) {
}
}
}
else
{
}
else
{
for
(
int
i
=
0
;
i
<
(
FLOW3R_BSP_AUDIO_DMA_BUFFER_SIZE
*
2
);
for
(
int
i
=
0
;
i
<
(
FLOW3R_BSP_AUDIO_DMA_BUFFER_SIZE
*
2
);
i
+=
2
)
{
i
+=
1
)
{
int32_t
acc
=
buffer_tx
[
i
];
int32_t
acc
=
buffer_tx
[
i
];
acc
=
(
acc
*
software_volume
)
>>
15
;
acc
=
(
acc
*
software_volume
)
>>
15
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment