Support pushing and poping a playing CDDA track

This commit is contained in:
2024-05-06 17:16:43 +02:00
parent fe88157aba
commit 6cc38cf5c9
7 changed files with 36 additions and 7 deletions

View File

@@ -16,5 +16,8 @@ namespace JabyEngine {
void play(uint8_t track);
void pause();
void push_play();
void pop_play();
}
}

View File

@@ -158,6 +158,7 @@ namespace JabyEngine {
static constexpr Desc Pause{0x09, Interrupt::Type::Complete};
static constexpr Desc Init{0x0A, Interrupt::Type::Complete};
static constexpr Desc SetMode{0x0E, Interrupt::Type::Acknowledge};
static constexpr Desc GetLocP{0x11, Interrupt::Type::Acknowledge};
static constexpr Desc GetTN{0x13, Interrupt::Type::Acknowledge};
};