Skip to content

Commit

Permalink
libout123: more AOQUIET for sndio
Browse files Browse the repository at this point in the history
git-svn-id: svn://scm.orgis.org/mpg123/trunk@5459 35dc7657-300d-0410-a2e5-dc2837fedb53
  • Loading branch information
thor committed Dec 8, 2024
1 parent 85d717e commit dd62793
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/libout123/modules/sndio.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ static int open_sndio(out123_handle *ao)
hdl = sio_open(ao->device /* NULL is fine */, SIO_PLAY, 0);
if (hdl == NULL)
{
error("Got nothing from sio_open(). ");
if(!AOQUIET)
error("Got nothing from sio_open(). ");
return -1;
}

Expand All @@ -152,7 +153,8 @@ static int open_sndio(out123_handle *ao)
hdl = sio_open(ao->device, SIO_PLAY, 0);
if(hdl == NULL)
{
error("Re-opening of device for channel guessing failed.");
if(!AOQUIET)
error("Re-opening of device for channel guessing failed.");
return -1;
}
par.pchan = guess_channels(hdl);
Expand Down

0 comments on commit dd62793

Please sign in to comment.