Lines Matching refs:AVCastControlCommand
592 if (cmd == AVCastControlCommand::CAST_CONTROL_CMD_INVALID) {
598 if (cmd == AVCastControlCommand::CAST_CONTROL_CMD_MAX) {
876 AVCastControlCommand::CAST_CONTROL_CMD_SET_VOLUME);
878 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_SET_VOLUME);
882 AVCastControlCommand::CAST_CONTROL_CMD_SET_SPEED);
884 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_SET_SPEED);
888 AVCastControlCommand::CAST_CONTROL_CMD_SEEK);
890 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_SEEK);
891 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_FAST_FORWARD);
892 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_REWIND);
904 return AVCastControlCommand::CAST_CONTROL_CMD_SET_LOOP_MODE;
906 return AVCastControlCommand::CAST_CONTROL_CMD_INVALID;
946 if (cmd <= AVCastControlCommand::CAST_CONTROL_CMD_INVALID ||
947 cmd >= AVCastControlCommand::CAST_CONTROL_CMD_MAX) {
952 if (cmd == AVCastControlCommand::CAST_CONTROL_CMD_PLAY_STATE_CHANGE) {
954 supportedCastCmds_.begin(), supportedCastCmds_.end(), AVCastControlCommand::CAST_CONTROL_CMD_PLAY);
956 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_PLAY);
957 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_PAUSE);
958 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_STOP);
959 } else if (cmd == AVCastControlCommand::CAST_CONTROL_CMD_SEEK) {
963 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_FAST_FORWARD);
964 supportedCastCmds_.push_back(AVCastControlCommand::CAST_CONTROL_CMD_REWIND);
977 if (cmd <= AVCastControlCommand::CAST_CONTROL_CMD_INVALID ||
978 cmd >= AVCastControlCommand::CAST_CONTROL_CMD_MAX) {
983 if (cmd == AVCastControlCommand::CAST_CONTROL_CMD_PLAY_STATE_CHANGE) {
985 supportedCastCmds_.begin(), supportedCastCmds_.end(), AVCastControlCommand::CAST_CONTROL_CMD_PLAY);
989 supportedCastCmds_.begin(), supportedCastCmds_.end(), AVCastControlCommand::CAST_CONTROL_CMD_PAUSE);
993 supportedCastCmds_.begin(), supportedCastCmds_.end(), AVCastControlCommand::CAST_CONTROL_CMD_STOP);
995 } else if (cmd == AVCastControlCommand::CAST_CONTROL_CMD_SEEK) {
1000 supportedCastCmds_.begin(), supportedCastCmds_.end(), AVCastControlCommand::CAST_CONTROL_CMD_FAST_FORWARD);
1004 supportedCastCmds_.begin(), supportedCastCmds_.end(), AVCastControlCommand::CAST_CONTROL_CMD_REWIND);