Chris Robinson
e60e0761f5
Use the default channel layout in alffplay if one isn't specified
2014-12-12 06:10:23 -08:00
Chris Robinson
01a1e6f102
Fallback to 16-bit samples in alffmpeg if a float32 format isn't supported
2014-11-07 04:50:16 -08:00
Chris Robinson
0185bdd8ca
Support 5.1 and 7.1 in alffplay
2014-11-05 03:55:36 -08:00
Chris Robinson
17682cb0ce
Explicitly include libavutil/channel_layout.h for the channel layout stuff
2014-07-18 01:21:42 -07:00
Chris Robinson
5de7271bcd
AL_SOFT_source_length is complete
2014-07-05 04:25:37 -07:00
Chris Robinson
8ca1f4f371
Open and close the file in the main thread in alffplay
...
This avoid problems with the file being closed while a video refresh is still
scheduled.
2014-06-08 03:26:34 -07:00
Chris Robinson
d2c0a43498
Add an ffmpeg-based example player
...
This example shows proper timing and A/V synchronization with an OpenAL stream.
Requires the in-progress AL_SOFTX_source_length extension to avoid manually
keeping track of the buffer queue length.
2014-06-02 17:33:11 -07:00
Chris Robinson
13eac2552e
Update the examples to use SDL2
...
This should make it easier to build the examples on 64-bit, where there are no
premade dev libs for SDL1 on 64-bit mingw. FindSDL_sound.cmake has been
updated to accept SDL or SDL2.
2014-05-23 12:14:51 -07:00
Chris Robinson
160e901381
Handle non-native endian formats with SDL_sound
2013-06-19 22:47:17 -07:00
Chris Robinson
ff44ebfd5b
Add a loopback extension example
2013-06-16 16:10:21 -07:00
Chris Robinson
9fd8731480
Use SDL_sound for the other examples
2013-06-05 20:12:13 -07:00
Chris Robinson
056fa2a474
Use SDL_sound for the alstream example
2013-06-05 19:50:18 -07:00
Chris Robinson
2290e08053
Make some example function pointers static
2013-05-30 13:29:50 -07:00
Chris Robinson
89fae876a4
Only print the filename in alstream, without the path
2013-02-03 04:55:44 -08:00
Chris Robinson
2b27d243ca
Use stdout to print alstream information
2012-11-04 22:37:10 -08:00
Chris Robinson
41b1ba146a
Add an example to get and show the source latency
2012-10-31 23:53:10 -07:00
Chris Robinson
6450d0cbca
Avoid prefixing function pointers in the streaming example
2012-10-31 22:38:27 -07:00
Chris Robinson
4e281350a0
Print the name of the device when opening it in the example apps
2012-10-31 17:16:56 -07:00
Chris Robinson
f3dddb6e63
Add an example program showing how to apply reverb to a source
2012-10-31 04:04:49 -07:00
Chris Robinson
2c802cc10a
Reorder and comment some function in alhelpers.c
2012-10-25 23:53:46 -07:00
Chris Robinson
f7655d44a2
Move alhelpers and alffmpeg code to a common sub-directory
2012-10-14 01:55:39 -07:00
Chris Robinson
29b11db13f
Update the example to use avcodec_decode_audio4
2012-10-03 02:01:52 -07:00
Chris Robinson
dca6254b35
Update some ffmpeg functions
2012-10-03 00:29:08 -07:00
Chris Robinson
cccec40e87
Fix some signed/unsigned comparisons
2012-10-02 18:55:39 -07:00
Chris Robinson
5a43cd3b64
Use avformat_free_context to free a format context that failed to open
2012-03-21 13:54:13 -07:00
Chris Robinson
2747c87893
Print out unsupported audio format info from ffmpeg
2012-02-28 04:04:52 -08:00
Chris Robinson
e870c22f87
av_find_stream_info is also deprecated, in favor of avformat_find_stream_info
2012-01-29 20:06:30 -08:00
Chris Robinson
fd6f03cf74
Use AVMEDIA_TYPE_AUDIO instead of the deprecated CODEC_TYPE_AUDIO
2012-01-29 16:21:57 -08:00
Chris Robinson
c543611897
Add some casts
2012-01-11 00:55:02 -08:00
Chris Robinson
d88596e13c
There's no need to pass a buffer to avio_alloc_context
2012-01-11 00:43:24 -08:00
Chris Robinson
c59bbe7c22
Handle a couple of special AVSEEK_ seek modes
2012-01-11 00:32:16 -08:00
Chris Robinson
d4670faafd
Fix compiling the example program, and support AL_SOFT_buffer_samples with it
2012-01-10 02:12:54 -08:00
Chris Robinson
466cac328f
Add an example program that streams audio using ffmpeg
2012-01-01 12:36:41 -08:00
Chris Robinson
b2a257b6b0
Rename examples to utilities
...
There is only the one, and it more accurately reflects what it is
2010-07-17 01:02:51 -07:00
Chris Robinson
d07b9c2c11
Rewrite openal-info
...
Output is mostly unchanged, however there are differences. Device-specific info
(including context-specific info) is separated from NULL-device queries, and
there is now a distinction between ALC versions of the NULL device and the
opened device. Additionally, an alternate playback device can be queried by
specifying its name as the first parameter.
2010-03-13 18:03:01 -08:00
Chris Robinson
58765aab6b
Print available devices before trying to open one
2009-11-19 19:02:16 -08:00
Chris Robinson
1483af1baa
Watch for NULL and empty device lists
2009-11-19 18:49:24 -08:00
Chris Robinson
13979793f6
Display supported filters using a comma-separated listing
2009-11-19 18:46:23 -08:00
Chris Robinson
9c228e7625
Be clearer if device opening or context setup fails
2009-11-19 18:25:29 -08:00
Chris Robinson
58f48f20e2
Rename Standard Reverb to Reverb
2009-04-13 02:01:21 -07:00
Chris Robinson
27ba8f7b60
Fix function pointer declarations
2008-09-16 06:19:27 -07:00
Chris Robinson
f4ea188ffa
Fix typo to get the proper minor ALC version
2008-09-12 18:07:12 -07:00
Chris Robinson
1266580420
Print EFX info when the extension is available
2008-09-12 18:05:23 -07:00
Chris Robinson
cecf778de3
Add addiitonal copyright line
2008-05-18 18:44:17 -07:00
Chris Robinson
fe79ab351a
Add a simple example that prints out some OpenAL info
2008-05-18 18:40:53 -07:00