|
From: Bill F. <bil...@mi...> - 2002-06-20 03:32:18
|
On 19 Jun 2002, Dan Dennedy wrote:
> On Wed, 2002-06-19 at 14:49, Bill Fink wrote:
> > dv_oss_init(dv_audio_t *audio, dv_oss_t *oss)
> > {
> > - gint format = AFMT_S16_LE, rate_request, channels_request;
> > + gint format = AFMT_S16_NE, rate_request, channels_request;
> > gchar *device;
>
> Stefan, I am not that familiar with OSS or sound. I know this stands for
> audio format signed 16bit, but what is LE vs NE? Can you apply this
> patch with anything necessary to support it please?
From soundcard.h:
#if defined(_AIX) || defined(AIX) || defined(sparc) || defined(__sparc__) || defined(HPPA) || defined(PPC)
/* Big endian machines */
# define _PATCHKEY(id) (0xfd00|id)
# define AFMT_S16_NE AFMT_S16_BE
#else
# define _PATCHKEY(id) ((id<<8)|0xfd)
# define AFMT_S16_NE AFMT_S16_LE
#endif
> > Also related to the audio, how difficult would it be to add an option
> > --skip-video=n that would only decode and display every nth video frame,
> > since at the moment if I try and do both audio and video, the audio is
> > very stuttery and not understandable because my processor can't keep up
> > with the demands of decoding the full frame rate video?
>
> Do you care to contribute that yourself? Currently, we are trying to
> release libdv 0.9.6, and I thought we were ready until these issues
> popped up--particularly the endian detection issues. So, this is a lower
> priority right now.
I'll take a look at it. I admit that this part's not a high priority
though.
-Regards
-Bill
|