From a1090ddfe2967143223e917a695ab2186d2e85fe Mon Sep 17 00:00:00 2001 From: "NBTEMP\\bib" Date: Thu, 3 Sep 2026 12:29:43 +0200 Subject: [PATCH] =?UTF-8?q?Sound=20ge=C3=A4ndert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Casino/MainWindow.xaml.cs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Casino/MainWindow.xaml.cs b/Casino/MainWindow.xaml.cs index 49eb488..934c557 100644 --- a/Casino/MainWindow.xaml.cs +++ b/Casino/MainWindow.xaml.cs @@ -19,11 +19,6 @@ namespace Casino public MainWindow() { InitializeComponent(); - - - - - } private void Slots_Click(object sender, RoutedEventArgs e) { @@ -35,9 +30,9 @@ namespace Casino private void Sound_Click(object sender, RoutedEventArgs e) { Database data = new Database(); - byte[] blobData = data.GetSound(1); + byte[] blobData = data.GetSound(2); var audioService = new Audioplayer(); - audioService.Play(blobData); + audioService.PlayMusic(blobData); } } } \ No newline at end of file