Re: Forward/rewind APIs return 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx]
Sent: Thursday, May 15, 2008 5:00 PM
To: Aggarwal, Anuj
Cc: alsa-devel@xxxxxxxxxxxxxxxx
Subject: RE:  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@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux