FreeBSD Bugzilla – Attachment 14516 Details for
Bug 27270
sys/soundcard.h fails to define AFMT_S16_NE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 679 bytes, created by
Christian Weisgerber
on 2001-05-11 16:40:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Christian Weisgerber
Created:
2001-05-11 16:40:02 UTC
Size:
679 bytes
patch
obsolete
>Index: sys/soundcard.h >=================================================================== >RCS file: /home/ncvs/src/sys/sys/soundcard.h,v >retrieving revision 1.35 >diff -u -r1.35 soundcard.h >--- sys/soundcard.h 2000/09/01 17:38:32 1.35 >+++ sys/soundcard.h 2001/05/11 14:52:25 >@@ -160,6 +160,13 @@ > # define AFMT_U32_LE 0x00004000 /* Little endian unsigned 32 */ > # define AFMT_U32_BE 0x00008000 /* big endian unsigned 32 */ > >+#include <machine/endian.h> >+#if BYTE_ORDER == LITTLE_ENDIAN >+# define AFMT_S16_NE AFMT_S16_LE /* native endian signed 16 */ >+#else >+# define AFMT_S16_NE AFMT_S16_BE >+#endif >+ > # define AFMT_STEREO 0x10000000 /* can do/want stereo */ > > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 27270
: 14516