sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: "Måns Rullgård" <mans@mansr.com>
To: "Peter P." <peterparker@fastmail.com>
Cc: sox-users@lists.sourceforge.net
Subject: Re: play WARN alsa: under-run
Date: Tue, 10 Jul 2018 19:44:20 +0100	[thread overview]
Message-ID: <yw1xzhyzvsl7.fsf@mansr.com> (raw)
In-Reply-To: <20180710180855.gxzwypesnv2zhehc@fastmail.com> (Peter P.'s message of "Tue, 10 Jul 2018 20:08:55 +0200")

"Peter P." <peterparker@fastmail.com> writes:

> Hi,
>
> I am trying to play back a wav file on a raspberry pi 1 with play from
> SoX v14.4.2. I do get dropouts with the following message:
>
> 	play WARN alsa: under-run
>
> I tried different values of --buffer but am not sure if this is
> respected by the play command, or if it is just about sox's processing
> blocks.
>
> Does anyone know how I can adjust alsa buffer sizes for the play
> command? Furthermore, does the play command support jackd?

The ALSA buffer size tracks the --buffer argument within the constraints
of the driver.  Since the RPi 1 is a rather low-performing system, it is
quite possible that it is simply too slow to keep up regardless of
buffer size.

-- 
Måns Rullgård

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

  reply	other threads:[~2018-07-10 18:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-10 18:08 play WARN alsa: under-run Peter P.
2018-07-10 18:44 ` Måns Rullgård [this message]
2018-07-10 18:51   ` Peter P.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-users

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yw1xzhyzvsl7.fsf@mansr.com \
    --to=sox-users@lists.sourceforge.net \
    --cc=peterparker@fastmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).