mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 16:22:53 +00:00
Bug 891543 - Remove the version of AudioBuffer::GetChannelData that is unused; r=roc
This commit is contained in:
parent
c5602433f1
commit
0af4dba840
@ -82,12 +82,6 @@ public:
|
||||
JSObject* GetChannelData(JSContext* aJSContext, uint32_t aChannel,
|
||||
ErrorResult& aRv);
|
||||
|
||||
JSObject* GetChannelData(uint32_t aChannel) const {
|
||||
// Doesn't perform bounds checking
|
||||
MOZ_ASSERT(aChannel < mJSChannels.Length());
|
||||
return mJSChannels[aChannel];
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a ThreadSharedFloatArrayBufferList containing the sample data.
|
||||
* Can return null if there is no data.
|
||||
|
Loading…
x
Reference in New Issue
Block a user