Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
e7b47ce3
Commit
e7b47ce3
authored
Oct 26, 2017
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output/alsa: in_frame_size is a debug-only variable
parent
ab05b704
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
AlsaOutputPlugin.cxx
src/output/plugins/AlsaOutputPlugin.cxx
+4
-0
No files found.
src/output/plugins/AlsaOutputPlugin.cxx
View file @
e7b47ce3
...
...
@@ -90,10 +90,12 @@ class AlsaOutput final
/** the libasound PCM device handle */
snd_pcm_t
*
pcm
;
#ifndef NDEBUG
/**
* The size of one audio frame passed to method play().
*/
size_t
in_frame_size
;
#endif
/**
* The size of one audio frame passed to libasound.
...
...
@@ -1044,7 +1046,9 @@ AlsaOutput::Open(AudioFormat &audio_format)
audio_format
.
channels
,
params
);
#ifndef NDEBUG
in_frame_size
=
audio_format
.
GetFrameSize
();
#endif
out_frame_size
=
pcm_export
->
GetFrameSize
(
audio_format
);
drain
=
false
;
...
...
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