mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
split PA_SAMPLE_FLOAT32 into PA_SAMPLE_FLOAT{LE,BE}
add more configuration arguments to alsa sink git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@75 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
b8eb0c088d
commit
f2e08d53d0
3 changed files with 42 additions and 13 deletions
|
|
@ -10,15 +10,19 @@ enum pa_sample_format {
|
|||
PA_SAMPLE_ULAW,
|
||||
PA_SAMPLE_S16LE,
|
||||
PA_SAMPLE_S16BE,
|
||||
PA_SAMPLE_FLOAT32,
|
||||
PA_SAMPLE_FLOAT32LE,
|
||||
PA_SAMPLE_FLOAT32BE,
|
||||
PA_SAMPLE_MAX
|
||||
};
|
||||
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
#define PA_SAMPLE_S16NE PA_SAMPLE_S16BE
|
||||
#define PA_SAMPLE_FLOAT32NE PA_SAMPLE_FLOAT32BE
|
||||
#else
|
||||
#define PA_SAMPLE_S16NE PA_SAMPLE_S16LE
|
||||
#define PA_SAMPLE_FLOAT32NE PA_SAMPLE_FLOAT32LE
|
||||
#endif
|
||||
#define PA_SAMPLE_FLOAT32 PA_SAMPLE_FLOAT32NE
|
||||
|
||||
struct pa_sample_spec {
|
||||
enum pa_sample_format format;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue