mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backout bug 852831 (07e459058893) on a CLOSED TREE.
This commit is contained in:
parent
66180dc4c1
commit
b4726f7844
@ -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