Skip to content

Commit 314ff48

Browse files
adding audio wav profiles
1 parent dc9b34a commit 314ff48

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

src/AvTranscoder/Profiles/Wave.hpp

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#ifndef _AVTRANSCODER_PROFIL_XDCAMHD422_HPP_
2+
#define _AVTRANSCODER_PROFIL_XDCAMHD422_HPP_
3+
4+
namespace avtranscoder
5+
{
6+
7+
void loadXdCamHD422( Profile::ProfilesDesc& profiles )
8+
{
9+
Profile::ProfileDesc wave24bits;
10+
11+
wave24bits[ Profile::avProfilIdentificator ] = "wave24bits";
12+
wave24bits[ Profile::avProfilIdentificatorHuman ] = "Wave 24bits";
13+
14+
wave24bits[ "codec" ] = "pcm_s24le";
15+
wave24bits[ "sample_fmt" ] = "s32";
16+
17+
Profile::ProfileDesc wave16bits;
18+
19+
wave16bits[ Profile::avProfilIdentificator ] = "wave16bits";
20+
wave16bits[ Profile::avProfilIdentificatorHuman ] = "Wave 16bits";
21+
22+
wave16bits[ "codec" ] = "pcm_s16le";
23+
wave16bits[ "sample_fmt" ] = "s16";
24+
}
25+
26+
}
27+
28+
#endif

0 commit comments

Comments
 (0)