⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 277328 in webkit


Ignore:
Timestamp:
May 11, 2021, 10:16:06 AM (5 years ago)
Author:
commit-queue@webkit.org
Message:

Unreviewed, reverting r277322.
https://bugs.webkit.org/show_bug.cgi?id=225657

Causing build failure

Reverted changeset:

"Adopt CoreMedia SPI to identify audio-only playback for MSE
clients"
https://bugs.webkit.org/show_bug.cgi?id=225647
https://trac.webkit.org/changeset/277322

Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r277325 r277328  
     12021-05-11  Commit Queue  <commit-queue@webkit.org>
     2
     3        Unreviewed, reverting r277322.
     4        https://bugs.webkit.org/show_bug.cgi?id=225657
     5
     6        Causing build failure
     7
     8        Reverted changeset:
     9
     10        "Adopt CoreMedia SPI to identify audio-only playback for MSE
     11        clients"
     12        https://bugs.webkit.org/show_bug.cgi?id=225647
     13        https://trac.webkit.org/changeset/277322
     14
    1152021-05-11  Zalan Bujtas  <zalan@apple.com>
    216
  • trunk/Source/WebCore/PAL/ChangeLog

    r277322 r277328  
     12021-05-11  Commit Queue  <commit-queue@webkit.org>
     2
     3        Unreviewed, reverting r277322.
     4        https://bugs.webkit.org/show_bug.cgi?id=225657
     5
     6        Causing build failure
     7
     8        Reverted changeset:
     9
     10        "Adopt CoreMedia SPI to identify audio-only playback for MSE
     11        clients"
     12        https://bugs.webkit.org/show_bug.cgi?id=225647
     13        https://trac.webkit.org/changeset/277322
     14
    1152021-05-11  Jean-Yves Avenard  <jya@apple.com>
    216
  • trunk/Source/WebCore/PAL/pal/spi/cocoa/AVFoundationSPI.h

    r277322 r277328  
    339339#if __has_include(<AVFoundation/AVSampleBufferAudioRenderer.h>)
    340340#import <AVFoundation/AVSampleBufferAudioRenderer.h>
    341 NS_ASSUME_NONNULL_BEGIN
    342 @interface AVSampleBufferAudioRenderer (AVSampleBufferAudioRendererWebKitOnly)
    343 - (void)setIsUnaccompaniedByVisuals:(BOOL)audioOnly SPI_AVAILABLE(macos(12.0)) API_UNAVAILABLE(ios, tvos, watchos);
    344 @end
    345 NS_ASSUME_NONNULL_END
    346341#else
    347342
     
    358353- (void)setVolume:(float)volume;
    359354- (void)setMuted:(BOOL)muted;
    360 - (void)setIsUnaccompaniedByVisuals:(BOOL)audioOnly;
    361355@property (nonatomic, copy) NSString *audioTimePitchAlgorithm;
    362356@end
  • trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm

    r277322 r277328  
    11701170    [audioRenderer setVolume:m_player->volume()];
    11711171    [audioRenderer setAudioTimePitchAlgorithm:(m_player->preservesPitch() ? AVAudioTimePitchAlgorithmSpectral : AVAudioTimePitchAlgorithmVarispeed)];
    1172     ALLOW_NEW_API_WITHOUT_GUARDS_BEGIN
    1173     if ([audioRenderer respondsToSelector:@selector(setIsUnaccompaniedByVisuals:)])
    1174         [audioRenderer setIsUnaccompaniedByVisuals:!m_player->isVideoPlayer()];
    1175     ALLOW_NEW_API_WITHOUT_GUARDS_END
    11761172
    11771173#if HAVE(AUDIO_OUTPUT_DEVICE_UNIQUE_ID)
Note: See TracChangeset for help on using the changeset viewer.