Remove SDL_Mixer in favor of core SDL audio device

This commit is contained in:
scawful
2024-04-23 11:27:03 -04:00
parent 136cd2e2d9
commit 528d8fd9a6
6 changed files with 1 additions and 27 deletions

View File

@@ -1,6 +1,5 @@
#include "music_editor.h"
#include <SDL_mixer.h>
#include <imgui/imgui.h>
#include "absl/strings/str_format.h"
@@ -264,7 +263,6 @@ void MusicEditor::DrawToolset() {
ImGui::TableNextColumn();
if (ImGui::Button(is_playing ? ICON_MD_STOP : ICON_MD_PLAY_ARROW)) {
if (is_playing) {
Mix_HaltMusic();
has_loaded_song = false;
}
is_playing = !is_playing;

View File

@@ -1,7 +1,6 @@
#ifndef YAZE_APP_EDITOR_MUSIC_EDITOR_H
#define YAZE_APP_EDITOR_MUSIC_EDITOR_H
#include <SDL_mixer.h>
#include <imgui/imgui.h>
#include "absl/strings/str_format.h"