mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
make use of new PA_PAGE_SIZE macro
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1744 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
b54e71a96a
commit
8cf822a3d9
1 changed files with 1 additions and 1 deletions
|
|
@ -602,7 +602,7 @@ int pa__init(pa_core *c, pa_module*m) {
|
|||
u->memchunk.length = 0;
|
||||
|
||||
/* We use this to get a reasonable chunk size */
|
||||
u->page_size = sysconf(_SC_PAGESIZE);
|
||||
u->page_size = PA_PAGE_SIZE;
|
||||
|
||||
u->frame_size = pa_frame_size(&ss);
|
||||
u->buffer_size = buffer_size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue