sounds - add cash_register_purchase.wav
This commit is contained in:
1 parent
da47650ed8
commit
4dda3dc833
5 files changed
+20
-5
No files matched your search
@@ -171,11 +171,12 @@ namespace mbts.ui {
|
||||
|
||||
static IReadOnlyDictionary<SoundNotification.SystemSound, NAudioPlayer> _all_players() =>
|
||||
new Dictionary<SoundNotification.SystemSound, NAudioPlayer> {
|
||||
{ SoundNotification.SystemSound.GameCorrect, new NAudioPlayer(bts.Properties.Resources.game_sound_correct) },
|
||||
{ SoundNotification.SystemSound.Whistle, new NAudioPlayer(bts.Properties.Resources.whistle) },
|
||||
{ SoundNotification.SystemSound.BellCounter, new NAudioPlayer(bts.Properties.Resources.bell_counter) },
|
||||
{ SoundNotification.SystemSound.Powerup, new NAudioPlayer(bts.Properties.Resources.powerup) }
|
||||
};
|
||||
{ SoundNotification.SystemSound.GameCorrect, new NAudioPlayer(bts.Properties.Resources.game_sound_correct) },
|
||||
{ SoundNotification.SystemSound.Whistle, new NAudioPlayer(bts.Properties.Resources.whistle) },
|
||||
{ SoundNotification.SystemSound.BellCounter, new NAudioPlayer(bts.Properties.Resources.bell_counter) },
|
||||
{ SoundNotification.SystemSound.Powerup, new NAudioPlayer(bts.Properties.Resources.powerup) },
|
||||
{ SoundNotification.SystemSound.CashRegister, new NAudioPlayer(bts.Properties.Resources.cash_register_purchase) }
|
||||
};
|
||||
|
||||
class NAudioPlayer {
|
||||
WaveOutEvent _wave_out = new WaveOutEvent();
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace bts.shell {
|
||||
Powerup,
|
||||
[License(LicenseType.AttributionLicense, "Bell, Counter, A", "Inspectorj of Freesound.org", link: "https://www.jshaw.co.uk")]
|
||||
BellCounter,
|
||||
[License(LicenseType.PublicDomain, "Cash Register Purchase", "Zott820", link: "https://freesound.org/people/Zott820/sounds/")]
|
||||
CashRegister
|
||||
}
|
||||
|
||||
public enum SoundTypeOneofCase {
|
||||
|
||||
@@ -60,6 +60,15 @@ namespace bts.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream.
|
||||
/// </summary>
|
||||
internal static System.IO.UnmanagedMemoryStream cash_register_purchase {
|
||||
get {
|
||||
return ResourceManager.GetStream("cash_register_purchase", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream.
|
||||
/// </summary>
|
||||
|
||||
@@ -136,4 +136,7 @@
|
||||
<data name="powerup" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Sounds\powerup.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name="cash_register_purchase" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Sounds\cash_register_purchase.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
</root>
|
||||
Binary file not shown.
Reference in new issue
Block a user