Skip to content

audio_portaudio.c will not compile if #define DEBUG 1audio_wait in  #454

Open
@vk2tds

Description

@vk2tds

In looking for an issue, I added a define for DEBUG in audio_portaudio.c. If this is defined, the following code will not compile, as err is not defined. Removing the err helps , but I am not sure this is the correct solution

void audio_wait (int a)
{
audio_flush(a);

#if DEBUG
text_color_set(DW_COLOR_DEBUG);
dw_printf ("audio_wait(): after sync, status=%d\n", err);
#endif
} /* end audio_wait */

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions