Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fafef5ae authored by James Dong's avatar James Dong Committed by Android Git Automerger
Browse files

am 7cc2be47: am b2b46dc4: Merge "Added a cmd for configuring number of video...

am 7cc2be47: am b2b46dc4: Merge "Added a cmd for configuring number of video buffers for camera, if supported" into jb-mr1-dev

* commit '7cc2be47':
  Added a cmd for configuring number of video buffers for camera, if supported
parents 7b88e38a 7cc2be47
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -163,6 +163,17 @@ enum {
     * can silently finish itself or show a dialog.
     */
    CAMERA_CMD_PING = 9,

    /**
     * Configure the number of video buffers used for recording. The intended
     * video buffer count for recording is passed as arg1, which must be
     * greater than 0. This command must be sent before recording is started.
     * This command returns INVALID_OPERATION error if it is sent after video
     * recording is started, or the command is not supported at all. This
     * command also returns a BAD_VALUE error if the intended video buffer
     * count is non-positive or too big to be realized.
     */
    CAMERA_CMD_SET_VIDEO_BUFFER_COUNT = 10,
};

/** camera fatal errors */