FreeBSD Bugzilla – Attachment 173412 Details for
Bug 157050
OSS implementation lacks AFMT_FLOAT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Basic AFMT_FLOAT support
pcm_float.diff (text/plain), 919 bytes, created by
Hans Petter Selasky
on 2016-08-08 16:39:55 UTC
(
hide
)
Description:
Basic AFMT_FLOAT support
Filename:
MIME Type:
Creator:
Hans Petter Selasky
Created:
2016-08-08 16:39:55 UTC
Size:
919 bytes
patch
obsolete
>Index: dev/sound/pcm/channel.c >=================================================================== >--- dev/sound/pcm/channel.c (revision 303833) >+++ dev/sound/pcm/channel.c (working copy) >@@ -1017,6 +1017,7 @@ > { "u32le", NULL, NULL, AFMT_U32_LE }, > { "u32be", NULL, NULL, AFMT_U32_BE }, > { "ac3", NULL, NULL, AFMT_AC3 }, >+ { "float", NULL, NULL, AFMT_FLOAT }, > { NULL, NULL, NULL, 0 } > }; > >Index: sys/soundcard.h >=================================================================== >--- sys/soundcard.h (revision 303833) >+++ sys/soundcard.h (working copy) >@@ -170,6 +170,7 @@ > #define AFMT_U16_BE 0x00000100 /* Big endian unsigned 16-bit */ > #define AFMT_MPEG 0x00000200 /* MPEG MP2/MP3 audio */ > #define AFMT_AC3 0x00000400 /* Dolby Digital AC3 */ >+#define AFMT_FLOAT 0x00000800 /* 32-bit floating point */ > > /* > * 32-bit formats below used for 24-bit audio data where the data is stored
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 157050
: 173412