add sample spec parameters to pacat

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@251 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-09-29 22:04:44 +00:00
parent 66999e5ada
commit 68d50dc0a6
5 changed files with 76 additions and 36 deletions

View file

@ -42,7 +42,8 @@ enum pa_sample_format {
PA_SAMPLE_S16BE, /**< Signed 16 Bit PCM, big endian */
PA_SAMPLE_FLOAT32LE, /**< 32 Bit IEEE floating point, little endian, range -1..1 */
PA_SAMPLE_FLOAT32BE, /**< 32 Bit IEEE floating point, big endian, range -1..1 */
PA_SAMPLE_MAX /**< Upper limit of valid sample types */
PA_SAMPLE_MAX, /**< Upper limit of valid sample types */
PA_SAMPLE_INVALID = -1 /**< An invalid value */
};
#ifdef WORDS_BIGENDIAN
@ -119,6 +120,9 @@ double pa_volume_to_dB(pa_volume_t v);
/** Pretty print a byte size value. (i.e. "2.5 MB") */
void pa_bytes_snprint(char *s, size_t l, unsigned v);
/** Parse a sample format text */
enum pa_sample_format pa_parse_sample_format(const char *format);
PA_C_DECL_END
#endif