The speaker volume range is 1 to 18. The host range is greater. In order to sync volume with the host, the device
range is mapped to the host range. When the volume is changed from the device, the device sends one or more
volume up/down reports to the host to achieve the best match based on the mapping. Likewise, when the host
sends to the device a speaker volume that the user selected on the host, the device maps that setting to a value in
the 1 to 18 range. See diagram below.
Device
Volume Button Press
*Map Gain to Index
*Map Gain to Index
* Appendix A indicates the speaker volume mappings.
2.4 Interface Definitions for the Camera Component
The USB Camera interface will conform to USB Device Class Definition for Video Devices, version 1.5.
The USB Camera chip will enumerate the following interfaces:
USB 2.0
Interface 0; BULK: ep1 (in/out), 512 bit packet size
•
USB 3.0
Interface 0; Video Control: Interrupt, ep2 (IN), 1024 bit packet size
•
Interface 1; Video Streaming: BULK, ep3 (IN), 1024 bit packet size
•
2.4.1
Video Configuration and Status
The video controls for pan, tilt and zoom (PTZ) are implemented digitally in the camera.
The video controls for brightness, contrast, sharpness, saturation, balance, backlight compensation and gain are
implemented in the camera image processor.
The host will use GET_CUR and SET_CUR requests to set the desired parameter. When the camera is enumerated,
the VC_INPUT_TERMINAL descriptor and VC_PROCESSING_UNIT descriptor will set the appropriate flags for the
parameters is supports. It will also define an endpoint for interrupt support to report local changes back to the
host.
Description
Video Control ID
Yamaha CS-700 Integrators Reference Guide
OS
Adjust Volume
Send Gain
Adjust Volume
Send Gain
ID
Report Value
ep0/4
Application
Adjust Volume on App
Send Gain to OS
Notes
11