[vlc-commits] [Git][videolan/vlc][master] avsamplebuffer: restart aout if configuration changes on visionOS

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Mon Jun 10 06:40:33 UTC 2024



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
ae6a5944 by Felix Paul Kühne at 2024-06-10T05:32:30+00:00
avsamplebuffer: restart aout if configuration changes on visionOS

This solves an oversight in 492a9419.

- - - - -


1 changed file:

- modules/audio_output/apple/avsamplebuffer.m


Changes:

=====================================
modules/audio_output/apple/avsamplebuffer.m
=====================================
@@ -438,7 +438,7 @@ customBlock_Free(void *refcon, void *doomedMemoryBlock, size_t sizeInBytes)
                     selector:@selector(flushedAutomatically:)
                         name:AVSampleBufferAudioRendererWasFlushedAutomaticallyNotification
                       object:nil];
-    if (@available(macOS 12.0, iOS 15.0, tvOS 15.0, *))
+    if (@available(macOS 12.0, iOS 15.0, tvOS 15.0 VISIONOS_AVAILABLE, *))
     {
         [notifCenter addObserver:self
                         selector:@selector(outputConfigurationChanged:)



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ae6a59447187d09b09fe771b60bd6f27eb9c2021

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ae6a59447187d09b09fe771b60bd6f27eb9c2021
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list