Commit e57ca085 authored by Ronan's avatar Ronan

fix(mediastream): fix ms_media_resource_get_soundcard macro, use soundcard...

fix(mediastream): fix ms_media_resource_get_soundcard macro, use soundcard instead of invalid souncard field
parent da5538dc
......@@ -342,7 +342,7 @@ MS2_PUBLIC bool_t ms_media_resource_is_consistent(const MSMediaResource *r);
#define ms_media_resource_get_file(r) (((r)->type == MSResourceFile) ? (r)->file : NULL)
#define ms_media_resource_get_rtp_session(r) (((r)->type == MSResourceRtp) ? (r)->session : NULL)
#define ms_media_resource_get_camera(r) (((r)->type == MSResourceCamera) ? (r)->camera : NULL)
#define ms_media_resource_get_soundcard(r) (((r)->type == MSResourceSoundcard) ? (r)->souncard : NULL)
#define ms_media_resource_get_soundcard(r) (((r)->type == MSResourceSoundcard) ? (r)->soundcard : NULL)
/**
* Structure describing the input/output of a MediaStream.
* Input and output are described as MSMediaResource.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment