mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Backout bug 852831 (07e459058893) on a CLOSED TREE.
This commit is contained in:
parent
e6e2b8b30f
commit
37fdfc38c6
@ -441,11 +441,7 @@ BufferedAudioStream::Init(int32_t aNumChannels, int32_t aRate,
|
||||
params.rate = aRate;
|
||||
params.channels = aNumChannels;
|
||||
#if defined(__ANDROID__)
|
||||
#if defined(MOZ_B2G)
|
||||
params.stream_type = ConvertChannelToCubebType(aAudioChannelType);
|
||||
#else
|
||||
params.stream_type = CUBEB_STREAM_TYPE_MUSIC;
|
||||
#endif
|
||||
|
||||
if (params.stream_type == CUBEB_STREAM_TYPE_MAX) {
|
||||
return NS_ERROR_INVALID_ARG;
|
||||
|
Loading…
Reference in New Issue
Block a user