search for: ao_open_live

Displaying 6 results from an estimated 6 matches for "ao_open_live".

Did you mean: ao_open_file
2009 Oct 06
0
[ao] Two patches for libao2
...m e905c74eca5c504d1665125df7a9523a685b987f Mon Sep 17 00:00:00 2001 > From: Heikki Orsila <heikki.orsila at iki.fi> > Date: Sun, 30 Aug 2009 23:46:48 +0300 > Subject: [PATCH 2/2] Make driver specific options configurable > > --- > doc/ao_open_file.html | 3 ++- > doc/ao_open_live.html | 3 ++- > doc/config.html | 4 ++++ > libao.conf.5 | 4 ++++ > src/ao_private.h | 3 +++ > src/audio_out.c | 8 ++++++-- > src/config.c | 32 +++++++++++++++++++++++--------- > 7 files changed, 44 insertions(+), 13 deletion...
2013 Jun 03
0
libao on Debian
...driver(): id = %d\n", id) ; exit(EXIT_FAILURE) ; } fmt.bits = 16 ; // bits per sample fmt.rate = sr ; // sampling rate fmt.channels = nchan ; // channel count fmt.byte_format = AO_FMT_NATIVE ; fmt.matrix = "L,R" ; if ( ( device = ao_open_live(id, &fmt, NULL) ) == NULL ) { fprintf(stderr,"Error in ao_open_live()\n") ; exit(EXIT_FAILURE) ; } if ( ( r = ao_play(device, sound, nBytes) ) == 0 ) { fprintf(stderr,"Error in ao_play()\n") ; exit(EXIT_FAILURE) ; } i...
2001 Aug 21
2
ao changes
Why has ao been changed so that there are now two open() functions ? IMHO the original ao_open() was fine - if you wanted to set the filename for output, you could add an option via ao_append_option and if you wanted to avoid overwriting an existing file, you could stat() it yourself. Having ao_open_live() and ao_open_file() just makes more work for the user of the library for no gain, AFAICT. Rik --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing...
2001 Aug 21
2
ao changes
Why has ao been changed so that there are now two open() functions ? IMHO the original ao_open() was fine - if you wanted to set the filename for output, you could add an option via ao_append_option and if you wanted to avoid overwriting an existing file, you could stat() it yourself. Having ao_open_live() and ao_open_file() just makes more work for the user of the library for no gain, AFAICT. Rik --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing...
2013 Dec 04
1
endian problems with AIFF and WAV
...f ((sf_info.format & SF_FORMAT_PCM_U8) == SF_FORMAT_PCM_U8) format.bits = 8; // format.bits = 32; printf("%x\n", sf_info.format); printf("bits: %d\n", format.bits); format.channels = sf_info.channels; format.rate = sf_info.samplerate; device = ao_open_live(default_driver, &format, NULL /* no options */); if (device == NULL) { printf("Error opening sound device.\n"); exit(1); } buffer = malloc(sizeof(int) * sf_info.frames * sf_info.channels); frames_read = sf_read_int(sndfile, buffer, sf_info.frames...
2003 Jan 16
1
Several problems with ogg123
...44100, host=0x0, name=0x28404da0 "libao output") at esdlib.c:738 #5 0x28404a6d in ao_plugin_open (device=0x806a7c0, format=0xbfafef34) at ao_esd.c:138 #6 0x280bb7bf in _open_device (driver_id=5, format=0xbfafef34, options=0x0, file=0x0) at audio_out.c:462 #7 0x280bba3f in ao_open_live (driver_id=5, format=0xbfafef34, options=0x0) at audio_out.c:583 #8 0x804b514 in audio_reopen_action (buf=0x8075000, arg=0x80c20d0) at callbacks.c:60 #9 0x804a43e in execute_actions (buf=0x8075000, action_list=0x8075050, position=0) at buffer.c:148 #10 0x804a65f in buffer_thread_func...