Bug 1315495 - Update libcubeb to 98b189d2. r=achronop

This commit is contained in:
Matthew Gregan 2016-11-06 11:51:33 +13:00
parent e692f60826
commit 100e73de5a
3 changed files with 5 additions and 16 deletions

View File

@ -5,4 +5,4 @@ Makefile.in build files for the Mozilla build system.
The cubeb git repository is: git://github.com/kinetiknz/cubeb.git
The git commit ID used was 8c41e5641df50a4b78650057872178a5860222f0.
The git commit ID used was 98b189d2aad06bef758a5ae76fb758fa4dfa9bba.

View File

@ -212,18 +212,4 @@ private:
owned_critical_section & lock;
};
struct auto_unlock {
explicit auto_unlock(owned_critical_section & lock)
: lock(lock)
{
lock.leave();
}
~auto_unlock()
{
lock.enter();
}
private:
owned_critical_section & lock;
};
#endif /* CUBEB_UTILS */

View File

@ -1748,11 +1748,14 @@ void close_wasapi_stream(cubeb_stream * stm)
SafeRelease(stm->output_client);
stm->output_client = NULL;
SafeRelease(stm->input_client);
stm->capture_client = NULL;
stm->input_client = NULL;
SafeRelease(stm->render_client);
stm->render_client = NULL;
SafeRelease(stm->capture_client);
stm->capture_client = NULL;
SafeRelease(stm->audio_stream_volume);
stm->audio_stream_volume = NULL;