| 986 | } |
| 987 | |
| 988 | void AVPlayer::GetActiveRepresentationsInfo(StreamInfo::RepresentationInfo *info) |
| 989 | { |
| 990 | if (!info) |
| 991 | { |
| 992 | return; |
| 993 | } |
| 994 | |
| 995 | uint32_t vidBitrate = 0; |
| 996 | sceAvPlayerGetStreamSetBitrate(m_playerCore, m_currentVideoStreamId, &vidBitrate); |
| 997 | sceAvPlayerGetStreamSetBitrate(m_playerCore, m_currentAudioStreamId, &info->bitrate); |
| 998 | info->bitrate += vidBitrate; |
| 999 | info->width = m_lastVideoDetails.width; |
| 1000 | info->height = m_lastVideoDetails.height; |
| 1001 | info->srate = m_lastAudioDetails.sampleRate; |
| 1002 | info->ch = m_lastAudioDetails.channelCount; |
| 1003 | } |
| 1004 | |
| 1005 | void AVPlayer::SwitchPlaybackState() |
| 1006 | { |
nothing calls this directly
no outgoing calls
no test coverage detected