Commit Graph

15 Commits

Author SHA1 Message Date
Dr. Chat
826609cd60 Cleanup some audio system code. 2015-06-03 11:14:10 -05:00
Dr. Chat
50d8017ac5 Whoops - fix overflowing on output audio samples 2015-06-02 13:17:15 -05:00
Dr. Chat
128bf76205 Fixed up multi-channel audio, works better now. 2015-05-30 22:47:41 -05:00
Dr. Chat
dfd689e22b Whoops, we should be converting samples from more than one channel! 2015-05-30 21:27:59 -05:00
Dr. Chat
fedf7357a5 Remove variable bits per sample - it's always 16. 2015-05-30 21:01:55 -05:00
Ben Vanik
0a83b49744 Speeding up inner loop. 2015-05-29 17:05:43 -07:00
Dr. Chat
40f98f195f Whoops - PCM samples are signed, not unsigned 2015-05-29 18:52:43 -05:00
Dr. Chat
d303f4a5ce Fix raw sample clamping 2015-05-28 22:31:55 -05:00
Dr. Chat
4675a1e17a Audio decoder now takes a "sequence" offset to feed to the WMAPro decoder. 2015-05-28 21:57:57 -05:00
Dr. Chat
65df257ede Fix audio decoder - mono sounds are working now! 2015-05-24 22:26:46 -05:00
Dr. Chat
4f8d8e62b3 Use av_frame_free / Log when couldn't reopen context. 2015-05-23 00:09:58 -05:00
Dr. Chat
866a5af427 Initialize pointers to nullptr 2015-05-23 00:07:35 -05:00
Dr. Chat
3389b9e421 AudioDecoder destructor 2015-05-23 00:07:34 -05:00
Dr. Chat
a69d1b7f04 Discard the current packet when XMA context is released
Some more cleanup
2015-05-23 00:07:33 -05:00
Dr. Chat
a6175dba48 Remove more accidentally committed files; rename .cpp to .cc 2015-05-23 00:07:33 -05:00