- FFmpegAudioStream (std::string n, int i, int f, int c)
- : FFmpegStream (n, i)
- , frame_rate (f)
- , channels (c)
- , mapping (c)
- {
- mapping.make_default ();
- }
+ FFmpegAudioStream(std::string name, int id, int frame_rate, Frame length, int channels, int bit_depth)
+ : FFmpegStream (name, id)
+ , AudioStream(frame_rate, length, channels, bit_depth)
+ {}
+
+ FFmpegAudioStream(std::string name, std::string codec_name_, int id, int frame_rate, Frame length, int channels, int bit_depth)
+ : FFmpegStream (name, id)
+ , AudioStream(frame_rate, length, channels, bit_depth)
+ , codec_name (codec_name_)
+ {}
+
+ FFmpegAudioStream(std::string name, int id, int frame_rate, Frame length, AudioMapping mapping, int bit_depth)
+ : FFmpegStream (name, id)
+ , AudioStream(frame_rate, length, mapping, bit_depth)
+ {}