diff options
author | Pierre Ossman <ossman@cendio.se> | 2006-01-09 11:54:49 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2006-01-09 11:54:49 +0000 |
commit | 8a323571a4fae25602133cc87656706ada9c0112 (patch) | |
tree | 530f60b715832c6dc7cad691cdeff5bb54b863ad /polyp/sample.h | |
parent | 067c00ff5d3df79829a3b582bb6ac3079c3738de (diff) |
Make sure the data gets endianness conversion.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@424 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/sample.h')
-rw-r--r-- | polyp/sample.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/polyp/sample.h b/polyp/sample.h index 0494c7de..82c14615 100644 --- a/polyp/sample.h +++ b/polyp/sample.h @@ -51,11 +51,19 @@ enum pa_sample_format { #define PA_SAMPLE_S16NE PA_SAMPLE_S16BE /** 32 Bit IEEE floating point, native endian */ #define PA_SAMPLE_FLOAT32NE PA_SAMPLE_FLOAT32BE +/** Signed 16 Bit PCM reverse endian */ +#define PA_SAMPLE_S16RE PA_SAMPLE_S16LE +/** 32 Bit IEEE floating point, reverse endian */ +#define PA_SAMPLE_FLOAT32RE PA_SAMPLE_FLOAT32LE #else /** Signed 16 Bit PCM, native endian */ #define PA_SAMPLE_S16NE PA_SAMPLE_S16LE /** 32 Bit IEEE floating point, native endian */ #define PA_SAMPLE_FLOAT32NE PA_SAMPLE_FLOAT32LE +/** Signed 16 Bit PCM reverse endian */ +#define PA_SAMPLE_S16RE PA_SAMPLE_S16BE +/** 32 Bit IEEE floating point, reverse endian */ +#define PA_SAMPLE_FLOAT32RE PA_SAMPLE_FLOAT32BE #endif /** A Shortcut for PA_SAMPLE_FLOAT32NE */ |