xamarin-macios/tests/monotouch-test/AudioToolbox
Rolf Bjarne Kvinge a6b9c28975 [monotouch-test] Fix randomly crashing SystemSoundTest.FromFile to not get a callback after the sound was disposed. Fixes #52903. (#1893)
SystemSoundTest.FromFile was requesting to be called back when the sound
completed playback. This causes problems when the sound is disposed after it
has started playing, because in that case disposing it won't prevent the
callback from being called, but instead random InvalidCastExceptions / crashes
would occur.

https://bugzilla.xamarin.com/show_bug.cgi?id=52903

* SystemSound.PlaySystemSound doesn't work in the simulator.

https://stackoverflow.com/a/24973240/183422
2017-03-22 16:55:55 -05:00
..
1.caf [tests] Import 2016-05-26 15:06:52 +02:00
AudioBalanceFadeTest.cs Port monotouch-test suite to Xamarin.Mac (#1445) 2017-01-12 09:13:56 -09:00
AudioChannelLayoutTest.cs Port monotouch-test suite to Xamarin.Mac (#1445) 2017-01-12 09:13:56 -09:00
AudioFileGlobalInfoTest.cs Port monotouch-test suite to Xamarin.Mac (#1445) 2017-01-12 09:13:56 -09:00
AudioFileStreamTest.cs [tests] Import 2016-05-26 15:06:52 +02:00
AudioFileTest.cs Port monotouch-test suite to Xamarin.Mac (#1445) 2017-01-12 09:13:56 -09:00
AudioFormatAvailabilityTest.cs [tests] Import 2016-05-26 15:06:52 +02:00
AudioFormatTest.cs Port monotouch-test suite to Xamarin.Mac (#1445) 2017-01-12 09:13:56 -09:00
AudioQueueTest.cs Port monotouch-test suite to Xamarin.Mac (#1445) 2017-01-12 09:13:56 -09:00
AudioSessionTest.cs [tests] Import 2016-05-26 15:06:52 +02:00
AudioStreamBasicDescriptionTest.cs Port monotouch-test suite to Xamarin.Mac (#1445) 2017-01-12 09:13:56 -09:00
FourCCTest.cs Port monotouch-test suite to Xamarin.Mac (#1445) 2017-01-12 09:13:56 -09:00
MusicSequenceTest.cs [tests] Import 2016-05-26 15:06:52 +02:00
SoundBankTest.cs Port monotouch-test suite to Xamarin.Mac (#1445) 2017-01-12 09:13:56 -09:00
SystemSoundTest.cs [monotouch-test] Fix randomly crashing SystemSoundTest.FromFile to not get a callback after the sound was disposed. Fixes #52903. (#1893) 2017-03-22 16:55:55 -05:00