aboutsummaryrefslogtreecommitdiff
path: root/audio/pcm_bluetooth.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-04-17 01:55:42 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-04-17 01:55:42 +0200
commita90d88b37e38b8f4c60303ea2006fd3425eef299 (patch)
treea3425c6e4d832c447c3b60e8d8228212af3cb771 /audio/pcm_bluetooth.c
parentdb06bdd711a6d7340f84d0e8359bb7b3abf00a3d (diff)
downloadbluez-a90d88b37e38b8f4c60303ea2006fd3425eef299.tar.gz
Do some coding style cleanups
Diffstat (limited to 'audio/pcm_bluetooth.c')
-rw-r--r--audio/pcm_bluetooth.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c
index f973e212..00b95063 100644
--- a/audio/pcm_bluetooth.c
+++ b/audio/pcm_bluetooth.c
@@ -146,7 +146,7 @@ struct bluetooth_data {
static int audioservice_send(int sk, const bt_audio_msg_header_t *msg);
static int audioservice_expect(int sk, bt_audio_msg_header_t *outmsg,
- int expected_type);
+ int expected_type);
static int bluetooth_start(snd_pcm_ioplug_t *io)
{
@@ -522,7 +522,7 @@ static uint8_t default_bitpool(uint8_t freq, uint8_t mode)
}
static int bluetooth_a2dp_init(struct bluetooth_data *data,
- snd_pcm_hw_params_t *params)
+ snd_pcm_hw_params_t *params)
{
struct bluetooth_alsa_config *cfg = &data->alsa_config;
sbc_capabilities_t *cap = &data->a2dp.sbc_capabilities;
@@ -958,8 +958,7 @@ done:
static snd_pcm_sframes_t bluetooth_a2dp_read(snd_pcm_ioplug_t *io,
const snd_pcm_channel_area_t *areas,
- snd_pcm_uframes_t offset,
- snd_pcm_uframes_t size)
+ snd_pcm_uframes_t offset, snd_pcm_uframes_t size)
{
snd_pcm_uframes_t ret = 0;
return ret;
@@ -1585,7 +1584,7 @@ static int audioservice_recv(int sk, bt_audio_msg_header_t *inmsg)
}
static int audioservice_expect(int sk, bt_audio_msg_header_t *rsp,
- int expected_name)
+ int expected_name)
{
bt_audio_error_t *error;
int err = audioservice_recv(sk, rsp);
@@ -1641,8 +1640,8 @@ static int bluetooth_parse_capabilities(struct bluetooth_data *data,
return 0;
}
-static int bluetooth_init(struct bluetooth_data *data, snd_pcm_stream_t stream,
- snd_config_t *conf)
+static int bluetooth_init(struct bluetooth_data *data,
+ snd_pcm_stream_t stream, snd_config_t *conf)
{
int sk, err;
struct bluetooth_alsa_config *alsa_conf = &data->alsa_config;