aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-usb-audio.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2014-08-08 10:42:32 +0200
committerMartin Kaiser <wireshark@kaiser.cx>2014-08-13 21:02:23 +0000
commit2952daa2bdf02e0fe4a17009cefd0d79dfae76cb (patch)
tree52e43a8108f034952ff30f5f4580fa4ea8bd6301 /epan/dissectors/packet-usb-audio.c
parentcef38a763783cea78253a75d85c573df28112772 (diff)
rename the defines to make it clear that these are interface subclasses
Change-Id: I0ad2168f89f8c4fbb2d2324f60de1276d023b41c Reviewed-on: https://code.wireshark.org/review/3579 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'epan/dissectors/packet-usb-audio.c')
-rw-r--r--epan/dissectors/packet-usb-audio.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/epan/dissectors/packet-usb-audio.c b/epan/dissectors/packet-usb-audio.c
index e8ca37b464..f9b80d186e 100644
--- a/epan/dissectors/packet-usb-audio.c
+++ b/epan/dissectors/packet-usb-audio.c
@@ -43,17 +43,17 @@ static gint ett_usb_audio_desc = -1;
static dissector_handle_t sysex_handle;
-#define AUDIO_SUBCLASS_UNDEFINED 0x00
-#define AUDIO_SUBCLASS_AUDIOCONTROL 0x01
-#define AUDIO_SUBCLASS_AUDIOSTREAMING 0x02
-#define AUDIO_SUBCLASS_MIDISTREAMING 0x03
+#define AUDIO_IF_SUBCLASS_UNDEFINED 0x00
+#define AUDIO_IF_SUBCLASS_AUDIOCONTROL 0x01
+#define AUDIO_IF_SUBCLASS_AUDIOSTREAMING 0x02
+#define AUDIO_IF_SUBCLASS_MIDISTREAMING 0x03
#if 0
static const value_string usb_audio_subclass_vals[] = {
- {AUDIO_SUBCLASS_UNDEFINED, "SUBCLASS_UNDEFINED"},
- {AUDIO_SUBCLASS_AUDIOCONTROL, "AUDIOCONSTROL"},
- {AUDIO_SUBCLASS_AUDIOSTREAMING, "AUDIOSTREAMING"},
- {AUDIO_SUBCLASS_MIDISTREAMING, "MIDISTREAMING"},
+ {AUDIO_IF_SUBCLASS_UNDEFINED, "SUBCLASS_UNDEFINED"},
+ {AUDIO_IF_SUBCLASS_AUDIOCONTROL, "AUDIOCONSTROL"},
+ {AUDIO_IF_SUBCLASS_AUDIOSTREAMING, "AUDIOSTREAMING"},
+ {AUDIO_IF_SUBCLASS_MIDISTREAMING, "MIDISTREAMING"},
{0, NULL}
};
#endif
@@ -299,7 +299,7 @@ dissect_usb_audio_bulk(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tre
switch (usb_conv_info->interfaceSubclass)
{
- case AUDIO_SUBCLASS_MIDISTREAMING:
+ case AUDIO_IF_SUBCLASS_MIDISTREAMING:
offset = 0;
col_set_str(pinfo->cinfo, COL_INFO, "USB-MIDI Event Packets");