summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoão Paulo Rechi Vita <joao.vita@gmail.com>2008-08-17 20:35:56 -0300
committerLennart Poettering <lennart@poettering.net>2008-09-11 01:12:07 +0300
commitc89301da262cdb835bb852f0b3d43aaf12a520f7 (patch)
tree327c6833888e6842a1fc147ab589b5db53eaf949 /src
parente54547956306485e4c0c961c9499ee8f19628bca (diff)
Fix sample size
Diffstat (limited to 'src')
-rw-r--r--src/modules/module-bt-device.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/module-bt-device.c b/src/modules/module-bt-device.c
index 4fb4fd79..5c69e903 100644
--- a/src/modules/module-bt-device.c
+++ b/src/modules/module-bt-device.c
@@ -412,9 +412,11 @@ static int bt_setconf(struct userdata *u) {
pa_log_error("a2dp_init error");
return e;
}
+ u->ss.format = PA_SAMPLE_S16LE;
}
+ else
+ u->ss.format = PA_SAMPLE_U8;
- u->ss.format = PA_SAMPLE_S16LE;
u->ss.rate = u->rate;
u->ss.channels = u->channels;