PANDORA: No mic on Pandora for now
This commit is contained in:
parent
b0c222bdd6
commit
b66de11664
|
@ -547,7 +547,9 @@ struct maple_sega_vmu: maple_base
|
|||
}
|
||||
}
|
||||
config->SetImage(lcd_data_decoded);
|
||||
#ifndef TARGET_PANDORA
|
||||
push_vmu_screen(lcd_data_decoded);
|
||||
#endif
|
||||
#if 0
|
||||
// Update LCD window
|
||||
if (!dev->lcd.visible)
|
||||
|
@ -799,11 +801,13 @@ struct maple_microphone: maple_base
|
|||
w8(0x04);//status (just the bit for recording)
|
||||
w8(0x0f);//gain (default)
|
||||
w8(0);//exp ?
|
||||
|
||||
#ifndef TARGET_PANDORA
|
||||
if(get_mic_data(micdata)){
|
||||
w8(240);//ct (240 samples)
|
||||
wptr(micdata, SIZE_OF_MIC_DATA);
|
||||
}else{
|
||||
}else
|
||||
#endif
|
||||
{
|
||||
w8(0);
|
||||
}
|
||||
|
||||
|
|
|
@ -30,5 +30,7 @@ struct maple_device
|
|||
|
||||
maple_device* maple_Create(MapleDeviceType type);
|
||||
#define SIZE_OF_MIC_DATA 480 //ALSO DEFINED IN SipEmulator.java
|
||||
#ifndef TARGET_PANDORA
|
||||
int get_mic_data(u8* buffer); //implemented in Android.cpp
|
||||
int push_vmu_screen(u8* buffer); //implemented in Android.cpp
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue