Changeset 17

Show
Ignore:
Timestamp:
11/22/04 11:05:46 (19 years ago)
Author:
pieterpalmers
Message:

Added AVC1394_SUBUNIT_TYPE_MUSIC define
Added a check for the Music subunit type to printAvcUnitInfo

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freebob/src/ieee1394service.cpp

    r16 r17  
    207207                                        AVC1394_SUBUNIT_TYPE_BULLETIN_BOARD ) ? 
    208208            "yes":"no" ); 
    209     printf( "AVC: vendor specificr?...%s\n", 
     209    printf( "AVC: vendor specific?....%s\n", 
    210210            avc1394_check_subunit_type( m_handle, iNodeId, 
    211211                                        AVC1394_SUBUNIT_TYPE_VENDOR_UNIQUE ) ? 
     
    218218            avc1394_check_subunit_type( m_handle, iNodeId, 
    219219                                        AVC1394_SUBUNIT_TYPE_UNIT ) ? 
     220            "yes":"no" ); 
     221    printf( "AVC: music?..............%s\n", 
     222            avc1394_check_subunit_type( m_handle, iNodeId, 
     223                                        AVC1394_SUBUNIT_TYPE_MUSIC ) ? 
    220224            "yes":"no" ); 
    221225} 
  • trunk/freebob/src/ieee1394service.h

    r16 r17  
    3434#define AVC1394_SUBUNIT_TYPE_BULLETIN_BOARD (0xA <<19)  
    3535#define AVC1394_SUBUNIT_TYPE_CAMERA_STORAGE (0xB <<19)  
     36#define AVC1394_SUBUNIT_TYPE_MUSIC (0xC <<19)  
    3637 
    3738class Ieee1394Service {