public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
* ALSA and MP3
@ 2009-08-13  8:18 gammay
  2009-08-13  9:23 ` Colin Guthrie
  0 siblings, 1 reply; 2+ messages in thread
From: gammay @ 2009-08-13  8:18 UTC (permalink / raw)
  To: alsa-devel

Hello,
I am looking at making this product use case possible:
Audio samples are streamed over wire/wireless from a source device to a sink
device. The streaming format is in mp3. On the source device I need to
capture locally played mp3 samples and stream to the sink device. The sink
device takes care of uncompressing and playback.

Can we capture compressed mp3 streams directly using ALSA? It is possible to
capture uncompressed PCM samples using file plug or by other means in
ALSA. While it is possible to directly read from the mp3 file, I would
rather grap the samples that a media player sends out because a) it takes
care of timing b) I can control the media player to play/pause the stream
and for playlist management. For the user it is transperent - he/she will
use only the local media player to control the streaming.

I am not sure if this lies in the domain of ALSA at all - as I understand
once we are in ALSA we are dealing with only PCM. In such case, please give
me some pointers where I can look at to make this possible. I am using
mplayer, but can also look at other types (non-GUI, command-line based). Can
we do this in a non-media player specific way?

Thank you,
Girish

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-13  9:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-13  8:18 ALSA and MP3 gammay
2009-08-13  9:23 ` Colin Guthrie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox