Backout bug 852831 (07e459058893) on a CLOSED TREE.

This commit is contained in:
Matthew Gregan 2013-03-21 16:42:23 +13:00
parent 66180dc4c1
commit b4726f7844

View File

@ -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;