fix unsigned 16bit samples sb16 output
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2690
This commit is contained in:
parent
2bb31be532
commit
be9a70adfd
3 changed files with 32 additions and 13 deletions
|
@ -50,12 +50,14 @@ public:
|
|||
void SetFreq(Bitu _freq);
|
||||
void Mix(Bitu _needed);
|
||||
void AddSilence(void); //Fill up until needed
|
||||
template<bool _8bit,bool stereo>
|
||||
template<bool _8bit,bool stereo,bool signeddata>
|
||||
void AddSamples(Bitu len,void * data);
|
||||
void AddSamples_m8(Bitu len,Bit8u * data);
|
||||
void AddSamples_s8(Bitu len,Bit8u * data);
|
||||
void AddSamples_m16(Bitu len,Bit16s * data);
|
||||
void AddSamples_s16(Bitu len,Bit16s * data);
|
||||
void AddSamples_m16u(Bitu len,Bit16u * data);
|
||||
void AddSamples_s16u(Bitu len,Bit16u * data);
|
||||
void AddStretched(Bitu len,Bit16s * data); //Strech block up into needed data
|
||||
void FillUp(void);
|
||||
void Enable(bool _yesno);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue