[Spice-devel] type name ‘VDAgentAudioVolumeSync’
poma
pomidorabelisima at gmail.com
Mon May 25 23:21:51 PDT 2015
http://cgit.freedesktop.org/spice/linux/vd_agent/commit/?id=9b0eb8b
0028-vdagent-volume-synchronization-from-client.patch
src/vdagent.c: In function ‘daemon_read_complete’:
src/vdagent.c:114:9: error: unknown type name ‘VDAgentAudioVolumeSync’
VDAgentAudioVolumeSync *avs = (VDAgentAudioVolumeSync *)data;
^
src/vdagent.c:114:40: error: ‘VDAgentAudioVolumeSync’ undeclared (first use in this function)
VDAgentAudioVolumeSync *avs = (VDAgentAudioVolumeSync *)data;
^
src/vdagent.c:114:40: note: each undeclared identifier is reported only once for each function it appears in
src/vdagent.c:114:64: error: expected expression before ‘)’ token
VDAgentAudioVolumeSync *avs = (VDAgentAudioVolumeSync *)data;
^
src/vdagent.c:115:16: error: request for member ‘is_playback’ in something not a structure or union
if (avs->is_playback) {
^
src/vdagent.c:116:44: error: request for member ‘mute’ in something not a structure or union
vdagent_audio_playback_sync(avs->mute, avs->nchannels, avs->volume);
^
src/vdagent.c:116:55: error: request for member ‘nchannels’ in something not a structure or union
vdagent_audio_playback_sync(avs->mute, avs->nchannels, avs->volume);
^
src/vdagent.c:116:71: error: request for member ‘volume’ in something not a structure or union
vdagent_audio_playback_sync(avs->mute, avs->nchannels, avs->volume);
^
src/vdagent.c:118:42: error: request for member ‘mute’ in something not a structure or union
vdagent_audio_record_sync(avs->mute, avs->nchannels, avs->volume);
^
src/vdagent.c:118:53: error: request for member ‘nchannels’ in something not a structure or union
vdagent_audio_record_sync(avs->mute, avs->nchannels, avs->volume);
^
src/vdagent.c:118:69: error: request for member ‘volume’ in something not a structure or union
vdagent_audio_record_sync(avs->mute, avs->nchannels, avs->volume);
^
In file included from src/vdagentd.c:36:0:
src/vdagentd.c: In function ‘send_capabilities’:
src/vdagentd.c:104:41: error: ‘VD_AGENT_CAP_AUDIO_VOLUME_SYNC’ undeclared (first use in this function)
VD_AGENT_SET_CAPABILITY(caps->caps, VD_AGENT_CAP_AUDIO_VOLUME_SYNC);
^
/usr/include/spice-1/spice/vd_agent.h:246:15: note: in definition of macro ‘VD_AGENT_SET_CAPABILITY’
{ (caps)[(index) / 32] |= (1 << ((index) % 32)); }
^
src/vdagentd.c:104:41: note: each undeclared identifier is reported only once for each function it appears in
VD_AGENT_SET_CAPABILITY(caps->caps, VD_AGENT_CAP_AUDIO_VOLUME_SYNC);
^
/usr/include/spice-1/spice/vd_agent.h:246:15: note: in definition of macro ‘VD_AGENT_SET_CAPABILITY’
{ (caps)[(index) / 32] |= (1 << ((index) % 32)); }
^
src/vdagentd.c: At top level:
src/vdagentd.c:162:5: error: unknown type name ‘VDAgentAudioVolumeSync’
VDAgentAudioVolumeSync *avs)
^
src/vdagentd.c: In function ‘virtio_port_read_complete’:
src/vdagentd.c:396:10: error: ‘VD_AGENT_AUDIO_VOLUME_SYNC’ undeclared (first use in this function)
case VD_AGENT_AUDIO_VOLUME_SYNC:
^
src/vdagentd.c:397:43: error: ‘VDAgentAudioVolumeSync’ undeclared (first use in this function)
if (message_header->size < sizeof(VDAgentAudioVolumeSync))
^
src/vdagentd.c:400:9: error: implicit declaration of function ‘do_client_volume_sync’ [-Werror=implicit-function-declaration]
do_client_volume_sync(vport, port_nr, message_header,
^
src/vdagentd.c:401:42: error: expected expression before ‘)’ token
(VDAgentAudioVolumeSync *)data);
^
More information about the Spice-devel
mailing list