зеркало из https://github.com/xamarin/ios-samples.git
StreamingAudio ported to 64-bits
This commit is contained in:
Родитель
e011cd5451
Коммит
eb7881a6f6
|
@ -142,7 +142,7 @@ namespace StreamingAudio
|
|||
if (updatingTimer != null)
|
||||
updatingTimer.Invalidate ();
|
||||
|
||||
updatingTimer = NSTimer.CreateRepeatingScheduledTimer (0.5, () => RepeatingAction (timeline, sampleRate));
|
||||
updatingTimer = NSTimer.CreateRepeatingScheduledTimer (0.5, (e) => RepeatingAction (timeline, sampleRate));
|
||||
});
|
||||
|
||||
while ((inputStreamLength = inputStream.Read (buffer, 0, buffer.Length)) != 0 && player != null) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче