Show
Ignore:
Timestamp:
08/12/07 02:16:54 (17 months ago)
Author:
liori
Message:

Jingle: better farsight wrappers

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/jingle/src/common/farsight/farsight.defs

    r8485 r8490  
    122122    '("int" "id") 
    123123    '("const-char*" "encoding_name") 
    124     '("FarsightMediaType" "media_type") 
     124    '("int" "media_type") 
    125125    '("guint" "clock_rate") 
    126126  ) 
     
    206206  (of-object "FarsightStream") 
    207207  (c-name "farsight_stream_get_media_type") 
    208   (return-type "FarsightMediaType") 
     208  (return-type "int") 
    209209) 
    210210 
     
    363363  (of-object "FarsightStream") 
    364364  (c-name "farsight_stream_get_state") 
    365   (return-type "FarsightStreamState") 
     365  (return-type "int") 
    366366) 
    367367 
     
    369369  (of-object "FarsightStream") 
    370370  (c-name "farsight_stream_get_direction") 
    371   (return-type "FarsightStreamDirection") 
     371  (return-type "int") 
    372372) 
    373373 
     
    375375  (of-object "FarsightStream") 
    376376  (c-name "farsight_stream_get_current_direction") 
    377   (return-type "FarsightStreamDirection") 
    378 ) 
    379  
    380 (define-method get_media_type 
    381   (of-object "FarsightStream") 
    382   (c-name "farsight_stream_get_media_type") 
    383   (return-type "FarsightMediaType") 
     377  (return-type "int") 
    384378) 
    385379 
     
    425419  (return-type "none") 
    426420  (parameters 
    427     '("FarsightStreamError" "err") 
     421    '("int" "err") 
    428422    '("const-gchar*" "mesg") 
    429423  ) 
     
    469463  (return-type "none") 
    470464  (parameters 
    471     '("FarsightStreamState" "state") 
    472     '("FarsightStreamDirection" "direction") 
     465    '("int" "state") 
     466    '("int" "direction") 
    473467  ) 
    474468)