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
631b6356
Commit
631b6356
authored
May 22, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/wavpack: rename struct wavpack_input to WavpackInput
parent
49695d47
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
WavpackDecoderPlugin.cxx
src/decoder/plugins/WavpackDecoderPlugin.cxx
+8
-8
No files found.
src/decoder/plugins/WavpackDecoderPlugin.cxx
View file @
631b6356
...
...
@@ -325,7 +325,7 @@ wavpack_scan_file(Path path_fs,
*/
/* This struct is needed for per-stream last_byte storage. */
struct
wavpack_i
nput
{
struct
WavpackI
nput
{
Decoder
*
decoder
;
InputStream
*
is
;
/* Needed for push_back_byte() */
...
...
@@ -333,13 +333,13 @@ struct wavpack_input {
};
/**
* Little wrapper for struct
wavpack_i
nput to cast from void *.
* Little wrapper for struct
WavpackI
nput to cast from void *.
*/
static
struct
wavpack_i
nput
*
static
WavpackI
nput
*
wpin
(
void
*
id
)
{
assert
(
id
);
return
(
struct
wavpack_i
nput
*
)
id
;
return
(
WavpackI
nput
*
)
id
;
}
static
int32_t
...
...
@@ -430,7 +430,7 @@ static WavpackStreamReader mpd_is_reader = {
};
static
void
wavpack_input_init
(
struct
wavpack_i
nput
*
isp
,
Decoder
&
decoder
,
wavpack_input_init
(
WavpackI
nput
*
isp
,
Decoder
&
decoder
,
InputStream
&
is
)
{
isp
->
decoder
=
&
decoder
;
...
...
@@ -441,7 +441,7 @@ wavpack_input_init(struct wavpack_input *isp, Decoder &decoder,
static
InputStream
*
wavpack_open_wvc
(
Decoder
&
decoder
,
const
char
*
uri
,
Mutex
&
mutex
,
Cond
&
cond
,
struct
wavpack_i
nput
*
wpi
)
WavpackI
nput
*
wpi
)
{
/*
* As we use dc->utf8url, this function will be bad for
...
...
@@ -486,7 +486,7 @@ wavpack_streamdecode(Decoder &decoder, InputStream &is)
int
open_flags
=
OPEN_NORMALIZE
;
bool
can_seek
=
is
.
IsSeekable
();
wavpack_i
nput
isp_wvc
;
WavpackI
nput
isp_wvc
;
InputStream
*
is_wvc
=
wavpack_open_wvc
(
decoder
,
is
.
GetURI
(),
is
.
mutex
,
is
.
cond
,
&
isp_wvc
);
...
...
@@ -499,7 +499,7 @@ wavpack_streamdecode(Decoder &decoder, InputStream &is)
open_flags
|=
OPEN_STREAMING
;
}
wavpack_i
nput
isp
;
WavpackI
nput
isp
;
wavpack_input_init
(
&
isp
,
decoder
,
is
);
char
error
[
ERRORLEN
];
...
...
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