External USB DAC
  • My external USB D/A converter is well recognized:

    cat /proc/asound/cards:

    0 [MID ]: HDA-Intel - HDA Intel MID
    HDA Intel MID at 0xd9c00000 irq 50
    1 [N2 ]: USB-Audio - NuForce µDAC 2
    NuForce, Inc. NuForce µDAC 2 at usb-0000:00:1d.0-1.1, full

    Now I tell Guyadeque to use this card: "Preferences / playback / output: Alsa hw:1,0"
    No effect, sound still on internal speaker.

    I also tried to set the DAC as default in .asoundrc file:

    pcm.!default {
    type hw
    card 1
    device 0
    }
    ctl.!default {
    type hw
    card 1
    device 0
    }

    Guyadeque says "GStreamer error"

    I tried other tools:
    - OK with mplayer ("mplayer -ao alsa:device=hw=1,0 test.flac")
    - OK with Audacious ("Preferences / audio / output / PCM: hw:1,0)
    - OK with DeadBeef ("Preferences / output: NuForce ...")
    So the only one I want to use is the one who doesn't work !

    Thanks for your help
  • Can you run it from console and post the output while guayadeque gives the gstreamer error ?

    Thanks for your help
  • My comments with "#"
    .......
    10:27:36: Loading '/home/gtou/Musique/Allen Toussaint/The Bright Mississippi/09 Allen Toussaint - Bright Mississippi.flac'
    # the following error is always here - even without external DAC - but no visible problem:
    10:27:42: Error: The configured audio output sink is not valid. Autoconfiguring...
    Cannot connect to server socket err = Aucun fichier ou dossier de ce type # "no file or directory for this type"
    Cannot connect to server request channel
    jack server is not running or cannot be started
    # click on "play"
    10:27:42: Track starts at 0 with length 307000
    10:27:42: StatusChanged( 0, 0, 0, 0 )
    # here is the error with external DAC:
    AL lib: alsa_reset_playback: snd_pcm_hw_params(data->pcmHandle, hp) failed: Le descripteur du fichier est dans un mauvais état # "file descriptor in bad state"
    10:27:42: Error: Gstreamer error 'Unable to prepare device.'
  • do you have the gstreamer 0.10 plugins installed ? not the 1.0 ones
  • Both installed:

    dpkg -l | grep gstreamer | grep plugin

    ii gstreamer0.10-ffmpeg:amd64 0.10.13-5 amd64 FFmpeg plugin for GStreamer
    ii gstreamer0.10-fluendo-mp3:amd64 0.10.23.debian-3 amd64 Fluendo mp3 decoder GStreamer 0.10 plugin
    ii gstreamer0.10-nice:amd64 0.1.4-1 amd64 ICE library (GStreamer 0.10 plugin)
    ii gstreamer0.10-plugins-bad:amd64 0.10.23-7ubuntu2 amd64 GStreamer plugins from the "bad" set
    ii gstreamer0.10-plugins-base:amd64 0.10.36-1.1ubuntu1 amd64 GStreamer plugins from the "base" set
    ii gstreamer0.10-plugins-good:amd64 0.10.31-3+nmu1ubuntu3 amd64 GStreamer plugins from the "good" set
    ii gstreamer0.10-plugins-ugly:amd64 0.10.19-2 amd64 GStreamer plugins from the "ugly" set
    ii gstreamer1.0-fluendo-mp3:amd64 0.10.23.debian-3 amd64 Fluendo mp3 decoder GStreamer 1.0 plugin
    ii gstreamer1.0-libav:amd64 1.0.10-1ubuntu1 amd64 FFmpeg plugin for GStreamer
    ii gstreamer1.0-plugins-bad:amd64 1.2.0-3ubuntu5 amd64 GStreamer plugins from the "bad" set
    ii gstreamer1.0-plugins-base:amd64 1.2.0-1ubuntu1 amd64 GStreamer plugins from the "base" set
    ii gstreamer1.0-plugins-ugly:amd64 1.2.0-1 amd64 GStreamer plugins from the "ugly" set
    ii libgstreamer-plugins-bad0.10-0:amd64 0.10.23-7ubuntu2 amd64 GStreamer shared libraries from the "bad" set
    ii libgstreamer-plugins-bad1.0-0:amd64 1.2.0-3ubuntu5 amd64 GStreamer development files for libraries from the "bad" set
    ii libgstreamer-plugins-base0.10-0:amd64 0.10.36-1.1ubuntu1 amd64 GStreamer libraries from the "base" set
    ii libgstreamer-plugins-base0.10-0:i386 0.10.36-1.1ubuntu1 i386 GStreamer libraries from the "base" set
    ii libgstreamer-plugins-base1.0-0:amd64 1.2.0-1ubuntu1 amd64 GStreamer libraries from the "base" set
    ii libgstreamer-plugins-good1.0-0:amd64 1.2.0-1ubuntu1 amd64 GStreamer development files for libraries from the "good" set
  • If you put alsa and the device is in use then guayadeque cant open it. In that case you must use dmix. Dunno if this is the case.
    For example, guayadeque itself will fail with crossfading enabled as it will need two pipelines working at the same time so two sound card access and alsa cant do that without sound dmix.
    I think there is some better explanation in this forum like
    http://guayadeque.org/index.php?p=/discussion/comment/3318#Comment_3318

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID

In this Discussion