Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
rename folder and adhere Google style guideline in audio-player.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
MGTheTrain committed Apr 17, 2024
1 parent 89c4a0d commit 71f5ae6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

add_subdirectory(audio)
# add_subdirectory(video)
add_subdirectory(audio-player)
# add_subdirectory(video-player)
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@
int main(int argc, char *argv[]) {
const char * path = "assets/mp3/file_example_MP3_700KB.mp3";
AudioData audioData;
if (!loadAudioFile(path, &audioData))
{
if (!loadAudioFile(path, &audioData)) {
return 1;
}

if (!startPlayback(&audioData))
{
if (!startPlayback(&audioData)) {
closeAudioFile(&audioData);
return 1;
}
Expand Down

0 comments on commit 71f5ae6

Please sign in to comment.