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
26e943c0
Commit
26e943c0
authored
Nov 20, 2004
by
Warren Dukes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix oss_openDevice() to match the new openDevice callback protocol (w/o a audioFormat argument)
git-svn-id:
https://svn.musicpd.org/mpd/trunk@2715
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
cd6af094
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
audioOutput_oss.c
src/audioOutputs/audioOutput_oss.c
+2
-1
inputStream_http.c
src/inputStream_http.c
+2
-1
No files found.
src/audioOutputs/audioOutput_oss.c
View file @
26e943c0
...
...
@@ -106,9 +106,10 @@ static void oss_finishDriver(AudioOutput * audioOutput) {
freeOssData
(
od
);
}
static
int
oss_openDevice
(
AudioOutput
*
audioOutput
,
AudioFormat
*
audioFormat
)
static
int
oss_openDevice
(
AudioOutput
*
audioOutput
)
{
OssData
*
od
=
audioOutput
->
data
;
AudioFormat
*
audioFormat
=
&
audioOutput
->
outAudioFormat
;
#ifdef WORDS_BIGENDIAN
int
i
=
AFMT_S16_BE
;
#else
...
...
src/inputStream_http.c
View file @
26e943c0
...
...
@@ -604,9 +604,10 @@ static int getHTTPHello(InputStream * inStream) {
return
0
;
}
}
case
404
:
case
400
:
case
401
:
case
403
:
case
404
:
default:
close
(
data
->
sock
);
data
->
connState
=
HTTP_CONN_STATE_CLOSED
;
...
...
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