summaryrefslogtreecommitdiffstats
path: root/src/pulse/sample.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulse/sample.h')
-rw-r--r--src/pulse/sample.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pulse/sample.h b/src/pulse/sample.h
index 5e603685..683167cc 100644
--- a/src/pulse/sample.h
+++ b/src/pulse/sample.h
@@ -105,6 +105,9 @@ PA_C_DECL_BEGIN
/** Maximum number of allowed channels */
#define PA_CHANNELS_MAX 32
+/** Maximum allowed sample rate */
+#define PA_RATE_MAX (48000*4)
+
/** Sample format */
typedef enum pa_sample_format {
PA_SAMPLE_U8, /**< Unsigned 8 Bit PCM */