commit | 118338a72532b051ab8930b43d9c494335a290f5 | [log] [tgz] |
---|---|---|
author | Nirbheek Chauhan <nirbheek@centricular.com> | Tue Sep 11 00:41:59 2018 +0530 |
committer | Nirbheek Chauhan <nirbheek@centricular.com> | Tue Sep 11 00:44:18 2018 +0530 |
tree | 4dc00398e4749a889e6239f55a12e04e41c81489 | |
parent | da8f9afd8879f24a754b50b09d8373822f7b7555 [diff] |
gstaudiosrc/sink: Set audio ringbuffer thread priority On Windows, the ringbuffer thread function must have the "Pro Audio" priority set, otherwise it sometimes doesn't get scheduled for 200-300ms, which will immediately cause an underrun unless you set a very high latency-time and buffer-time. This has no compile-time deps since it tries to load avrt.dll at runtime to set the thread priority.