Browse Source

pulse-server: remove unnecessary struct member and includes

Part of !776.
lines
Barnabás Pőcze 2 years ago
parent
commit
0e48ae9f50
2 changed files with 7 additions and 7 deletions
  1. +6
    -3
      src/modules/module-protocol-pulse/internal.h
  2. +1
    -4
      src/modules/module-protocol-pulse/pulse-server.c

+ 6
- 3
src/modules/module-protocol-pulse/internal.h View File

@ -32,11 +32,15 @@
#include <spa/utils/defs.h>
#include <spa/utils/ringbuffer.h>
#include <pipewire/pipewire.h>
#include <pipewire/map.h>
#include <pipewire/private.h>
#include "format.h"
#include "volume.h"
struct pw_loop;
struct pw_context;
struct pw_work_queue;
struct pw_properties;
struct defs {
struct spa_fraction min_req;
@ -67,7 +71,6 @@ struct impl {
struct ratelimit rate_limit;
struct spa_source *source;
struct spa_list servers;
struct pw_work_queue *work_queue;


+ 1
- 4
src/modules/module-protocol-pulse/pulse-server.c View File

@ -26,14 +26,11 @@
#include "config.h"
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
#include <math.h>
#include <time.h>
#include <sys/time.h>
#include <fcntl.h>
#include <pipewire/log.h>


Loading…
Cancel
Save