markheath
6c44affe0c
Managed mu and a law codecs as options in NetworkChatDemo
14 years ago
markheath
de7d0b538f
reorganized structure of NAudioDemo project - each demo in its own folder
14 years ago
markheath
f321d0f89f
Added GSM 6.10 WaveFormat. NAudioDemo NetworkChatPanel now allows selection of codec (currently GSM 6.10 or uncompressed PCM).
DiscardOnBufferOverflow behaviour of BufferedWaveProvider restored.
14 years ago
markheath
d2a106c4ff
ACM Panel in NAudioDemo shows better information about installed codecs
14 years ago
markheath
7dfae2169a
Very simple network streaming audio demo added to NAudioDemo. Listens to microphone, sends audio out on UDP, listens on another thread using a BufferedWaveProvider to play back. Not added compression yet, but will follow in a future update.
14 years ago
markheath
00f2326b03
ASIO Direct Panel now auto-stops at the end of playback
14 years ago
markheath
cf6ad9c80d
BufferedWaveProvider: renamed the circularBuffer member variable to make code less confusing. Fixed a bug when Read is called before the circularBuffer has been created.
14 years ago
markheath
2d7b2abb9e
small bugfix to recent ASIO set channel offset change
14 years ago
markheath
3502cbf03a
fixed a bug writing fact chunk for WaveFormats with bits per sample set to 0
14 years ago
markheath
13e7052be1
fixed a comment
14 years ago
markheath
c1b9df43c0
New ChannelOffset property on AsioOut allows the incoming waveprovider to be fed to a different output.
14 years ago
markheath
01957e61e9
AsioOut now can report driver name and throws an exception on double call to Init. Includes bug fixes for ASIO Sample Converter based on patch submitted by marty. NAudioDemo includes an additional ASIO panel making it easier to test ASIO at different bit depths and channel counts
14 years ago
markheath
bdeacad8d8
Added mu-law and a-law encoders and decoders
14 years ago
markheath
14b2ee58dd
Some code cleanup on Mp3Frame, moving enums to their own source files
14 years ago
markheath
d1362aae3c
Changes to Mp3Frame so exceptions are not thrown unless an incomplete frame is found. n.b. this is a breaking change (use static LoadFromStream method instead of old constructor). It also fixes a bug where frame data was stored in frame even if readData=false. MP3 Streaming Demo now has a volume control.
14 years ago
markheath
dc0742a5d5
Fixed a bunch of compiler warnings by adding XML comments
14 years ago
markheath
18b60002b4
MP3 File Reader now less likely to throw end of stream exceptions with badly formed MP3 files. WinForms volume slider is now logarithmic.
14 years ago
markheath
eb065d21f5
added a simple unit test that batch converts aiff to wav
14 years ago
markheath
c3af6d4016
fixed a possible exception in BufferedWaveProvider.BufferedBytes
14 years ago
markheath
fe254379d3
Fixed a bug with the MP3 plugin for the Audio File Inspector program
14 years ago
markheath
32911830da
NAudioDemo now uses MEF to load available demos, and all are hosted on one form instead of lots of child forms
14 years ago
markheath
8889b8665d
MP3 Streaming Demo buffer size increased
14 years ago
markheath
20272b5ecf
Updated AudioFileInspector sample app to use MEF Preview 9
14 years ago
markheath
c614ac5c62
MP3 Streaming demo shows an error message for invalid URL and stops playback gracefully on end of stream
14 years ago
markheath
3835c04b21
commented out some debug that should not have gone in the bugfix to WaveOut
14 years ago
markheath
d2c3cad4c5
MP3 Streaming example now allows you to pause to buffer ahead, and gives a visual indication of amount of data buffered
14 years ago
markheath
809108eaba
fixed a major bug with Pause in WaveOut - could sometimes result in buffers not getting requeued, if they weren't in the queue before Pause was pressed. May have to port this back into 1.4
14 years ago
markheath
c6c4c82ba9
BufferedWaveProvider now uses CircularBuffer instead of a queue. CircularBuffer made thread-safe and reports bytes written rather than throwing exceptions. BufferedWaveProvider also has new properties to set max length and get current BufferDuration, which is a breaking change for NAudio 1.5
MP3 Streaming Form in NAudioDemo now has a meter showing how much is currently buffered
14 years ago
markheath
de3a8faccb
Added a simple MP3 network streaming demo for playing internet radio in NAudioDemo. Made the AcmFrameDecompressor public. Minor mods to BufferedWaveProvider, will probably make some bigger changes in future to be a large circular buffer for performance.
14 years ago
markheath
930f2dcfd4
improved comments on WaveFileReader, changed a couple of exception types
14 years ago
markheath
4f5ca23b41
AIFF file reader contributed by Giawa
14 years ago
markheath
3eca741723
CreateWaveFile takes an IWaveProvider
New WriteSamples function taking floats, and WriteData taking short array now calls into WriteSamples taking a short array.
Some additional unit tests for WaveFileWriter
14 years ago
markheath
efec84af72
Beginning work on code and API review for NAudio 1.5 ...
Removed the Unsupported and obsolete OggEncoder class
Removed the obsoleted WaveInStream class
Added the IgnoreDisposeStream helper class into NAudio.Utils
Refactoring WaveFileWriter:
Now inherits from Stream, making it more flexible
This means that WriteData is now Write (old methods still exist with [Obsolete] attribute)
Deleted all methods marked [Obsolete] at release of Naudio 1.4
Added an initial unit test for WaveFileWriter (hopefully more to follow)
14 years ago
markheath
ac3b8770db
fixed a bunch of compiler warnings and added a unit test to explore Windows Media Codecs available on the system
14 years ago
markheath
a0e4b1ab97
Updated version number for 1.4 release
14 years ago
markheath
d61670d306
WaveOut default number of buffers is now 2 instead of 3
14 years ago
markheath
9d38388ecf
Updated NAudioDemo to allow selection of WASAPI out device
14 years ago
markheath
ab370a67da
finally got ASIO working with Line 6 USB devices (and hopefully lots more ASIO devices too - please test and report back)
14 years ago
markheath
8ca3a5e202
Can now enumerate DirectSound devices. NAudioDemo updated to show selection of device
14 years ago
markheath
884f0e99f6
NAudioDemo allows selecting of WaveOut device
14 years ago
markheath
682de23f5a
Modified WaveChannel32 to accept 8 bit & 24 bit PCM as well as IEEE float, and updated the demo to play WAV files of all four bit depths (8,16,24 & IEEE float). Implementation probably still needs some refactoring.
14 years ago
markheath
a3446b78db
applied patch 9103 for viewing WM codecs and codec formats from Will8027
15 years ago
markheath
293d4695b8
added ability for BufferedWaveProvider to discard buffers rather than throwing exceptions. thanks to viniciusvbf for the suggestion. http://naudio.codeplex.com/discussions/250432#post583357
15 years ago
markheath
57af38140d
applied patch 9071 from yzraeu, updating the DeviceState enum
15 years ago
markheath
ba802d4275
some fixes to WaveOutThreadSafe - thanks to Alex Escott for reporting
15 years ago
markheath
fb69f66725
added friendly name for device to MMDevice courtesy of contribution from Max
15 years ago
markheath
03383bf1d2
Added MonoToStereoProvider16 and StereoToMonoProvider16 as examples of how to convert stero to mono and vice versa
15 years ago
markheath
c9cd2d7628
the two demo projects target x86 again for now
15 years ago
markheath
2849d6dfee
fix to fact chunk sample count
15 years ago
markheath
7f4edefaa8
Added in a WMA Writer class based on work of Idael Cardaso
15 years ago