diff options
author | Paul ADENOT <[email protected]> | 2013-04-17 13:51:15 +0200 |
---|---|---|
committer | Paul ADENOT <[email protected]> | 2013-04-17 13:51:15 +0200 |
commit | d398f6bf925fa467c406bfb6767e76c4b41feb34 (patch) | |
tree | 8f1610681188934ed87bf15c1bba7237b66e1f19 /src/cubeb_audiotrack.c | |
parent | 951a3c6a88aa723e222715a89bfdc65f547ddf9e (diff) | |
download | cubeb-d398f6bf925fa467c406bfb6767e76c4b41feb34.tar.gz cubeb-d398f6bf925fa467c406bfb6767e76c4b41feb34.zip |
Mozilla Bug 809558 (followup)
Pass in the channel when calling the ctor in the audiotrack backend. For some
reason this chunk was missing in 3ac8db8.
Diffstat (limited to 'src/cubeb_audiotrack.c')
-rw-r--r-- | src/cubeb_audiotrack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cubeb_audiotrack.c b/src/cubeb_audiotrack.c index 3bd1f37..2c4577c 100644 --- a/src/cubeb_audiotrack.c +++ b/src/cubeb_audiotrack.c @@ -330,7 +330,7 @@ audiotrack_stream_init(cubeb * ctx, cubeb_stream ** stream, char const * stream_ if (audiotrack_version_is_froyo(ctx)) { ctx->klass.ctor_froyo(stm->instance, - AUDIO_STREAM_TYPE_MUSIC, + params->stream_type, stm->params.rate, AUDIO_FORMAT_PCM_16_BIT, channels, @@ -341,7 +341,7 @@ audiotrack_stream_init(cubeb * ctx, cubeb_stream ** stream, char const * stream_ 0); } else { ctx->klass.ctor(stm->instance, - AUDIO_STREAM_TYPE_MUSIC, + params->stream_type, stm->params.rate, AUDIO_FORMAT_PCM_16_BIT, channels, |