Displaying 3 results from an estimated 3 matches for "nthc".
Did you mean:
nth
2006 Jan 27
0
patch for bugs in vorbis-tools-1.1.1
...ote this patch to fix them:
1st part is to fix single-channel flac files.
2nd part fixes a problem with thread race causing lockup if you press
Ctrl-C
Ctrl-C sets sig_request.cancel, buffer thread exits if it sees
sig_request.cancel
However, if Ctrl-C was pressed here
do {
if (nthc-- == 0) {
----------------> Ctrl-C
if (audio_buffer)
buffer_submit_data(audio_buffer, convbuffer, ret);
else
audio_play_callback(convbuffer, ret, eos, &audio_play_arg);
nthc = options.nth - 1;
}
, the code gets into buffer_...
2004 Sep 30
1
[don@donarmstrong.com: Bug#274301: libflac4 segfaults on corrupt flac files]
...}
decoder_callbacks_arg = (void *) 0x407ed008
old_audio_fmt = {big_endian = 0, word_size = 0, signed_sample = 0, rate = 0, channels = 0}
new_audio_fmt = {big_endian = 0, word_size = 2, signed_sample = 1, rate = 0, channels = 0}
reopen_arg = (audio_reopen_arg_t *) 0x0
eof = 0
eos = 0
ret = 0
nthc = 0
ntimesc = 0
next_status = 0
status_interval = 0
#9 0x0804fd23 in main (argc=2, argv=0xbffff584) at ../../ogg123/ogg123.c:393
optind = 1
playlist_array = (char **) 0x805b8c0
items = 1
stat_buf = {st_dev = 2073, __pad1 = 0, st_ino = 3041522, st_mode = 33188, st_nlink = 1, st_uid = 1000, s...
2002 Oct 05
2
ogg123 remote interface
...audio_format_t old_audio_fmt = { 0, 0, 0, 0, 0 };
+ int status_interval = 0;
audio_format_t new_audio_fmt;
audio_reopen_arg_t *reopen_arg;
+
+ decoder_callbacks_t decoder_callbacks;
+ void *decoder_callbacks_arg;
- /* Flags and counters galore */
- int eof = 0, eos = 0, ret;
- int nthc = 0, ntimesc = 0;
- int next_status = 0;
- static int status_interval = 0;
-
- /* Reset all of the signal flags */
- sig_request.cancel = 0;
- sig_request.skipfile = 0;
- sig_request.exit = 0;
- sig_request.pause = 0;
-
+ char *convbuffer;
+ int convsize = AUDIO_CHUNK_SIZE;
+
+...