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
c4a9e379
Commit
c4a9e379
authored
May 04, 2004
by
Warren Dukes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flac uses abstracted inputStream stuff
git-svn-id:
https://svn.musicpd.org/mpd/trunk@905
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
659df586
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
+5
-0
flac_decode.c
src/flac_decode.c
+0
-0
inputStream.c
src/inputStream.c
+4
-0
inputStream.h
src/inputStream.h
+1
-0
No files found.
src/flac_decode.c
View file @
c4a9e379
This diff is collapsed.
Click to expand it.
src/inputStream.c
View file @
c4a9e379
...
@@ -71,3 +71,7 @@ int closeInputStream(InputStream * inStream) {
...
@@ -71,3 +71,7 @@ int closeInputStream(InputStream * inStream) {
return
0
;
return
0
;
}
}
int
inputStreamAtEOF
(
InputStream
*
inStream
)
{
return
feof
(
inStream
->
fp
);
}
src/inputStream.h
View file @
c4a9e379
...
@@ -34,6 +34,7 @@ typedef struct _InputStream {
...
@@ -34,6 +34,7 @@ typedef struct _InputStream {
int
openInputStreamFromFile
(
InputStream
*
inStream
,
char
*
filename
);
int
openInputStreamFromFile
(
InputStream
*
inStream
,
char
*
filename
);
int
seekInputStream
(
InputStream
*
inStream
,
long
offset
,
int
whence
);
int
seekInputStream
(
InputStream
*
inStream
,
long
offset
,
int
whence
);
int
closeInputStream
(
InputStream
*
inStream
);
int
closeInputStream
(
InputStream
*
inStream
);
int
inputStreamAtEOF
(
InputStream
*
inStream
);
size_t
readFromInputStream
(
InputStream
*
inStream
,
void
*
ptr
,
size_t
size
,
size_t
readFromInputStream
(
InputStream
*
inStream
,
void
*
ptr
,
size_t
size
,
size_t
nmemb
);
size_t
nmemb
);
...
...
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