Update audio.h

Remove header, change multiline comment into single line comment
This commit is contained in:
Derek "Turtle" Roe 2021-03-13 04:21:06 -06:00
parent de0522b67c
commit e77c32c550
1 changed files with 1 additions and 6 deletions

View File

@ -1,8 +1,3 @@
// Project64 - A Nintendo 64 emulator
// http://www.pj64-emu.com/
// Copyright(C) 2001-2021 Project64
// Copyright(C) 2014 Bobby Smiles
// GNU/GPLv2 licensed: https://gnu.org/licenses/gpl-2.0.html
#pragma once #pragma once
extern const int16_t RESAMPLE_LUT[64 * 4]; extern const int16_t RESAMPLE_LUT[64 * 4];
@ -13,7 +8,7 @@ static inline int16_t adpcm_predict_sample(uint8_t byte, uint8_t mask,
unsigned lshift, unsigned rshift) unsigned lshift, unsigned rshift)
{ {
int16_t sample = (uint16_t)(byte & mask) << lshift; int16_t sample = (uint16_t)(byte & mask) << lshift;
sample >>= rshift; /* signed */ sample >>= rshift; // signed
return sample; return sample;
} }