Sound geändert
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user