[Type] bug fix
[Module] emulator / codec
[Priority]
[CQ#]
[Redmine#]
[Problem] sample rate of audio can be changed after decoding.
[Cause]
[Solution] need to copy the value from qemu to guest.
[TestCase]
memcpy((uint8_t *)s->vaddr + offset, &avctx->bit_rate, sizeof(int));
size = sizeof(int);
+ memcpy((uint8_t *)s->vaddr + offset + size, &avctx->sample_rate, sizeof(int));
+ size += sizeof(int);
+ memcpy((uint8_t *)s->vaddr + offset + size, &avctx->channels, sizeof(int));
+ size += sizeof(int);
memcpy((uint8_t *)s->vaddr + offset + size, &avctx->sub_id, sizeof(int));
size += sizeof(int);
memcpy((uint8_t *)s->vaddr + offset + size,