spa: make a #define for default rate and channels

This commit is contained in:
Wim Taymans 2018-06-15 11:26:03 +02:00
parent b53f96eae9
commit 0c359a6819
3 changed files with 10 additions and 4 deletions

View file

@ -40,6 +40,9 @@ extern "C" {
#include <spa/param/meta.h>
#include <spa/param/audio/format-utils.h>
#define DEFAULT_RATE 48000
#define DEFAULT_CHANNELS 2
struct props {
char device[64];
char device_name[128];