Forum » Last.fm Client Support

Linux source code version alsa or esd support

 
  • Linux source code version alsa or esd support

    I know this has been asked before and answered too. If I understand things correctly last.fm Player 1.1.0 has support for at least alsa. However I can not find this version anywhere and the 1.0.4 sourcecode clearly still uses oss :(
    So where can I find it, or can we expect a new release any time soon?

    On the brightside, FYI: it (and QT4 ofcourse) does compile nicely on FC4 x86_64, so at least I have a native dynamic binary now, nice job!

    jb
  • You can check it out using subversion:
    svn co svn://svn.audioscrobbler.net/player/trunk

    • muesli said...
    • Alumni
    • 23 Nov 2005, 17:17

    plus

    version 1.1.1 is officially online, now. supporting alsa and oss.

    cheers,
    muesli

    • [Deleted user] said...
    • User
    • 23 Nov 2005, 22:51
    Version 1.1.1 is not working for me on my Ubuntu 5.10 install, which is disappointing to say the least as ALSA support was something I was looking forward to. In the settings there are three sound devices found, all with the same name but each with :0, :1 and :2 after the name respectively... when selecting the first the sound plays through my usb headset, which is no good to me as I want to use my speakers... when I select any of the other two the player immediately closes, just crashes plain and simple.

    <edit> Funny thing is, when using OSS with the first sound device selected it plays through the speakers fine... but I would really like proper ALSA support. Any word on what causes this to happen?

    • muesli said...
    • Alumni
    • 23 Nov 2005, 23:06

    Re:

    seems there is a problem with different hz settings. i'm looking into it.

    cheers,
    muesli

    Quoth gazam:
    Version 1.1.1 is not working for me on my Ubuntu 5.10 install, which is disappointing to say the least as ALSA support was something I was looking forward to. In the settings there are three sound devices found, all with the same name but each with :0, :1 and :2 after the name respectively... when selecting the first the sound plays through my usb headset, which is no good to me as I want to use my speakers... when I select any of the other two the player immediately closes, just crashes plain and simple.

    <edit> Funny thing is, when using OSS with the first sound device selected it plays through the speakers fine... but I would really like proper ALSA support. Any word on what causes this to happen?

  • nice

    Not working because of el cheapo on board sound @ 48.000 hz, but I know you're working on that. One question though, not that I'm a big alsa expert, but it why doesn't/can't it use ~/.asoundrc? For example:

    aplay /usr/share/sounds/startup3.wav
    Playing WAVE '/usr/share/sounds/startup3.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

    While Amarok is playing using gstreamer configured to use alsa and xmms is playing through the esd plugin, no problem at all!

    All it takes is a simple asoundrc that uses dmix for software mixing et voila, no more sound troubles ... that is for all software that doesn't try to get fancy with alsa or uses oss ;)

    BTW a 1.1.1 or higher source tarball would be nice, but in the meantime I'll give svn a try.

    jb
  • update

    Tried the svn version and got it to work by chaning samplerate to 48000, but alsa playback sucks :( It's contantly complaining about empty buffers and sound pauses every second or so.

    To answer my own question:

    "The ALSA implementation of RtAudio makes no use of the ALSA "plug" interface. All necessary data format conversions, channel compensation, de-interleaving, and byte-swapping is handled by internal RtAudio routines."

    So in other words all of this is mainly a huge waste of our (on your) time :/

    jb
  • Would be nice to be able to select a custom device, like dmix, or at least use the configured default device.

    • decklin said...
    • User
    • 8 Dec 2005, 20:21
    So the version in trunk now will not use my default output device? (Yes, mine's a dmix.)

    I'd like to try testing trunk, but this looks like a recipie for frustration. I also have a fixed-rate sound card but it's 44100 at least. /-:

    --
    things change.
  • crashes with linux 1.0.5

    I was seeing lots of segmentation faults with the 1.0.5 player right upon startup when using native oss or aoss. So I decided to run the player within gdb in order to see why it was crashing. For some reason it works flawlessly when run within gdb!

    Maybe this can be a good work-around for the crashes other are seeing as well.

  • Well it won't work for me (on Mandrake 10.1) here's what gdb says when I try to run the 1.0.5 player within it:


    [New Thread 1077307200 (LWP 12375)]

    RtApiOss: OSS playback device (/dev/dsp) is busy.


    RtApi: no devices found for given stream parameters.

    [New Thread 1086147504 (LWP 12378)]
    Changing station!

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 1077307200 (LWP 12375)]
    0x083c7cca in ?? ()
    (gdb)


    Is there not a source version somewhere?

    • hawk__ said...
    • User
    • 16 Dec 2005, 00:26
    I just checked out the source from svn and built it and must say that it's looking very promising! (And works very well for me so far, under Debian sid.)

    I hope the problems can be worked out soon so that we can get a 1.1.x release soon :)

    And please... make real use of ALSA. On the machine I use now, it doesn't matter much, but if what I read earlier in the thread is still the case, it will surely cause issues.

    • decklin said...
    • User
    • 21 Dec 2005, 20:53
    Oh, yeah, I suppose I should update this. ALSA is working for me with trunk. Once or twice I've seen a process hand around with a pcm open after closing the window and had to kill it manually, but otherwise, no problems.

    --
    things change.
    • ileoo said...
    • User
    • 27 Dec 2005, 12:30
    Todays update on svn code and seems that alsa is working for me too (48kHz samplerate card) but it gives a lot Buffer empty! errors in console and playback is kinda jerky because of that.

    • ileoo said...
    • User
    • 6 Jan 2006, 12:58

    Re:

    Just checked out new svn, and buffer problem is solved for me, great :)

Anonymous users may not post messages. Please log in or create an account to post in the forums.