Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dose it support double speed? #441

Open
dby opened this issue Jul 30, 2019 · 14 comments
Open

Dose it support double speed? #441

dby opened this issue Jul 30, 2019 · 14 comments

Comments

@dby
Copy link

dby commented Jul 30, 2019

No description provided.

@tumtumtum
Copy link
Owner

Yes did you look at the rate property?

@dby
Copy link
Author

dby commented Jul 30, 2019

Yes did you look at the rate property?

yeah, i'll try. thank you very much

@onexf
Copy link

onexf commented Aug 2, 2019

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

@keba76
Copy link

keba76 commented Aug 12, 2019

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

STKAudioPlayer.h
@property(readwrite) float rate;

@iDevelopper
Copy link

Hi,

Is there an equivalent of AVAudioPlayer playAtTime method?

Thanks

@dby
Copy link
Author

dby commented Aug 21, 2019

STKAudioPlayer

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

@iDevelopper
Copy link

@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
Copy link
Author

dby commented Aug 22, 2019

/// 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
Copy link

A fork?

@iOkay
Copy link

iOkay commented Nov 29, 2019

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

@yangfan1233
Copy link

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

@dby
Copy link
Author

dby commented Sep 27, 2020

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

i see. thank you.

@peterpaulis
Copy link

can you pls update the pods?

@hugosilvac
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants