ESD problems. (was Re: Ready To Run for 1.0.50)



> The 'esound' in CVS is AFAIK ready to go for GNOME 1.0.50 at this point.

    esound in CVS (2 hrs ago) doesn't compile correctly with alsa 0.4.1a as
the alsa api changed.
    There are 2 type definitions to change, 1 macro and 1 function name in
audio_alsa.c

Line 14:
    void *handle;
    becomes
    snd_pcm_t *handle;

In esd_audio_open ()
    void *ctl_handle;
    becomes
    snd_ctl_t *ctl_handle;

and (in the same function)
    if( mode == SND_PCM_OPEN_DUPLEX || mode == SND_PCM_OPEN_RECORD ) {
        if ( ( ret = snd_pcm_record_format( handle, &format ) ) < 0 ) {

    becomes
    if( mode == SND_PCM_OPEN_DUPLEX || mode == SND_PCM_OPEN_CAPTURE ) {
        if ( ( ret = snd_pcm_capture_format( handle, &format ) ) < 0 ) {

    Sorry these aren't in a patch format, but I'm running windows at the
moment, and don't have the original files to hand.

    Iain



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]