multimediacommsengine/mmcesrv/mmcemediamanager/inc/mcemediadefs.h
branchrcs
changeset 49 64c62431ac08
parent 0 1bce908db942
equal deleted inserted replaced
44:fb024d5e35fa 49:64c62431ac08
    45     StringF( stringIndex, SdpCodecStringPool::StringTableL() )
    45     StringF( stringIndex, SdpCodecStringPool::StringTableL() )
    46 #define MCE_AUDIO( stream )\
    46 #define MCE_AUDIO( stream )\
    47     static_cast<CMceComAudioStream&>( stream )
    47     static_cast<CMceComAudioStream&>( stream )
    48 #define MCE_VIDEO( stream )\
    48 #define MCE_VIDEO( stream )\
    49     static_cast<CMceComVideoStream&>( stream )
    49     static_cast<CMceComVideoStream&>( stream )
       
    50 #define MCE_MESSAGE(stream)\
       
    51     static_cast<CMceComMessageStream&>(stream)
    50 
    52 
    51 #define MCE_DEFINE_DECSTR( attr, value )\
    53 #define MCE_DEFINE_DECSTR( attr, value )\
    52     TBuf8<KMceSdpNumericAttributeLength> attr;\
    54     TBuf8<KMceSdpNumericAttributeLength> attr;\
    53     attr.Num( value, EDecimal );
    55     attr.Num( value, EDecimal );
       
    56 #define MCE_DEFINE_MESSAGE(stream, mediastream)\
       
    57     CMceComMessageStream& stream = MCE_MESSAGE(mediastream)
    54 #define MCE_DEFINE_AUDIO( stream, mediaStream )\
    58 #define MCE_DEFINE_AUDIO( stream, mediaStream )\
    55     CMceComAudioStream& stream = MCE_AUDIO( mediaStream )
    59     CMceComAudioStream& stream = MCE_AUDIO( mediaStream )
    56 #define MCE_DEFINE_AUDIO_CODEC( codec, aCodec )\
    60 #define MCE_DEFINE_AUDIO_CODEC( codec, aCodec )\
    57     CMceComAudioCodec& codec = static_cast<CMceComAudioCodec&>( aCodec )
    61     CMceComAudioCodec& codec = static_cast<CMceComAudioCodec&>( aCodec )
    58 #define MCE_DEFINE_VIDEO( stream, mediaStream )\
    62 #define MCE_DEFINE_VIDEO( stream, mediaStream )\