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
cfaf85e3
Commit
cfaf85e3
authored
Nov 03, 2008
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder: converted DECODE_ERROR_* to enum
parent
ec6d2678
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
decoder_control.h
src/decoder_control.h
+6
-4
No files found.
src/decoder_control.h
View file @
cfaf85e3
...
@@ -34,16 +34,18 @@ enum decoder_state {
...
@@ -34,16 +34,18 @@ enum decoder_state {
DECODE_STATE_DECODE
DECODE_STATE_DECODE
};
};
#define DECODE_ERROR_NOERROR 0
enum
decoder_error
{
#define DECODE_ERROR_UNKTYPE 10
DECODE_ERROR_NOERROR
=
0
,
#define DECODE_ERROR_FILE 20
DECODE_ERROR_UNKTYPE
,
DECODE_ERROR_FILE
,
};
struct
decoder_control
{
struct
decoder_control
{
struct
notify
notify
;
struct
notify
notify
;
volatile
enum
decoder_state
state
;
volatile
enum
decoder_state
state
;
volatile
enum
decoder_command
command
;
volatile
enum
decoder_command
command
;
volatile
uint16_t
error
;
volatile
enum
decoder_error
error
;
bool
seek_error
;
bool
seek_error
;
bool
seekable
;
bool
seekable
;
volatile
double
seek_where
;
volatile
double
seek_where
;
...
...
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