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
5fa1c703
Commit
5fa1c703
authored
May 13, 2010
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output/oss: use the *_NE macros
Removed the macro AFMT_S16_MPD.
parent
bead892e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
oss_plugin.c
src/output/oss_plugin.c
+2
-8
No files found.
src/output/oss_plugin.c
View file @
5fa1c703
...
...
@@ -40,12 +40,6 @@
# include <sys/soundcard.h>
#endif
/* !(defined(__OpenBSD__) || defined(__NetBSD__) */
#if G_BYTE_ORDER == G_BIG_ENDIAN
# define AFMT_S16_MPD AFMT_S16_BE
#else
# define AFMT_S16_MPD AFMT_S16_LE
#endif
struct
oss_data
{
int
fd
;
const
char
*
device
;
...
...
@@ -496,13 +490,13 @@ oss_setup(struct oss_data *od, GError **error)
break
;
case
SAMPLE_FORMAT_S16
:
tmp
=
AFMT_S16_
MPD
;
tmp
=
AFMT_S16_
NE
;
break
;
default:
/* not supported by OSS - fall back to 16 bit */
od
->
audio_format
.
format
=
SAMPLE_FORMAT_S16
;
tmp
=
AFMT_S16_
MPD
;
tmp
=
AFMT_S16_
NE
;
break
;
}
...
...
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