mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
core: get page size
This commit is contained in:
parent
ccd19f1e49
commit
a8cbffac7f
2 changed files with 4 additions and 0 deletions
|
|
@ -460,6 +460,8 @@ struct pw_core *pw_core_new(struct pw_loop *main_loop, struct pw_properties *pro
|
|||
this->info.props = &properties->dict;
|
||||
this->info.name = name;
|
||||
|
||||
this->sc_pagesize = sysconf(_SC_PAGESIZE);
|
||||
|
||||
this->global = pw_core_add_global(this,
|
||||
NULL,
|
||||
NULL,
|
||||
|
|
|
|||
|
|
@ -148,6 +148,8 @@ struct pw_core {
|
|||
struct spa_support support[4]; /**< support for spa plugins */
|
||||
uint32_t n_support; /**< number of support items */
|
||||
|
||||
long sc_pagesize;
|
||||
|
||||
struct {
|
||||
struct spa_graph graph;
|
||||
} rt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue