Merge "Fix google-explicit-constructor warnings in soundpool."
am: feee33ce2c
Change-Id: Id3cf418900b7eb3ac2e3d94f674f4ed6f624ba27
This commit is contained in:
@@ -37,7 +37,7 @@ class SoundPool;
|
|||||||
// for queued events
|
// for queued events
|
||||||
class SoundPoolEvent {
|
class SoundPoolEvent {
|
||||||
public:
|
public:
|
||||||
SoundPoolEvent(int msg, int arg1=0, int arg2=0) :
|
explicit SoundPoolEvent(int msg, int arg1=0, int arg2=0) :
|
||||||
mMsg(msg), mArg1(arg1), mArg2(arg2) {}
|
mMsg(msg), mArg1(arg1), mArg2(arg2) {}
|
||||||
int mMsg;
|
int mMsg;
|
||||||
int mArg1;
|
int mArg1;
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
class SoundPoolThread {
|
class SoundPoolThread {
|
||||||
public:
|
public:
|
||||||
SoundPoolThread(SoundPool* SoundPool);
|
explicit SoundPoolThread(SoundPool* SoundPool);
|
||||||
~SoundPoolThread();
|
~SoundPoolThread();
|
||||||
void loadSample(int sampleID);
|
void loadSample(int sampleID);
|
||||||
void quit();
|
void quit();
|
||||||
|
|||||||
Reference in New Issue
Block a user