---
title: "AviAudioManager..::.ExportAudioStream Method "
canonical: https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Codecs_AviAudioManager_ExportAudioStream.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# AviAudioManager.ExportAudioStream Method 
 
Saves the audio stream with specified index to a separate file or [System.IO.Stream](http://msdn2.microsoft.com/en-us/8f86tw9e) object.
 
## Overload List

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ExportAudioStream(Int32, Stream)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_AviAudioManager_ExportAudioStream_2_0e0c4d43.htm.md) |  Saves the audio stream with specified index to a [System.IO.Stream](http://msdn2.microsoft.com/en-us/8f86tw9e) object. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ExportAudioStream(Int32, String)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_AviAudioManager_ExportAudioStream_2_92264430.htm.md) |  Saves the audio stream with specified index to a separate WAV file. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ExportAudioStream(Int32, Stream, Int32, Int32)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_AviAudioManager_ExportAudioStream_4_5579b10f.htm.md) |  Saves a portion of the audio stream with specified index to a [System.IO.Stream](http://msdn2.microsoft.com/en-us/8f86tw9e) object. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ExportAudioStream(Int32, String, Int32, Int32)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_AviAudioManager_ExportAudioStream_4_1984e642.htm.md) |  Saves a portion of the audio stream with specified index to a separate WAV file. |
 
## Remarks
  
Stream indexes are zero-based. To get the total number of audio streams, use the [AudioStreamCount](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AviAudioManager_AudioStreamCount.htm.md) property.
 
**Note** 
You can use this member only if you get this instance of the [AviAudioManager](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AviAudioManager.htm.md) from the reader object.
   
## See Also

### Reference

- [AviAudioManager Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AviAudioManager.htm.md)
- [AviAudioManager Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_Codecs_AviAudioManager.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
