We aren't supposed to do this.
This commit is contained in:
parent
ee1696e571
commit
da5868945e
|
@ -132,10 +132,6 @@ void XmaContext::Enable() {
|
||||||
(data.input_buffer_0_packet_count + data.input_buffer_1_packet_count) *
|
(data.input_buffer_0_packet_count + data.input_buffer_1_packet_count) *
|
||||||
kBytesPerPacket);
|
kBytesPerPacket);
|
||||||
|
|
||||||
// Reset valid flags so our audio decoder knows to process this one.
|
|
||||||
data.input_buffer_0_valid = data.input_buffer_0_ptr != 0;
|
|
||||||
data.input_buffer_1_valid = data.input_buffer_1_ptr != 0;
|
|
||||||
|
|
||||||
data.Store(context_ptr);
|
data.Store(context_ptr);
|
||||||
|
|
||||||
set_is_enabled(true);
|
set_is_enabled(true);
|
||||||
|
|
Loading…
Reference in New Issue