diff options
Diffstat (limited to 'audio/pcm_bluetooth.c')
| -rw-r--r-- | audio/pcm_bluetooth.c | 9 | 
1 files changed, 5 insertions, 4 deletions
| diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c index 8fb560a4..0ddd67ab 100644 --- a/audio/pcm_bluetooth.c +++ b/audio/pcm_bluetooth.c @@ -36,9 +36,6 @@  #include <alsa/asoundlib.h>  #include <alsa/pcm_external.h> -#include <bluetooth/bluetooth.h> -#include <bluetooth/sco.h> -  #include "ipc.h"  #include "sbc.h" @@ -56,6 +53,10 @@  #define DBG(fmt, arg...)  #endif +#ifndef SOL_SCO +#define SOL_SCO 17 +#endif +  #ifndef SCO_TXBUFS  #define SCO_TXBUFS 0x03  #endif @@ -928,7 +929,7 @@ static int bluetooth_cfg(struct bluetooth_data *data, snd_config_t *conf)  				return -EINVAL;  			} -			str2ba(addr, &pkt->bdaddr); +			strncpy(pkt->device, addr, 18);  			continue;  		} | 
