Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#17 Rezound playback error

closed
Davy Durham
None
7
2005-05-01
2004-10-28
Abi
No

Hello,

I love rezound; it entirely fulfills my needs.
Recently, however, I got a new laptop, and after
installing Rezound I received this error message when I
tried to play files I was creating/editing:

void CSoundPlayerChannel::play(unsigned int,
CSoundPlayerChannel::LoopTypes, bool) -- the sound
player is not initialized.

I've tried to fix it myself, looking on google as well
as source forge for similar problems/fixes, but I've
not found the answer. I thought maybe it was a problem
with the version I was using (0.10, then 0.9, and now
0.11.1), but I continue to have problems. I'm running
KDE 3.2 on Fedora Core 2, if that has any importance.
Everything else in Rezound works becuase I can edit and
record new files. Nevertheless I cannot PLAY files. Any
help is appreciated.

Thanks,
Abi

Discussion

  • Abi
    Abi
    2004-10-28

    • priority: 5 --> 7
    • assigned_to: nobody --> ddurham
     
  • Abi
    Abi
    2004-10-28

    • assigned_to: ddurham --> nobody
     
  • Davy Durham
    Davy Durham
    2004-10-28

    • assigned_to: nobody --> ddurham
     
  • Davy Durham
    Davy Durham
    2004-10-28

    Logged In: YES
    user_id=28588

    Run ReZound from the command line to see if it gives you any
    other information about why it couldn't initialize the sound
    device. It should tell you as soon as you start ReZound.

    0.11.1 is capable of using ALSA, but if your laptop is like
    mine, the sound card cannot to hardware mixing and the ALSA
    driver does not implement it in software. This means that
    if any other application has the sound device opened, then
    no other application can open it at the same time (because
    it is incapable of mixing the two applications' audio).
    Often KDE's aRts sound system is running and thus it has the
    sound card open some of the time.

    If it is the case that the sound card is opened by another
    application when you run ReZound then you should get a
    message that says something like 'device is already in use'
    or similar. aoss is a tool that I hear can fix the problem
    of implementing mixing in software. Of course the problem
    could be something different.

    Also, did you have ReZound playing files ever?

    -- Davy

     
  • Logged In: YES
    user_id=329690

    I have the same problem with audio output (haven't tested recording),
    using version 0.11.1beta.

    I am using ALSA (nForce2 - intel8x0) and there are no other programs
    using the device. Also, there are no errors when running from the
    command line, apart from the mentioned one.

    I managed to get sound output using jack.

    cheers
    Gustavo

     
  • Davy Durham
    Davy Durham
    2005-01-31

    Logged In: YES
    user_id=28588

    Does rezound output anything when you run it from the
    command line?

     
  • Logged In: YES
    user_id=329690

    Sorry for the long delay.

    Here's the output of rezound when running from the command line (this is
    the alsa version, I removed the jack version for this):

    $ rezound
    using path '/usr/share/rezound' for share data directory
    file: /home/gmichels/Msicas/Eletrnica/VA/Tried & Tested Euphoria/CD
    1/03 - DT8 Project - Winter.mp3
    lame command line: '/usr/bin/lame --decode
    "/home/gmichels/Msicas/Eletrnica/VA/Tried & Tested Euphoria/CD 1/03 -
    DT8 Project - Winter.mp3" -'
    ID3v2 found. Be aware that the ID3 tag is currently lost when
    transcoding.
    input: /home/gmichels/Msicas/Eletrnica/VA/Tried & Tested Euphoria/CD
    1/03 - DT8 Project - Winter.mp3
    (44.1 kHz, 2 channels, MPEG-1 Layer III)
    output: <stdout> (16 bit, Microsoft WAVE)
    skipping initial 1105 samples (encoder+decoder delay)
    Frame# 10075/10067 128 kbps L R
    error - void CSoundPlayerChannel::play(long long unsigned int,
    CSoundPlayerChannel::LoopTypes, bool) -- the sound player is not
    initialized

    The error shows up only after pressing "play" on the rezound UI.

     
  • Davy Durham
    Davy Durham
    2005-02-03

    Logged In: YES
    user_id=28588

    I think for you, the easy solution is to remove
    ~/.rezound/registry.dat but doing so will make rezound as
    if you ran it for the first time (probably not a bad thing)

    The longer answer is to remove the AudioInputMethods and
    AudioOutputMethods keys in that same file.

    Let me know if this helps.

     
  • Logged In: YES
    user_id=329690

    Hi

    I removed the registry.dat file and had the exact same problem.
    Also tried removing the whole .rezound folder, got the same.

    $ rm .rezound/registry.dat
    $ rezound
    using path '/usr/share/rezound' for share data directory
    file: /home/gmichels/Downloads/Deep Dish - Flashdance
    (Original Mix).mp3
    lame command line: '/usr/bin/lame --decode
    "/home/gmichels/Downloads/DeepDish - Flashdance (Original
    Mix).mp3" -'
    input: /home/gmichels/Downloads/Deep Dish - Flashdance
    (Original Mix).mp3
    (44.1 kHz, 2 channels, MPEG-1 Layer III)
    output: <stdout> (16 bit, Microsoft WAVE)
    skipping initial 1105 samples (encoder+decoder delay)
    Frame# 23163/23160 192 kbps

    error - void CSoundPlayerChannel::play(long long unsigned int,
    CSoundPlayerChannel::LoopTypes, bool) -- the sound player is
    not initialized

    I don't know if matters, but I use Gentoo and the source is
    compiled with the following options:

    media-sound/rezound-0.11.1_beta +alsa +flac -jack +nls
    +oggvorbis -oss -portaudio -soundtouch

    In the Gentoo packaging system, + means support enabled, -
    means support disabled. The ebuild also enables minimal
    defaults such as --enable-ladspa, --enable-largefile and
    --enable-internal-sample-type=float.

     
  • Davy Durham
    Davy Durham
    2005-02-03

    Logged In: YES
    user_id=28588

    Hmm.. strange..

    Well, I'm not too familiar with gentoo.. but I think I see
    you disabling all the audio methods except for ALSA. Is it
    possible that you don't have the alsa development package
    installed (which contains the static libs and header files)?
    You should have a /usr/include/alsa directory with ~25 .h
    files in it. Can you see the output of rezound's configure
    script? If so, make sure it says that the alsa test passed.

    And, if you're using the OSS emulation layer in alsa ( I
    would imagine you are) then rezound should work fine using
    OSS unless you were wanting to connect it to other
    applications (via the alsa stuff).

    -- Davy

     
  • Logged In: YES
    user_id=329690

    Hi

    Alsa development packages are installed (alsa-lib and
    alsa-headers, both version 1.0.7). There are 25 .h files
    in /usr/include/alsa and also a 'sound' folder with 8 files.

    I am using a pure alsa system, no oss emulation.

    After examining the configure script output, I don't see anything
    related to alsa tests. I uploaded the script output on the web
    [1] so you can take a look.

    [1] http://www.colortechdp.com.br/pessoal/rezound.txt

     
  • Davy Durham
    Davy Durham
    2005-02-03

    Logged In: YES
    user_id=28588

    Ok, I figure out the problem:

    When either --enable-alsa or --disable-alsa is given, it
    doesn't correctly look for the ALSA libs.. it does look for
    it by default if you don't specify either flag, so you
    should be good if you just leave off '--enable-alsa' It
    should look for it by default.

    Sorry about that.

    -- Davy

     
  • Davy Durham
    Davy Durham
    2005-05-01

    • status: open --> closed