ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

alsa-lib_pcm_h.patch (1150B)


      1 --- alsa-lib-1.0.25/include/pcm.h
      2 +++ alsa-lib-1.0.25.patched/include/pcm.h
      3 @@ -33,6 +33,7 @@
      4  extern "C" {
      5  #endif
      6  
      7 +#include <stdint.h>
      8  /**
      9   *  \defgroup PCM PCM Interface
     10   *  See the \ref pcm page for more details.
     11 @@ -941,10 +942,10 @@
     12  int snd_pcm_format_physical_width(snd_pcm_format_t format);		/* in bits */
     13  snd_pcm_format_t snd_pcm_build_linear_format(int width, int pwidth, int unsignd, int big_endian);
     14  ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples);
     15 -u_int8_t snd_pcm_format_silence(snd_pcm_format_t format);
     16 -u_int16_t snd_pcm_format_silence_16(snd_pcm_format_t format);
     17 -u_int32_t snd_pcm_format_silence_32(snd_pcm_format_t format);
     18 -u_int64_t snd_pcm_format_silence_64(snd_pcm_format_t format);
     19 +uint8_t snd_pcm_format_silence(snd_pcm_format_t format);
     20 +uint16_t snd_pcm_format_silence_16(snd_pcm_format_t format);
     21 +uint32_t snd_pcm_format_silence_32(snd_pcm_format_t format);
     22 +uint64_t snd_pcm_format_silence_64(snd_pcm_format_t format);
     23  int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int samples);
     24  
     25  snd_pcm_sframes_t snd_pcm_bytes_to_frames(snd_pcm_t *pcm, ssize_t bytes);