mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
remove global exported variables:
pa_memblock statistics pa_default_sample_spec git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@70 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
1a6fea24f5
commit
c36dadd2bd
11 changed files with 30 additions and 27 deletions
|
|
@ -4,12 +4,6 @@
|
|||
|
||||
#include "sample-util.h"
|
||||
|
||||
struct pa_sample_spec pa_default_sample_spec = {
|
||||
.format = PA_SAMPLE_S16NE,
|
||||
.rate = 44100,
|
||||
.channels = 2
|
||||
};
|
||||
|
||||
struct pa_memblock *pa_silence_memblock(struct pa_memblock* b, const struct pa_sample_spec *spec) {
|
||||
assert(b && b->data && spec);
|
||||
pa_silence_memory(b->data, b->length, spec);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue