Menu

#814 linux mic support is a joke

future
closed-abandoned
Linux port (45)
0.9.11
5
2014-07-13
2009-10-20
skas
No

At the last puzzle, as the final move, one has to blow in the microphone to make the wind blow.
Using the microphone, I can see the two people and the SUN moving, but nothing happening.
I cannot finish this game because of that particular problem.
So, bug or misconfiguration of my microphone ?
I'm joining the dsv file this time, the save game is two puzzle away from the last.
see http://www.gamefaqs.com/portable/ds/file/938420/52101 for explanation of how to finish the two last puzzles

Discussion

  • skas

    skas - 2009-10-20

    Save File for last puzzle.

     
  • zeromus

    zeromus - 2009-10-21

    the mic code in linux is terrible and i dare say nonexistent. im not sure why the faq says that it is supported. youd best assume there is no mic in linux, nor proper support for mic noise

     
  • zeromus

    zeromus - 2009-10-21
    • summary: Professor Layton and the Diabolical Box --> linux mic support is a joke
     
  • Magliocchetti Riccardo

    Will try to reproduce with your save game but from from my own experience it recognizes the blow just fine. Just to be sure are you compiling with libasound right?

     
  • Magliocchetti Riccardo

    • assigned_to: nobody --> riccardom
     
  • Magliocchetti Riccardo

    skas, can you confirm that you have built with libasound please?

     
  • skas

    skas - 2009-12-16

    Yes I confirm it was linked with libasound.
    In the configure I have :
    checking for ALSA... yes
    And at the link the -lasound is present.
    ldd src/gtk/desmume gives :
    libasound.so.2 => /usr/lib/libasound.so.2 (0x00007f6d7fc67000)
    Maybe there is nothing wrong with desmume. I'll check twice.

     
  • Magliocchetti Riccardo

    skas, does the openal microphone work for you?

     
  • Magliocchetti Riccardo

    BlCa, i've asked to try the openal code (./configure --enable-openal) and not the alsa one.

     
  • BlCa

    BlCa - 2010-01-12

    Updated source to svn3276, compiled with --enable-openal and tried launching desmume:

    Expression 'snd_pcm_hw_params_set_buffer_size_near( pcm, hwParams, &lowLatency )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 415
    Expression 'snd_pcm_hw_params_set_buffer_size_near( pcm, hwParams, &lowLatency )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 415
    Expression 'snd_pcm_hw_params_set_buffer_size_near( pcm, hwParams, &lowLatency )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 415
    addonsChangePak
    Microphone successfully inited.
    Segmentation fault

    Full build log:
    http://launchpadlibrarian.net/37750280/buildlog_ubuntu-lucid-amd64.desmume_0.9.6svn-3276~yuuki2_FULLYBUILT.txt.gz

     
  • Magliocchetti Riccardo

    BlCa thanks for testing, could you please file a new bug report with the segmentation fault you are experiencing with openal over alsa over pulseaudio? Also please compile desmume with symbols and post a full backtrace.

     
  • BlCa

    BlCa - 2010-01-13

    Well, with svn3279, it doesn't segfault anymore but mic doesn't work properly either.
    Now, it's like desmume detects constant mic blowing, even when mic is unplugged from the computer and muted in the mixer.
    Sorry, can't provide you with full backtrace as installing all debug symbol packages on this computer is a no go.

     
  • CrazyMax

    CrazyMax - 2013-08-13
    • status: open --> closed-out-of-date
     
  • zeromus

    zeromus - 2014-04-04
    • status: closed-out-of-date --> closed-abandoned
    • planned milestone: --> 0.9.11
    • Group: --> future
     
  • Anonymous

    Anonymous - 2014-07-13

    Apparently building DeSmuME with an outdated version of gcc fixes this, but I'm not inclined to find out; thankfully the only moment when the mic was actually needed in the first Ace Attorney game is once the game is already over!

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB