Yamaha CS-700 Integrators Reference Guide
11
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
OS
Application
Volume Button Press
Adjust Volume
*Map Gain to Index
Send Gain
Adjust Volume on App
Adjust Volume
Send Gain to OS
*Map Gain to Index
Send Gain
* 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
ID
Report Value Notes
Video Control ID
ep0/4