Skip to content

Commit 79bdfff

Browse files
committed
initial version
1 parent 7000148 commit 79bdfff

26 files changed

Lines changed: 1795 additions & 0 deletions

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
11
# qcodec2
22
Qt wrappers for codec2 speech codec
3+
4+
You may find useful to use QCodec2Decoder and QCodec2Encoder to wrap codec2 calls.
5+
6+
Also, you can find complete example using this wrappers for player for RAW codec2 encoded speech data.
7+
8+
9+
If you want to build codec2 library under Windows OS you can read more:
10+
http://bohdan-danishevsky.blogspot.com/2016/12/building-codec2-for-windows-using-cmake.html
11+
12+
If you want use QCodec2Decoder/QCodec2Encoder it's may be useful to read:
13+
http://bohdan-danishevsky.blogspot.com/2016/12/building-codec2-for-windows-using-cmake.html
14+
15+
Documentation avail in repository in html format (Doxygen used)

doc/no_empty

Whitespace-only changes.

qcodec2_gui.pro

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#-------------------------------------------------
2+
# qcodec2 GUI example by Bohdan Danishevsky (2017)
3+
#-------------------------------------------------
4+
5+
QT *= core gui multimedia
6+
7+
DEFINES *= QT_NO_CAST_FROM_ASCII
8+
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
9+
10+
TARGET = qcodec2
11+
TEMPLATE = app
12+
CONFIG *= c++11
13+
14+
DEPENDPATH *= \
15+
$$PWD/src/qcodec2
16+
17+
INCLUDEPATH *= \
18+
$$PWD/src/qcodec2
19+
20+
SOURCES *= \
21+
$$PWD/src/qcodec2_gui_main.cpp\
22+
$$PWD/src/gui/mainwindow.cpp
23+
24+
HEADERS *= \
25+
$$PWD/src/gui/mainwindow.h
26+
27+
RESOURCES *= \
28+
$$PWD/res/qcodec2_gui.qrc
29+
30+
FORMS *= \
31+
$$PWD/src/gui/mainwindow.ui
32+
33+
#for application icon
34+
win32 {
35+
RC_FILE = $$PWD/res/qcodec2_gui.rc
36+
}
37+
38+
#including headers for codec2 library
39+
win32 {
40+
INCLUDEPATH *= $$PWD/src/include
41+
LIBS += -L$$PWD/codec2-lib
42+
}
43+
44+
include($$PWD/src/qcodec2/qcodec2.pri)
45+

res/1483071548_microphone-70px.ico

101 KB
Binary file not shown.

res/1483071548_microphone-70px.png

1.5 KB
Loading

res/1483071979_refresh.png

2.38 KB
Loading

res/1483071984_cross.png

5.65 KB
Loading

res/1483071988_folder.png

1.57 KB
Loading

res/qcodec2_gui.qrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<RCC>
2+
<qresource prefix="/icons">
3+
<file alias="MainIcon">1483071548_microphone-70px.png</file>
4+
<file alias="Refresh">1483071979_refresh.png</file>
5+
<file alias="Close">1483071984_cross.png</file>
6+
<file alias="SpecifyFile">1483071988_folder.png</file>
7+
</qresource>
8+
</RCC>

res/qcodec2_gui.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
IDI_ICON1 ICON DISCARDABLE "1483071548_microphone-70px.ico"

0 commit comments

Comments
 (0)