Shell Executing 'aplay' from Node.js on Raspbian

Scott Elcomb psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Jul 5 18:12:08 UTC 2013


On Fri, Jul 5, 2013 at 1:43 PM, Myles Braithwaite
<me-qIX3qoPyADtH8hdXm2+x1laTQe2KTcn/@public.gmane.org> wrote:
> Have you tried manually setting the soundcard with the `-D` or `--device flag`?
>
> You can get a list of soundcards with `aplay --list-devices`.

The only device listed (from bash) is card0.  Dumping the output from
the express server shows no sound cards.

> Also if `server.js` is running a different user is it in the group
> `audio` or do they have a different `~/.asoundrc`?

It's the same user in both cases and the user belongs to the audio group.

-- 
  Scott Elcomb
  @psema4 on Twitter / Identi.ca / Github & more

  Atomic OS: Self Contained Microsystems
  http://code.google.com/p/atomos/

  Member of the Pirate Party of Canada
  http://www.pirateparty.ca/
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list