projects
/
osmocom-bb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b09aaa1
)
fw/layer1: Resync TCH primitive on mode changes
author
Sylvain Munaut
<tnt@246tNt.com>
Mon, 27 Dec 2010 15:07:30 +0000
(16:07 +0100)
committer
Sylvain Munaut
<tnt@246tNt.com>
Mon, 27 Dec 2010 15:07:30 +0000
(16:07 +0100)
This is needed for audio to work properly in VEA mode
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
src/target/firmware/layer1/l23_api.c
patch
|
blob
|
history
diff --git
a/src/target/firmware/layer1/l23_api.c
b/src/target/firmware/layer1/l23_api.c
index
19838f1
..
aef12a5
100644
(file)
--- a/
src/target/firmware/layer1/l23_api.c
+++ b/
src/target/firmware/layer1/l23_api.c
@@
-457,6
+457,8
@@
static void l1ctl_rx_tch_mode_req(struct msgb *msg)
audio_set_enabled(tch_mode != GSM48_CMODE_SIGN);
+ l1s.tch_sync = 1; /* Needed for audio to work */
+
l1ctl_tx_tch_mode_conf(tch_mode);
}