[alsa-devel] Forward/rewind APIs return 0
Aggarwal, Anuj
anuj.aggarwal at ti.com
Sun May 18 19:08:16 CEST 2008
Hi,
I am still waiting for any clues. Please help.
Thanks and Regards,
Anuj Aggarwal
-----Original Message-----
From: alsa-devel-bounces at alsa-project.org [mailto:alsa-devel-bounces at alsa-project.org] On Behalf Of Aggarwal, Anuj
Sent: Friday, May 16, 2008 4:26 PM
To: alsa-devel at alsa-project.org
Subject: Re: [alsa-devel] Forward/rewind APIs return 0
The output from snd_pcm_status_dump () is as below:
Playback Buffer number:2
STRecordAudio: Success for buffer 2, 1078935560
STPlaybackAudio: Success for buffer 2, 1078935560
Before:
state : RUNNING
trigger_time: 4621.974609375
tstamp : 4656.881958007
delay : 32739
avail : 29
avail_max : 2048
Playback : Forward No Action
After:
state : RUNNING
trigger_time: 4621.974609375
tstamp : 4656.882232666
delay : 32726
avail : 42
avail_max : 42
Playback Buffer number:2
STRecordAudio: Success for buffer 3, 1079988232
STPlaybackAudio: Success for buffer 2, 1078935560
Before:
state : RUNNING
trigger_time: 4621.974609375
tstamp : 4668.769989013
delay : 32740
avail : 28
avail_max : 2048
Playback : Forward No Action
After:
state : RUNNING
trigger_time: 4621.974609375
tstamp : 4668.770141601
delay : 32733
avail : 35
avail_max : 35
Playback Buffer number:2
I am able to jump but snd_pcm_forward() returns 0. Any sample showing the usage will really help.
Thanks and Regards,
Anuj Aggarwal
-----Original Message-----
From: Jaroslav Kysela [mailto:perex at perex.cz]
Sent: Thursday, May 15, 2008 5:00 PM
To: Aggarwal, Anuj
Cc: alsa-devel at alsa-project.org
Subject: RE: [alsa-devel] Forward/rewind APIs return 0
On Thu, 15 May 2008, Aggarwal, Anuj wrote:
> Please find the output from snd_pcm_dump() attached.
Ok, replace snd_pcm_dump() with snd_pcm_status_dump() and send output
again, please. Also, if you can send me (privately) your test code, I'll
try to check it and reproduce the problem.
Jaroslav
-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
Alsa-devel at alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
More information about the Alsa-devel
mailing list