|
(void) | + enableHWAduioTempo: |
| enable/disable hardware audio tempo, player will use soft ware tempo filter when disabled, and it will affect the pcm data that from audio rending callback, it only can be reset in the same thread, enable by default. More...
|
|
(void) | + forceAudioRendingFormat:fmt:channels:sample_rate: |
| force audio render use the particular format,the value will no effect when the format not supported by device,the out range value will be ignored,and use the default value; and it will affect the pcm data that from audio rending callback, it only can be reset in the same thread, disabled by default. More...
|
|
(void) | + setDNSResolve:ip: |
| Set a DNS ip to resolve the host. More...
|
|
(void) | + setFairPlayCertID: |
| Set the .fairPlay certID, update the certID must use the thread first set. More...
|
|
(void) | + setIpResolveType: |
| Set a IP type when resolve the host. More...
|
|
◆ enableHWAduioTempo:
+ (void) enableHWAduioTempo: |
|
(bool) |
enable |
|
enable/disable hardware audio tempo, player will use soft ware tempo filter when disabled, and it will affect the pcm data that from audio rending callback, it only can be reset in the same thread, enable by default.
◆ forceAudioRendingFormat:fmt:channels:sample_rate:
+ (void) forceAudioRendingFormat: |
|
(bool) |
force |
fmt: |
|
(NSString *) |
fmt |
channels: |
|
(int) |
channels |
sample_rate: |
|
(int) |
sample_rate |
|
|
| |
force audio render use the particular format,the value will no effect when the format not supported by device,the out range value will be ignored,and use the default value; and it will affect the pcm data that from audio rending callback, it only can be reset in the same thread, disabled by default.
- Parameters
-
force | enable/disable |
fmt | the pcm format, only support s16 for now, signed integer with 16 bits |
channels | the pcm channels, available range 1~8 |
sample_rate | set the pcm sample rate, available range 1~48000 |
◆ setDNSResolve:ip:
+ (void) setDNSResolve: |
|
(NSString *) |
host |
ip: |
|
(NSString *) |
ip |
|
|
| |
Set a DNS ip to resolve the host.
- Parameters
-
host | The host. Need to specify the port (http defualt port is 80,https default port is 443). E.g player.alicdn.com:443 |
ip | The ip address, set as empty string to clear the setting. |
◆ setFairPlayCertID:
+ (void) setFairPlayCertID: |
|
(NSString *) |
certID |
|
Set the .fairPlay certID, update the certID must use the thread first set.
- Parameters
-
◆ setIpResolveType:
Set a IP type when resolve the host.
- Parameters
-
The documentation for this class was generated from the following file: