Adapt platforms to AudioServer refactoring
Fixes compilation on Windows and likely other platforms (at least as far as AudioServer changes were concerned), though they were not tested.
This commit is contained in:
1 parent
6a3dae5be9
commit
7b059965e8
34 files changed
+123
-316
No files matched your search
@@ -27,20 +27,14 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
#include "audio_driver_javascript.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#define MAX_NUMBER_INTERFACES 3
|
||||
#define MAX_NUMBER_OUTPUT_DEVICES 6
|
||||
|
||||
/* Structure for passing information to callback function */
|
||||
|
||||
|
||||
|
||||
//AudioDriverJavaScript* AudioDriverJavaScript::s_ad=NULL;
|
||||
|
||||
const char* AudioDriverJavaScript::get_name() const {
|
||||
@@ -53,19 +47,23 @@ Error AudioDriverJavaScript::init(){
|
||||
return OK;
|
||||
|
||||
}
|
||||
|
||||
void AudioDriverJavaScript::start(){
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
int AudioDriverJavaScript::get_mix_rate() const {
|
||||
|
||||
return 44100;
|
||||
}
|
||||
AudioDriver::OutputFormat AudioDriverJavaScript::get_output_format() const{
|
||||
|
||||
return OUTPUT_STEREO;
|
||||
AudioDriver::SpeakerMode AudioDriverJavaScript::get_speaker_mode() const{
|
||||
|
||||
return SPEAKER_MODE_STEREO;
|
||||
}
|
||||
|
||||
void AudioDriverJavaScript::lock(){
|
||||
|
||||
/*
|
||||
@@ -74,6 +72,7 @@ void AudioDriverJavaScript::lock(){
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
void AudioDriverJavaScript::unlock() {
|
||||
|
||||
/*
|
||||
@@ -82,11 +81,11 @@ void AudioDriverJavaScript::unlock() {
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
void AudioDriverJavaScript::finish(){
|
||||
|
||||
}
|
||||
|
||||
|
||||
AudioDriverJavaScript::AudioDriverJavaScript()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user