context: set max-quantum to 4096 by default

Some devices seem to have trouble with larger quantum.

See #724
This commit is contained in:
Wim Taymans 2021-02-25 12:25:01 +01:00
parent 555d5db384
commit 293d9b3c5d
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ context.properties = {
#default.clock.rate = 48000
#default.clock.quantum = 1024
#default.clock.min-quantum = 32
#default.clock.max-quantum = 8192
#default.clock.max-quantum = 4096
#default.video.width = 640
#default.video.height = 480
#default.video.rate.num = 25

View file

@ -52,7 +52,7 @@
#define DEFAULT_CLOCK_RATE 48000u
#define DEFAULT_CLOCK_QUANTUM 1024u
#define DEFAULT_CLOCK_MIN_QUANTUM 32u
#define DEFAULT_CLOCK_MAX_QUANTUM 8192u
#define DEFAULT_CLOCK_MAX_QUANTUM 4096u
#define DEFAULT_VIDEO_WIDTH 640
#define DEFAULT_VIDEO_HEIGHT 480
#define DEFAULT_VIDEO_RATE_NUM 25u