Displaying 6 results from an estimated 6 matches for "uint_32".
Did you mean:
uint32
2002 Jul 31
2
new rsync release needed soon?
On the subject of needed patches, I just recently completed a patch for
librsync that fixed the mdfour code to have uint_64 or 2 uint_32's for
size. Without this, the checksums on files >512Megs are incorrect. The
code should drop into rsync without a hitch. The same goes for mdfour in
samba, becuase that is where librsync got the code from anyway.
Robert Weber
University of Colorado
Boulder
--------
&g...
2002 Apr 11
1
libao: IRIX patch
...return 1;
}
-/*
- * play the sample to the already opened file descriptor
- */
-int ao_plugin_play(ao_device *device, const char *output_samples,
+/* Play the sampled audio data to the already opened device. */
+int ao_plugin_play(ao_device *device, const char *output_samples,
uint_32 num_bytes)
{
+ uint_32 num_frames;
ao_irix_internal *internal = (ao_irix_internal *) device->internal;
-
- alWriteFrames(internal->alport, output_samples, num_bytes);
+
+ num_frames = num_bytes;
+ num_frames /= internal->bytesPerSample;
+ num_frames /= internal->channels;...
2000 Aug 12
1
libao patch: Minor clean up / Byte-order proposal
...7/22 01:57:05 1.1
+++ vorbis-tools/libao/ao_alsa.c 2000/08/13 00:30:01
@@ -38,7 +38,7 @@
typedef struct ao_alsa_internal_s
{
snd_pcm_t *pcm_handle;
- void *buf;
+ char *buf;
int buf_size;
int buf_end;
int card;
@@ -191,9 +191,9 @@
ao_alsa_play (ao_internal_t *state, void* output_samples, uint_32 num_bytes)
{
ao_alsa_internal_t *s = (ao_alsa_internal_t *) state;
- snd_pcm_t *pcm_handle = s->pcm_handle;
int packed = 0;
int copy_len;
+ char *samples = (char *) output_samples;
while (packed < num_bytes)
{
@@ -203,9 +203,7 @@
else
copy_len = s->buf_size-s->buf_en...
2008 Dec 08
0
sndio support for libao
...= format->bits;
+ par.rate = format->rate;
+ par.pchan = format->channels;
+ if (!sio_setpar(hdl, &par))
+ return 0;
+ device->driver_byte_format = AO_FMT_NATIVE;
+ if (!sio_start(hdl))
+ return 0;
+ return 1;
+}
+
+int ao_plugin_play(ao_device *device, const char *output_samples, uint_32 num_bytes)
+{
+ struct sio_hdl *hdl = (struct sio_hdl *)device->internal;
+
+ if (!sio_write(hdl, output_samples, num_bytes))
+ return 0;
+ return 1;
+}
+
+int ao_plugin_close(ao_device *device)
+{
+ struct sio_hdl *hdl = (struct sio_hdl *)device->internal;
+
+ if (!sio_stop(hdl))
+ return...
2000 Dec 27
1
ao_arts
Hi,
I've written an ao plugin for aRts, the soundserver that comes with KDE.
Any chance of including this in the ao distribution ? Pretty please ? :)
Sources and patches attached. This is a very simple plugin because it
uses the easy-to-use 'artsc' C wrapper that aRts installs.
configure.in.diff is for ao/configure.in
Makefile.am.diff is for ao/src/plugins/Makefile.am
Makefile.am
2012 Oct 11
1
[LLVMdev] CBE progress and design
...I think that the target should reflect the C language. You can turn i64 to int64_t, etc. I think that you can avoid all of the target-specific details of C, like sizeof. In that case, you can define an arbitrary target. The new target will support all of the types that C supports (such as i32 for uint_32, i8 for char, etc).
>
I have been thinking about this but one of the main target compilers I
would like to support doesn't have support for int64_t so the
availability of such features should be optional for me in a new
'generic C' target, that's why I was proposing the alter...