- Student: Govind Dixit
- Github: @GOVINDDIXIT
- LinkedIn: Govind Dixit
- Organisation: Rocket.Chat
- Mentor: Djorkaeff Alexandre, Diego Mello
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open class SyncCredSoundPool constructor( | |
protected val context: Context, | |
audioAttributes: AudioAttributes?, | |
maxStreams: Int | |
) : CredSoundPool { | |
/** | |
* Soundpool instance created using SoundPool Builder | |
* In case the passed audioAttributes is null we will create default AudioAttributes | |
* with usage as AudioAttributes.USAGE_GAME and contentType as AudioAttributes.CONTENT_TYPE_SONIFICATION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal class AsyncCredSoundPool( | |
context: Context, | |
audioAttributes: AudioAttributes?, | |
maxStreams: Int | |
) : SyncCredSoundPool(context, audioAttributes, maxStreams) { | |
@PublishedApi | |
internal val bgThread = Handler( | |
HandlerThread("backgroundThread", Process.THREAD_PRIORITY_BACKGROUND) | |
.apply { start() } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface CredSoundPool { | |
val instance: SoundPool | |
fun load( | |
resId: Int, | |
priority: Int, | |
logError: String = "Could not load sound" | |
): Int? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// C++ includes used for precompiling -*- C++ -*- | |
// Copyright (C) 2003-2013 Free Software Foundation, Inc. | |
// | |
// This file is part of the GNU ISO C++ Library. This library is free | |
// software; you can redistribute it and/or modify it under the | |
// terms of the GNU General Public License as published by the | |
// Free Software Foundation; either version 3, or (at your option) | |
// any later version. |
- Student: Govind Dixit
- Github: @GOVINDDIXIT
- LinkedIn: Govind Dixit
- Organisation: Rocket.Chat
- Mentor: Eric Rosenthal, James Hepburn
Govind Dixit | GOVIND DIXIT | FOSSASIA
- 45+ PRs merged and interected with 8400+ lines of code in various android projects of FOSSASIA.
- 2nd Top Most Contributor in open-event-android and open-event-orga android projects in the Codeheat Contest with 35+ commits in them.
- My contributions are as follows -