Commit 220d46d1 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Restore API broken in 758cdf2e with deprecate flag

parent 758cdf2e
......@@ -41,6 +41,8 @@ extern NSString *const VLCMediaPlayerVolumeChanged;
@property (getter=isMuted) BOOL muted;
@property (assign) int volume;
- (void)setMute:(BOOL)value __attribute__((deprecated));
- (void)volumeDown;
- (void)volumeUp;
@end
......@@ -28,9 +28,14 @@ New APIs:
- added selectors: isEqual:
hash
- VLCAudio
- setMuted:
Deprecated APIs:
- VLCMediaPlayer
- titles, chaptersForTitleIndex:, countOfTitles
- VLCAudio
- setMute:
Removed APIs:
- VLCMedia:
......
......@@ -76,6 +76,11 @@ NSString *const VLCMediaPlayerVolumeChanged = @"VLCMediaPlayerVolumeChanged";
libvlc_audio_set_mute([self instance], value);
}
- (void)setMute:(BOOL)value
{
[self setMuted:value];
}
- (BOOL)isMuted
{
return libvlc_audio_get_mute([self instance]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment