Führen Sie Android-x86 mit Snd-Dummy auf der VM aus

544
John Doe

Ich möchte Android-x86 auf einer VM ausführen, die nicht mit einer Soundkarte ausgestattet ist.

Normalerweise funktioniert Android-x86 auch ohne Soundcad.

Der folgende Fehler tritt jedoch auf, wenn die App (z. B. YouTube) einen Audio-Zugriff anfordert.

W audio_hw_primary: Unable to find the mixer I AudioFlinger: loadHwModule() Loaded primary audio interface from Grouper audio HW HAL (audio) handle 1 I AudioFlinger: openOutput(), module 1 Device 2, SamplingRate 48000, Format 0x000001, Channels 3, flags 2 I AudioHwDevice: openOutputStream(), HAL returned sampleRate 48000, Format 0x1, channelMask 0x3, status -19 W APM::AudioPolicyManager: Cannot open output stream for device 00000002 on hw module primary W APM::AudioPolicyManager: getOutput() could not find output for stream 1, samplingRate 0,format 0, channels 3, flags 0 E AudioTrack: Could not get audio output for session 9, stream type -1, usage 13, sample rate 44100, format 0x1, channel mask 0x3, flags 0x4 E SoundPool: Error creating AudioTrack 

Also habe ich versucht, Snd-Dummy in init.sh zu laden, aber es hat sich nichts geändert ... Natürlich wurde Snd-Dummy-Kernelmodul geladen.

Wie stelle ich Android-x86 ein? Snd-Dummy-Dosis funktioniert nicht gut in Android-x86?

0

0 Antworten auf die Frage