tumtumtum / StreamingKit

A fast and extensible gapless AudioPlayer/AudioStreamer for OSX and iOS (iPhone, iPad)
Other
2.42k stars 523 forks source link

Dose it support double speed? #441

Open dby opened 5 years ago

tumtumtum commented 5 years ago

Yes did you look at the rate property?

dby commented 5 years ago

Yes did you look at the rate property?

yeah, i'll try. thank you very much

onexf commented 5 years ago

Does it have this property? I searched all the code but didn't find it.

keba76 commented 5 years ago

Does it have this property? I searched all the code but didn't find it.

STKAudioPlayer.h @property(readwrite) float rate;

iDevelopper commented 5 years ago

Hi,

Is there an equivalent of AVAudioPlayer playAtTime method?

Thanks

dby commented 5 years ago

STKAudioPlayer

i don't find the property rate in STKAudioPlayer.h;

iDevelopper commented 5 years ago
@interface STKAudioPlayer : NSObject<STKDataSourceDelegate>

/// Gets or sets the volume (ranges 0 - 1.0).
/// On iOS the STKAudioPlayerOptionEnableMultichannelMixer option must be enabled for volume to work.
@property (readwrite) Float32 volume;
/// Gets or sets the player muted state
@property (readwrite) BOOL muted;
/// Gets the current item duration in seconds
@property (readonly) double duration;
/// Gets the current item progress in seconds
@property (readonly) double progress;
/// Gets or sets the playback rate (default is 1.0)
@property(readwrite) float rate;
// Gets or sets the playback overlap (default is 8.0)
dby commented 5 years ago

/// On iOS the STKAudioPlayerOptionEnableMultichannelMixer option must be enabled for volume to work.
@property (readwrite) Float32 volume;
/// Gets or sets the player muted state
@property (readwrite) BOOL muted;
/// Gets the current item duration in seconds
@property (readonly) double duration;
/// Gets the current item progress in seconds
@property (readonly) double progress;
/// Enables or disables peak and average decibel meteting
@property (readwrite) BOOL meteringEnabled;
/// Enables or disables the EQ
@property (readwrite) BOOL equalizerEnabled;
/// Returns an array of STKFrameFilterEntry objects representing the filters currently in use
@property (readonly, nullable) NSArray* frameFilters;```

i use AdvancedStreamingKit 1.0.0

thank you very much
iDevelopper commented 5 years ago

A fork?

iOkay commented 4 years ago

Use the source code directly. StreamingKit installed via cocoapod doesn't have this property.

yangfan1233 commented 4 years ago

i use cocoapods., i don't find the property rate in STKAudioPlayer.h either, how should i change the rate?

dby commented 3 years ago

Use the source code directly. StreamingKit installed via cocoapod doesn't have this property.

i see. thank you.

peterpaulis commented 2 years ago

can you pls update the pods?

hugosilvac commented 1 year ago

Hi guys, can you update the pods, pls ? Many thanks