Use new mixer code for cd image audio
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1915
This commit is contained in:
parent
dbde36bfe1
commit
805187b0eb
2 changed files with 8 additions and 10 deletions
|
@ -170,12 +170,12 @@ static CDROM_Interface_Image* images[26];
|
|||
|
||||
private:
|
||||
// player
|
||||
static void CDAudioCallBack(Bit8u *stream, Bit32u len);
|
||||
static void CDAudioCallBack(Bitu len);
|
||||
int GetTrack(int sector);
|
||||
|
||||
static struct imagePlayer {
|
||||
CDROM_Interface_Image *cd;
|
||||
MIXER_Channel *channel;
|
||||
MixerChannel *channel;
|
||||
SDL_mutex *mutex;
|
||||
Bit8u buffer[8192];
|
||||
int bufLen;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue