wivrn namespace: move all server classes

This commit is contained in:
Patrick Nicolas
2024-10-03 23:39:32 +02:00
parent efbcef2861
commit 28284a9694
55 changed files with 195 additions and 73 deletions
+6 -2
View File
@@ -22,10 +22,13 @@
#include "os/os_time.h"
#include <cmath>
namespace wivrn
{
// How many samples of wait time to store per decoder
const size_t num_wait_times = 100;
static const size_t num_wait_times = 100;
// How many samples of wait time are required to use them
const size_t min_wait_times = 50;
static const size_t min_wait_times = 50;
void wivrn_pacer::set_stream_count(size_t count)
{
@@ -171,3 +174,4 @@ void wivrn_pacer::reset()
}
in_flight_frames = {};
}
} // namespace wivrn