components/desktop/firefox/patches/firefox-19-cubeb.patch
changeset 7309 2655ef11c386
parent 5527 611b2d6efdfe
equal deleted inserted replaced
7308:69f1f375673e 7309:2655ef11c386
     2 this or whether we are just going to support PulseAudio.
     2 this or whether we are just going to support PulseAudio.
     3 
     3 
     4 diff --git a/media/libcubeb/src/cubeb.c b/media/libcubeb/src/cubeb.c
     4 diff --git a/media/libcubeb/src/cubeb.c b/media/libcubeb/src/cubeb.c
     5 --- a/media/libcubeb/src/cubeb.c
     5 --- a/media/libcubeb/src/cubeb.c
     6 +++ b/media/libcubeb/src/cubeb.c
     6 +++ b/media/libcubeb/src/cubeb.c
     7 @@ -56,6 +56,9 @@
     7 @@ -60,6 +60,9 @@
     8  #if defined(USE_AUDIOTRACK)
     8  #if defined(USE_KAI)
     9  int audiotrack_init(cubeb ** context, char const * context_name);
     9  int kai_init(cubeb ** context, char const * context_name);
    10  #endif
    10  #endif
    11 +#if defined(USE_SUN)
    11 +#if defined(USE_SUN)
    12 +int sunaudio_init(cubeb ** context, char const * context_name);
    12 +int sunaudio_init(cubeb ** context, char const * context_name);
    13 +#endif
    13 +#endif
    14  
    14  
    15  int
    15  int
    16  validate_stream_params(cubeb_stream_params stream_params)
    16  validate_stream_params(cubeb_stream_params stream_params)
    17 @@ -122,6 +125,9 @@
    17 @@ -129,6 +132,9 @@
    18  #if defined(USE_AUDIOTRACK)
    18  #if defined(USE_KAI)
    19      audiotrack_init,
    19      kai_init,
    20  #endif
    20  #endif
    21 +#if defined(USE_SUN)
    21 +#if defined(USE_SUN)
    22 +    sunaudio_init,
    22 +    sunaudio_init,
    23 +#endif
    23 +#endif
    24    };
    24    };