* unable to do simultaneous playback and recording
@ 2009-08-18 12:05 prashant chopade
2009-08-19 12:20 ` Takashi Iwai
0 siblings, 1 reply; 8+ messages in thread
From: prashant chopade @ 2009-08-18 12:05 UTC (permalink / raw)
To: alsa-devel
Hello,
We using linux-2.6.27 on target board-AT91SAM9263EK.
We are using ALSA library utilities (aplay &
arecord). But by using these utilities we can’t do simultaneous playback and
recording.
We performed following activity to come to this conclusion:
//At the background we were recording
#arecord –f cd record_test_file &
//At the forefront we were playing pre-recorded audio file
#aplay –f cd pre_recorded_file
Our observation is that, recording stops when start playing
file.
Kindly need your guidance for simultaneous playback and
recording of an audio file.
Appreciates your help if you provide sample test programs (using ALSA API) for recording.
Thanks & Regards,
Prashant C.
Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: unable to do simultaneous playback and recording
2009-08-18 12:05 unable to do simultaneous playback and recording prashant chopade
@ 2009-08-19 12:20 ` Takashi Iwai
2009-08-20 6:15 ` prashant chopade
0 siblings, 1 reply; 8+ messages in thread
From: Takashi Iwai @ 2009-08-19 12:20 UTC (permalink / raw)
To: prashant chopade; +Cc: alsa-devel
At Tue, 18 Aug 2009 05:05:10 -0700 (PDT),
prashant chopade wrote:
>
>
>
>
>
> Hello,
>
> We using linux-2.6.27 on target board-AT91SAM9263EK.
> We are using ALSA library utilities (aplay &
> arecord). But by using these utilities we can’t do simultaneous playback and
> recording.
>
>
>
> We performed following activity to come to this conclusion:
>
>
>
> //At the background we were recording
>
> #arecord –f cd record_test_file &
>
>
>
> //At the forefront we were playing pre-recorded audio file
>
> #aplay –f cd pre_recorded_file
>
>
>
> Our observation is that, recording stops when start playing
> file.
In the API side, the above should work fine. It must be the driver
that doesn't work with full-duplex.
Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: unable to do simultaneous playback and recording
2009-08-19 12:20 ` Takashi Iwai
@ 2009-08-20 6:15 ` prashant chopade
2009-08-20 6:39 ` Takashi Iwai
2009-08-20 6:49 ` Clemens Ladisch
0 siblings, 2 replies; 8+ messages in thread
From: prashant chopade @ 2009-08-20 6:15 UTC (permalink / raw)
To: alsa-devel; +Cc: Takashi Iwai
Hello,
As per discussion, I know that ALSA driver does not have support for simultaneous playback and recording.
We are using AD1981B codec, so our hardware has a support for simultaneous playback and recording of an audio.
So what exactly I have to do to get a support for simultaneous playback and recording?
Shall I have to use sound server demons?
Is it really possible to do simultaneous playback and recording in linux?
Thanks & Regards,
Prashant C.
--- On Wed, 19/8/09, Takashi Iwai <tiwai@suse.de> wrote:
From: Takashi Iwai <tiwai@suse.de>
Subject: Re: [alsa-devel] unable to do simultaneous playback and recording
To: "prashant chopade" <prashantchopade@yahoo.com>
Cc: alsa-devel@alsa-project.org
Date: Wednesday, 19 August, 2009, 5:50 PM
At Tue, 18 Aug 2009 05:05:10 -0700 (PDT),
prashant chopade wrote:
>
>
>
>
>
> Hello,
>
> We using linux-2.6.27 on target board-AT91SAM9263EK.
> We are using ALSA library utilities (aplay &
> arecord). But by using these utilities we can’t do simultaneous playback and
> recording.
>
>
>
> We performed following activity to come to this conclusion:
>
>
>
> //At the background we were recording
>
> #arecord –f cd record_test_file &
>
>
>
> //At the forefront we were playing pre-recorded audio file
>
> #aplay –f cd pre_recorded_file
>
>
>
> Our observation is that, recording stops when start playing
> file.
In the API side, the above should work fine. It must be the driver
that doesn't work with full-duplex.
Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Yahoo! recommends that you upgrade to the new and safer Internet Explorer 8. http://downloads.yahoo.com/in/internetexplorer/
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: unable to do simultaneous playback and recording
2009-08-20 6:15 ` prashant chopade
@ 2009-08-20 6:39 ` Takashi Iwai
2009-08-20 6:49 ` Clemens Ladisch
1 sibling, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2009-08-20 6:39 UTC (permalink / raw)
To: prashant chopade; +Cc: alsa-devel
At Thu, 20 Aug 2009 11:45:40 +0530 (IST),
prashant chopade wrote:
>
> Hello,
>
> As per discussion, I know that ALSA driver does not have support for
> simultaneous playback and recording.
Huh? The full-duplex is of course supported.
Your example shown in the thread doesn't indicate the multi playbacks
or so.
> We are using AD1981B codec, so our hardware has a support for
> simultaneous playback and recording of an audio.
I think you are confused.
> So what exactly I have to do to get a support for simultaneous
> playback and recording?
> Shall I have to use sound server demons?
>
> Is it really possible to do simultaneous playback and recording in
> linux?
Define your meaning of "simultaneous playback and recording" more
exactly.
If it's about full-duplex, the answer is definitely yes.
If it's multi-streams, the answer is yes, but there are choices, e.g.
dmix/dsnoop plugin or a sound server.
Takashi
>
> Thanks & Regards,
> Prashant C.
>
>
> --- On Wed, 19/8/09, Takashi Iwai <tiwai@suse.de> wrote:
>
> From: Takashi Iwai <tiwai@suse.de>
> Subject: Re: [alsa-devel] unable to do simultaneous playback and recording
> To: "prashant chopade" <prashantchopade@yahoo.com>
> Cc: alsa-devel@alsa-project.org
> Date: Wednesday, 19 August, 2009, 5:50 PM
>
> At Tue, 18 Aug 2009 05:05:10 -0700 (PDT),
> prashant chopade wrote:
> >
> >
> >
> >
> >
> > Hello,
> >
> > We using linux-2.6.27 on target board-AT91SAM9263EK.
> > We are using ALSA library utilities (aplay &
> > arecord). But by using these utilities we can’t do simultaneous playback and
> > recording.
> >
> >
> >
> > We performed following activity to come to this conclusion:
> >
> >
> >
> > //At the background we were recording
> >
> > #arecord –f cd record_test_file &
> >
> >
> >
> > //At the forefront we were playing pre-recorded audio file
> >
> > #aplay –f cd pre_recorded_file
> >
> >
> >
> > Our observation is that, recording stops when start playing
> > file.
>
> In the API side, the above should work fine. It must be the driver
> that doesn't work with full-duplex.
>
>
> Takashi
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
>
>
> Yahoo! recommends that you upgrade to the new and safer Internet Explorer 8. http://downloads.yahoo.com/in/internetexplorer/
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: unable to do simultaneous playback and recording
2009-08-20 6:15 ` prashant chopade
2009-08-20 6:39 ` Takashi Iwai
@ 2009-08-20 6:49 ` Clemens Ladisch
2009-08-20 11:18 ` prashant chopade
1 sibling, 1 reply; 8+ messages in thread
From: Clemens Ladisch @ 2009-08-20 6:49 UTC (permalink / raw)
To: prashant chopade; +Cc: Takashi Iwai, alsa-devel
prashant chopade wrote:
> As per discussion, I know that ALSA driver does not have support for
> simultaneous playback and recording.
ALSA _does_ support full duplex, if the hardware and driver support it.
> We are using AD1981B codec, so our hardware has a support for
> simultaneous playback and recording of an audio.
It looks as if your AC'97 controller driver is buggy.
Best regards,
Clemens
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: unable to do simultaneous playback and recording
@ 2009-08-20 10:05 prashant chopade
2009-08-20 10:10 ` Takashi Iwai
0 siblings, 1 reply; 8+ messages in thread
From: prashant chopade @ 2009-08-20 10:05 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
Hello,
My understandings:
>Define your meaning of "simultaneous playback and recording" more
>exactly.
I mean: Playing audio file stored on disk on speaker and at the same time recording audio from MIC and storing it on disk.
I don,t want to do multiplayback, I mean i don,t want to play two or more audio files at a time.
So you are saying that my driver(ATMEL-AT91SAM9263-AC97c) is not supporting the full duplex mode?
Thanks & Regards,
Prashant C.
>prashant chopade wrote:
>
> Hello,
>
> As per discussion, I know that ALSA driver does not have support for
> simultaneous playback and recording.
Huh? The full-duplex is of course supported.
Your example shown in the thread doesn't indicate the multi playbacks
or so.
> We are using AD1981B codec, so our hardware has a support for
> simultaneous playback and recording of an audio.
I think you are confused.
> So what exactly I have to do to get a support for simultaneous
> playback and recording?
> Shall I have to use sound server demons?
>
> Is it really possible to do simultaneous playback and recording in
> linux?
Define your meaning of "simultaneous playback and recording" more
exactly.
If it's about full-duplex, the answer is definitely yes.
If it's multi-streams, the answer is yes, but there are
choices, e.g.
dmix/dsnoop plugin or a sound server.
Takashi
> prashant chopade wrote:
> >
> >
> >
> >
> >
> > Hello,
> >
> > We using linux-2.6.27 on target board-AT91SAM9263EK.
> > We are using ALSA library utilities (aplay &
> > arecord). But by using these utilities we can’t do simultaneous playback and
> > recording.
> >
> >
> >
> > We performed following activity to come to this conclusion:
> >
> >
> >
> > //At the background we were recording
> >
> > #arecord –f cd record_test_file &
> >
> >
> >
> > //At the forefront we were playing pre-recorded audio file
> >
> > #aplay –f cd pre_recorded_file
> >
> >
> >
> > Our observation is that, recording stops when start playing
> > file.
>
> In the API side, the above should work fine. It must be the driver
> that doesn't work with full-duplex.
>
>
> Takashi
Yahoo! recommends that you upgrade to the new and safer Internet Explorer 8. http://downloads.yahoo.com/in/internetexplorer/
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: unable to do simultaneous playback and recording
2009-08-20 10:05 prashant chopade
@ 2009-08-20 10:10 ` Takashi Iwai
0 siblings, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2009-08-20 10:10 UTC (permalink / raw)
To: prashant chopade; +Cc: alsa-devel
At Thu, 20 Aug 2009 15:35:41 +0530 (IST),
prashant chopade wrote:
>
> Hello,
>
> My understandings:
>
> >Define your meaning of "simultaneous playback and recording" more
> >exactly.
>
> I mean: Playing audio file stored on disk on speaker and at the same time recording audio from MIC and storing it on disk.
>
> I don,t want to do multiplayback, I mean i don,t want to play two or more audio files at a time.
>
> So you are saying that my driver(ATMEL-AT91SAM9263-AC97c) is not supporting the full duplex mode?
Yes.
Takashi
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: unable to do simultaneous playback and recording
2009-08-20 6:49 ` Clemens Ladisch
@ 2009-08-20 11:18 ` prashant chopade
0 siblings, 0 replies; 8+ messages in thread
From: prashant chopade @ 2009-08-20 11:18 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: Takashi Iwai, alsa-devel
Hello,
How to check my AT91SAM9263-EK - AC97C hardware driver is not supporting simultaneous playback and recording of an audio?
Thanks & Regards,
Prashant C.
--- On Thu, 20/8/09, Clemens Ladisch <clemens@ladisch.de> wrote:
From: Clemens Ladisch <clemens@ladisch.de>
Subject: Re: [alsa-devel] unable to do simultaneous playback and recording
To: "prashant chopade" <prashantchopade@yahoo.com>
Cc: "Takashi Iwai" <tiwai@suse.de>, alsa-devel@alsa-project.org
Date: Thursday, 20 August, 2009, 12:19 PM
prashant chopade wrote:
> As per discussion, I know that ALSA driver does not have support for
> simultaneous playback and recording.
ALSA _does_ support full duplex, if the hardware and driver support it.
> We are using AD1981B codec, so our hardware has a support for
> simultaneous playback and recording of an audio.
It looks as if your AC'97 controller driver is buggy.
Best regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Yahoo! recommends that you upgrade to the new and safer Internet Explorer 8. http://downloads.yahoo.com/in/internetexplorer/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-08-20 11:24 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-18 12:05 unable to do simultaneous playback and recording prashant chopade
2009-08-19 12:20 ` Takashi Iwai
2009-08-20 6:15 ` prashant chopade
2009-08-20 6:39 ` Takashi Iwai
2009-08-20 6:49 ` Clemens Ladisch
2009-08-20 11:18 ` prashant chopade
-- strict thread matches above, loose matches on Subject: below --
2009-08-20 10:05 prashant chopade
2009-08-20 10:10 ` Takashi Iwai
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.