You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package dmr
|
|
|
|
import "github.com/tehmaze/go-dmr/bit"
|
|
|
|
func ExtractVoiceBits(payload bit.Bits) bit.Bits {
|
|
var b = make(bit.Bits, VoiceBits)
|
|
copy(b[:VoiceHalfBits], payload[:VoiceHalfBits])
|
|
copy(b[VoiceHalfBits:], payload[VoiceHalfBits+SyncBits:])
|
|
return b
|
|
}
|