Remove variable bits per sample - it's always 16.

This commit is contained in:
Dr. Chat
2015-05-30 21:01:55 -05:00
parent d97a6d1929
commit fedf7357a5
3 changed files with 14 additions and 27 deletions

View File

@@ -36,7 +36,7 @@ class AudioDecoder {
AudioDecoder();
~AudioDecoder();
int Initialize(int bits);
int Initialize();
int PreparePacket(uint8_t* input, size_t seq_offset, size_t size,
int sample_rate, int channels);
@@ -51,7 +51,6 @@ class AudioDecoder {
AVPacket* packet_;
uint8_t bits_per_frame_;
uint32_t bits_;
size_t current_frame_pos_;
uint8_t* current_frame_;
uint32_t frame_samples_size_;