Skip to content

Commit e71368c

Browse files
author
Clement Champetier
committed
pyTest: do not check channel_layout when transcode audio
Because the channel layout is not specified in the audio profile.
1 parent 15c22fd commit e71368c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/pyTest/testTranscoderTranscodeAudioWave.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ def testTranscodeWave24b48k5_1():
3939
assert_equals( "s32", dst_audioStream.getSampleFormatName() )
4040
assert_equals( "signed 32 bits", dst_audioStream.getSampleFormatLongName() )
4141
assert_equals( 48000, dst_audioStream.getSampleRate() )
42-
# assert_equals( "1 channels", dst_audioStream.getChannelLayout() ) # '1 channels' != '0 channels'
4342
assert_equals( 6, dst_audioStream.getChannels() )
4443

4544
def testTranscodeWave24b48kstereo():
@@ -68,7 +67,6 @@ def testTranscodeWave24b48kstereo():
6867
assert_equals( "s32", dst_audioStream.getSampleFormatName() )
6968
assert_equals( "signed 32 bits", dst_audioStream.getSampleFormatLongName() )
7069
assert_equals( 48000, dst_audioStream.getSampleRate() )
71-
# assert_equals( "1 channels", dst_audioStream.getChannelLayout() ) # '1 channels' != '0 channels'
7270
assert_equals( 2, dst_audioStream.getChannels() )
7371

7472
def testTranscodeWave24b48kmono():
@@ -97,7 +95,6 @@ def testTranscodeWave24b48kmono():
9795
assert_equals( "s32", dst_audioStream.getSampleFormatName() )
9896
assert_equals( "signed 32 bits", dst_audioStream.getSampleFormatLongName() )
9997
assert_equals( 48000, dst_audioStream.getSampleRate() )
100-
# assert_equals( "1 channels", dst_audioStream.getChannelLayout() ) # '1 channels' != '0 channels'
10198
assert_equals( 1, dst_audioStream.getChannels() )
10299

103100
def testTranscodeWave16b48kmono():
@@ -126,5 +123,4 @@ def testTranscodeWave16b48kmono():
126123
assert_equals( "s16", dst_audioStream.getSampleFormatName() )
127124
assert_equals( "signed 16 bits", dst_audioStream.getSampleFormatLongName() )
128125
assert_equals( 48000, dst_audioStream.getSampleRate() )
129-
# assert_equals( "1 channels", dst_audioStream.getChannelLayout() ) # '1 channels' != '0 channels'
130126
assert_equals( 1, dst_audioStream.getChannels() )

0 commit comments

Comments
 (0)