All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Joël Krähemann" <weedlight@gmail.com>
To: "Carpon frédéric" <frederic.carpon@yahoo.fr>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: A minimal playback program does't work on my system
Date: Sat, 16 Aug 2014 02:36:01 +0200	[thread overview]
Message-ID: <1408149361.5228.2.camel@debian> (raw)
In-Reply-To: <1408123183.97230.YahooMailNeo@web171303.mail.ir2.yahoo.com>

On Fri, 2014-08-15 at 18:19 +0100, Carpon frédéric wrote:
> Hello,
> 
> Yesterday i have written.
> I answer to everybody. I am new and I don't know if there is special rule. 
> Note : It would be good to have a forum to see the messages and answers in a pretty form. 
> 
> the programme in c comes from 
> 
> http://equalarea.com/paul/alsa-audio.html
> you can download it at
> https://mon-partage.fr/f/uvyw39wo/
> 
> To answer to Michael i have sound in my HDMI with that : 
> >speaker-test -c2 -D hw:0,0
> 
> so i did that 
> >gcc -o    minimal_playback     minimal_playback.c     -lasound (warning comes)
> and
> >./minimal_playback "plughw:0,0"
> and i have this result :
> >Error of segmentation
> 
> Where i can an exemple with the possibility to do something like that  :
> >./minimal_playback  "plughw:0,0"  "mywave.wav"
> 
> 
> Thank you for your help
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Probably you want to use a library that does type and endianes
conversion like:

http://www.mega-nerd.com/libsndfile/

 

  parent reply	other threads:[~2014-08-16  0:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-15 17:19 A minimal playback program does't work on my system Carpon frédéric
2014-08-15 17:31 ` Michael Trimarchi
2014-08-16 11:50   ` Michael Trimarchi
2014-08-16 11:52     ` Michael Trimarchi
2014-08-16  0:36 ` Joël Krähemann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-08-14 16:42 A Minimal Playback Program " Carpon frédéric
2014-08-14 16:44 ` Michael Trimarchi
2014-08-14 17:34 ` Clemens Ladisch

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-all from there: mbox

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

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

  git send-email \
    --in-reply-to=1408149361.5228.2.camel@debian \
    --to=weedlight@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=frederic.carpon@yahoo.fr \
    /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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.