Skip to content

Commit 2c30fd0

Browse files
committed
Naming Convention
1 parent 8966c0d commit 2c30fd0

18 files changed

+27
-27
lines changed
+11-11
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
from PyQt5.QtCore import *
2-
from PyQt5.QtMultimedia import *
3-
4-
app = QCoreApplication([])
5-
6-
r = QAudioRecorder()
7-
8-
print('Inputs: ', r.audioInputs())
9-
print('Codecs: ', r.supportedAudioCodecs())
10-
print('Sample Rates: ', r.supportedAudioSampleRates())
11-
print('Containers: ', r.supportedContainers())
1+
from PyQt5.QtCore import *
2+
from PyQt5.QtMultimedia import *
3+
4+
app = QCoreApplication([])
5+
6+
r = QAudioRecorder()
7+
8+
print('Inputs: ', r.audioInputs())
9+
print('Codecs: ', r.supportedAudioCodecs())
10+
print('Sample Rates: ', r.supportedAudioSampleRates())
11+
print('Containers: ', r.supportedContainers())
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+16-16
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
from PyQt5.QtCore import *
2-
from PyQt5.QtMultimedia import *
3-
4-
app = QCoreApplication([])
5-
6-
for camera_info in QCameraInfo.availableCameras():
7-
print('Camera: ', camera_info.deviceName())
8-
camera = QCamera(camera_info)
9-
r = QMediaRecorder(camera)
10-
print('\tAudio Codecs: ', r.supportedAudioCodecs())
11-
print('\tVideo Codecs: ', r.supportedVideoCodecs())
12-
print('\tAudio Sample Rates: ', r.supportedAudioSampleRates())
13-
print('\tFrame Rates: ', r.supportedFrameRates())
14-
print('\tResolutions: ', r.supportedResolutions())
15-
print('\tContainers: ', r.supportedContainers())
16-
print('\n\n')
1+
from PyQt5.QtCore import *
2+
from PyQt5.QtMultimedia import *
3+
4+
app = QCoreApplication([])
5+
6+
for camera_info in QCameraInfo.availableCameras():
7+
print('Camera: ', camera_info.deviceName())
8+
camera = QCamera(camera_info)
9+
r = QMediaRecorder(camera)
10+
print('\tAudio Codecs: ', r.supportedAudioCodecs())
11+
print('\tVideo Codecs: ', r.supportedVideoCodecs())
12+
print('\tAudio Sample Rates: ', r.supportedAudioSampleRates())
13+
print('\tFrame Rates: ', r.supportedFrameRates())
14+
print('\tResolutions: ', r.supportedResolutions())
15+
print('\tContainers: ', r.supportedContainers())
16+
print('\n\n')
File renamed without changes.

ch08/poster.py Chapter08/poster.py

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)