Skip to content

Commit 5385773

Browse files
Merge pull request #13 from SylvainCorlay/update-notebooks
Update example notebooks
2 parents e26daec + 546a4c4 commit 5385773

File tree

7 files changed

+17
-18
lines changed

7 files changed

+17
-18
lines changed

notebooks/AudioRecorder.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@
8585
"kernelspec": {
8686
"display_name": "C++14",
8787
"language": "C++14",
88-
"name": "xeus-cling-cpp14"
88+
"name": "xcpp14"
8989
},
9090
"language_info": {
9191
"codemirror_mode": "text/x-c++src",
9292
"file_extension": ".cpp",
9393
"mimetype": "text/x-c++src",
9494
"name": "c++",
95-
"version": "-std=c++14"
95+
"version": "14"
9696
}
9797
},
9898
"nbformat": 4,

notebooks/AudioStream.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@
3333
"kernelspec": {
3434
"display_name": "C++14",
3535
"language": "C++14",
36-
"name": "xeus-cling-cpp14"
36+
"name": "xcpp14"
3737
},
3838
"language_info": {
3939
"codemirror_mode": "text/x-c++src",
4040
"file_extension": ".cpp",
4141
"mimetype": "text/x-c++src",
4242
"name": "c++",
43-
"version": "-std=c++14"
43+
"version": "14"
4444
}
4545
},
4646
"nbformat": 4,

notebooks/CameraStream_xtensor_fftw.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
"metadata": {},
175175
"outputs": [],
176176
"source": [
177-
"auto hbox = xw::hbox_generator().children({input, output}).finalize();\n",
177+
"auto hbox = xw::hbox::initialize().children({input, output}).finalize();\n",
178178
"hbox"
179179
]
180180
},
@@ -190,14 +190,14 @@
190190
"kernelspec": {
191191
"display_name": "C++14",
192192
"language": "C++14",
193-
"name": "xeus-cling-cpp14"
193+
"name": "xcpp14"
194194
},
195195
"language_info": {
196196
"codemirror_mode": "text/x-c++src",
197197
"file_extension": ".cpp",
198198
"mimetype": "text/x-c++src",
199199
"name": "c++",
200-
"version": "-std=c++14"
200+
"version": "14"
201201
}
202202
},
203203
"nbformat": 4,

notebooks/Chat.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@
3333
"kernelspec": {
3434
"display_name": "C++14",
3535
"language": "C++14",
36-
"name": "xeus-cling-cpp14"
36+
"name": "xcpp14"
3737
},
3838
"language_info": {
3939
"codemirror_mode": "text/x-c++src",
4040
"file_extension": ".cpp",
4141
"mimetype": "text/x-c++src",
4242
"name": "c++",
43-
"version": "-std=c++14"
43+
"version": "14"
4444
}
4545
},
4646
"nbformat": 4,

notebooks/ImageRecorder.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,14 @@
113113
"kernelspec": {
114114
"display_name": "C++14",
115115
"language": "C++14",
116-
"name": "xeus-cling-cpp14"
116+
"name": "xcpp14"
117117
},
118118
"language_info": {
119119
"codemirror_mode": "text/x-c++src",
120120
"file_extension": ".cpp",
121121
"mimetype": "text/x-c++src",
122122
"name": "c++",
123-
"version": "-std=c++14"
123+
"version": "14"
124124
}
125125
},
126126
"nbformat": 4,

notebooks/VideoRecorder.ipynb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
"metadata": {},
2020
"outputs": [],
2121
"source": [
22-
"auto input = xwebrtc::video_stream_from_file(\"Big.Buck.Bunny.mp4\")\n",
23-
" .finalize();"
22+
"auto input = xwebrtc::video_stream_from_file(\"Big.Buck.Bunny.mp4\");"
2423
]
2524
},
2625
{
@@ -57,7 +56,7 @@
5756
"metadata": {},
5857
"outputs": [],
5958
"source": [
60-
"auto camera_input = xwebrtc::camera_facing_user(false).finalize();\n",
59+
"auto camera_input = xwebrtc::camera_facing_user(false);\n",
6160
"camera_input"
6261
]
6362
},
@@ -85,14 +84,14 @@
8584
"kernelspec": {
8685
"display_name": "C++14",
8786
"language": "C++14",
88-
"name": "xeus-cling-cpp14"
87+
"name": "xcpp14"
8988
},
9089
"language_info": {
9190
"codemirror_mode": "text/x-c++src",
9291
"file_extension": ".cpp",
9392
"mimetype": "text/x-c++src",
9493
"name": "c++",
95-
"version": "-std=c++14"
94+
"version": "14"
9695
}
9796
},
9897
"nbformat": 4,

notebooks/VideoStream.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@
8585
"kernelspec": {
8686
"display_name": "C++14",
8787
"language": "C++14",
88-
"name": "xeus-cling-cpp14"
88+
"name": "xcpp14"
8989
},
9090
"language_info": {
9191
"codemirror_mode": "text/x-c++src",
9292
"file_extension": ".cpp",
9393
"mimetype": "text/x-c++src",
9494
"name": "c++",
95-
"version": "-std=c++14"
95+
"version": "14"
9696
}
9797
},
9898
"nbformat": 4,

0 commit comments

Comments
 (0)