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
d3f72d10
Commit
d3f72d10
authored
Apr 12, 2008
by
Max Kellermann
Committed by
Eric Wong
Apr 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some documentation about OutputBuffer
git-svn-id:
https://svn.musicpd.org/mpd/trunk@7245
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
efa46423
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
outputBuffer.h
src/outputBuffer.h
+9
-0
No files found.
src/outputBuffer.h
View file @
d3f72d10
...
@@ -29,13 +29,22 @@
...
@@ -29,13 +29,22 @@
#define OUTPUT_BUFFER_DC_STOP -1
#define OUTPUT_BUFFER_DC_STOP -1
#define OUTPUT_BUFFER_DC_SEEK -2
#define OUTPUT_BUFFER_DC_SEEK -2
/**
* A ring set of buffers where the decoder appends data after the end,
* and the player consumes data from the beginning.
*/
typedef
struct
_OutputBuffer
{
typedef
struct
_OutputBuffer
{
char
*
volatile
chunks
;
char
*
volatile
chunks
;
mpd_uint16
*
volatile
chunkSize
;
mpd_uint16
*
volatile
chunkSize
;
mpd_uint16
*
volatile
bitRate
;
mpd_uint16
*
volatile
bitRate
;
float
*
volatile
times
;
float
*
volatile
times
;
/** the index of the first decoded chunk */
mpd_uint16
volatile
begin
;
mpd_uint16
volatile
begin
;
/** the index after the last decoded chunk */
mpd_uint16
volatile
end
;
mpd_uint16
volatile
end
;
AudioFormat
audioFormat
;
AudioFormat
audioFormat
;
ConvState
convState
;
ConvState
convState
;
}
OutputBuffer
;
}
OutputBuffer
;
...
...
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