diff --git a/kemu/kded/kded_kemu.cpp b/kemu/kded/kded_kemu.cpp index 2b88ef4d..e13aa375 100644 --- a/kemu/kded/kded_kemu.cpp +++ b/kemu/kded/kded_kemu.cpp @@ -63,7 +63,7 @@ bool KEmuModule::start(const QString &machine) const QUrl harddisk = settings.value(machine + "/harddisk").toUrl(); const QString system = settings.value(machine + "/system").toString(); const QString video = settings.value(machine + "/video", "virtio").toString(); - const QString audio = settings.value(machine + "/audio", "ac97").toString(); + const QString audio = settings.value(machine + "/audio", "alsa").toString(); const int ram = settings.value(machine + "/ram", 512).toInt(); const int cpu = settings.value(machine + "/cpu", 1).toInt(); const bool kvm = settings.value(machine + "/kvm", false).toBool(); @@ -85,7 +85,7 @@ bool KEmuModule::start(const QString &machine) machineArgs << "-hda" << harddisk.toString(); } machineArgs << "-vga" << video; - machineArgs << "-soundhw" << audio; + machineArgs << "-audiodev" << QString::fromLatin1("driver=%1,id=none").arg(audio); machineArgs << "-m" << QString::number(ram); machineArgs << "-smp" << QString::number(cpu); if (kvm) { diff --git a/kemu/kemu.ui b/kemu/kemu.ui index 4a8c1d29..323b367b 100644 --- a/kemu/kemu.ui +++ b/kemu/kemu.ui @@ -231,47 +231,42 @@ - sb16 + alsa - es1370 + dbus - ac97 + jack - adlib + oss - gus + pa - cs4231a + sdl - hda + spice - pcspk - - - - - all + none diff --git a/kemu/kemumainwindow.cpp b/kemu/kemumainwindow.cpp index f7c30a5f..c75af302 100644 --- a/kemu/kemumainwindow.cpp +++ b/kemu/kemumainwindow.cpp @@ -265,7 +265,7 @@ void KEmuMainWindow::machineLoad(const QString machine) const QString video = m_settings->value(machine + "/video", "virtio").toString(); const int videoIndex = m_kemuui->videoComboBox->findText(video); m_kemuui->videoComboBox->setCurrentIndex(videoIndex); - const QString audio = m_settings->value(machine + "/audio", "ac97").toString(); + const QString audio = m_settings->value(machine + "/audio", "alsa").toString(); const int audioIndex = m_kemuui->audioComboBox->findText(audio); m_kemuui->audioComboBox->setCurrentIndex(audioIndex); m_kemuui->RAMInput->setValue(m_settings->value(machine + "/ram", 512).toInt());