mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -05:00
Merge commit 'wtay/optimize'
This commit is contained in:
commit
ab5ac06ac7
26 changed files with 2258 additions and 650 deletions
|
|
@ -34,8 +34,6 @@
|
|||
#include <pulsecore/memblock.h>
|
||||
#include <pulsecore/sample-util.h>
|
||||
|
||||
#include <liboil/liboil.h>
|
||||
|
||||
const pa_envelope_def ramp_down = {
|
||||
.n_points = 2,
|
||||
.points_x = { 100*PA_USEC_PER_MSEC, 300*PA_USEC_PER_MSEC },
|
||||
|
|
@ -202,7 +200,6 @@ int main(int argc, char *argv[]) {
|
|||
.values = { PA_VOLUME_NORM, PA_VOLUME_NORM/2 }
|
||||
};
|
||||
|
||||
oil_init();
|
||||
pa_log_set_level(PA_LOG_DEBUG);
|
||||
|
||||
pa_assert_se(pool = pa_mempool_new(FALSE, 0));
|
||||
|
|
|
|||
|
|
@ -32,8 +32,6 @@
|
|||
#include <pulsecore/memblock.h>
|
||||
#include <pulsecore/sample-util.h>
|
||||
|
||||
#include <liboil/liboil.h>
|
||||
|
||||
static float swap_float(float a) {
|
||||
uint32_t *b = (uint32_t*) &a;
|
||||
*b = PA_UINT32_SWAP(*b);
|
||||
|
|
@ -211,7 +209,6 @@ int main(int argc, char *argv[]) {
|
|||
pa_sample_spec a;
|
||||
pa_cvolume v;
|
||||
|
||||
oil_init();
|
||||
pa_log_set_level(PA_LOG_DEBUG);
|
||||
|
||||
pa_assert_se(pool = pa_mempool_new(FALSE, 0));
|
||||
|
|
|
|||
|
|
@ -32,8 +32,6 @@
|
|||
#include <pulsecore/memblock.h>
|
||||
#include <pulsecore/sample-util.h>
|
||||
|
||||
#include <liboil/liboil.h>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
|
||||
static const pa_channel_map maps[] = {
|
||||
|
|
@ -55,7 +53,6 @@ int main(int argc, char *argv[]) {
|
|||
unsigned i, j;
|
||||
pa_mempool *pool;
|
||||
|
||||
oil_init();
|
||||
pa_log_set_level(PA_LOG_DEBUG);
|
||||
|
||||
pa_assert_se(pool = pa_mempool_new(FALSE, 0));
|
||||
|
|
|
|||
|
|
@ -32,8 +32,6 @@
|
|||
#include <pulsecore/memblock.h>
|
||||
#include <pulsecore/sample-util.h>
|
||||
|
||||
#include <liboil/liboil.h>
|
||||
|
||||
static void dump_block(const pa_sample_spec *ss, const pa_memchunk *chunk) {
|
||||
void *d;
|
||||
unsigned i;
|
||||
|
|
@ -248,7 +246,6 @@ int main(int argc, char *argv[]) {
|
|||
pa_sample_spec a, b;
|
||||
pa_cvolume v;
|
||||
|
||||
oil_init();
|
||||
pa_log_set_level(PA_LOG_DEBUG);
|
||||
|
||||
pa_assert_se(pool = pa_mempool_new(FALSE, 0));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue