Skip to content

Instantly share code, notes, and snippets.

View boyce-xx's full-sized avatar

Boyce Yeh boyce-xx

  • Wistron
  • Shanghai, China
View GitHub Profile
@boyce-xx
boyce-xx / amazon_music.txt
Created March 5, 2018 10:17
Can't longrun for Amazon music
This file has been truncated, but you can view the full file.
2018-02-22 10:26:47.982 [ 1] I sdkVersion: 1.5.0
ACDB -> found 0 form factor & soundcard independant files
ACDB -> Load file: /etc/CNX//Bluetooth_cal.acdb
ACDB -> Load file: /etc/CNX//General_cal.acdb
ACDB -> Load file: /etc/CNX//Global_cal.acdb
ACDB -> Load file: /etc/CNX//Handset_cal.acdb
ACDB -> Load file: /etc/CNX//Hdmi_cal.acdb
ACDB -> Load file: /etc/CNX//Headset_cal.acdb
ACDB -> Load file: /etc/CNX//Speaker_cal.acdb
ACDB -> Load file: /etc/CNX//workspaceFile.qwsp
@boyce-xx
boyce-xx / mediaPlayer_stop_playing.txt
Created January 24, 2018 02:06
iHR can't be longrun playing sometimes.
This file has been truncated, but you can view the full file.
2018-01-19 10:49:47.532 [ 2] 9 AttachmentReaderSource:read:size=2743,status=0
2018-01-19 10:49:47.532 [ 2] 9 BaseStreamSource:handleNeedDataCalled
2018-01-19 10:49:47.533 [ 20] 9 BaseStreamSource:onNeedDataCalled:size=4096
2018-01-19 10:49:48.048 [ 2] 9 AttachmentReaderSource:read:size=2764,status=0
2018-01-19 10:49:48.049 [ 2] 0 MediaPlayer:handleGetOffsetCalled:idPassed=9,currentId=9
2018-01-19 10:49:48.050 [ 20] 9 BaseStreamSource:onNeedDataCalled:size=4096
2018-01-19 10:49:48.050 [ 20] 9 BaseStreamSource:m_needDataCallbackId already set
2018-01-19 10:49:48.050 [ a] 0 EventBuilder:buildJsonEventString:messageId=7960b302-55a9-4468-b8d7-2a67bc99ba7c,namespace=AudioPlayer,name=ProgressReportIntervalElapsed
AVSConnectionManager::sendMessage {"event":{"header":{"namespace":"AudioPlayer","name":"ProgressReportIntervalElapsed","messageId":"7960b302-55a9-4468-b8d7-2a67bc99ba7c"},"payload":{"token":"amzn1.as-ct.v1.Dee-Domain-Music#ACRI#url#ACRI#24f8ddc8-ee1f-4414-9412-64cceb93d991:1","offsetInMilliseconds":250
@boyce-xx
boyce-xx / timer_intermittent_log.txt
Created January 18, 2018 07:28
The timer ring, off and on, during iHR playing KissFM in SDK V1.4.0
2018-01-18 06:21:29.977 [ 18] W DirectiveRouter:handleDirectiveWithPolicyHandleImmediatelyFailed:messageId=cfff176d-df22-4e3a-801d-a207c37ab7f2,reason=noHandlerRegistered
2018-01-18 06:21:29.978 [ 18] I DirectiveRouter:preHandleDirective:UnparsedDirective={"directive"\:{"header"\:{"namespace"\:"TemplateRuntime"\,"name"\:"RenderPlayerInfo"\,"messageId"\:"cfff176d-df22-4e3a-801d-a207c37ab7f2"}\,"payload"\:{"content"\:{"header"\:"106.1 KISS FM"\,"provider"\:{"name"\:"iHeartRadio Live Radio"\,"logo"\:{"sources"\:[{"url"\:"https\://s3.amazonaws.com/music-provider-logos/IHeartRadio.svg"}]}}\,"art"\:{"sources"\:[{"size"\:"x-large"\,"url"\:"https\://i.iheart.com/v3/re/assets/images/3dc8bdbe-0b93-4322-bca1-045f75587ef4.png"}]}\,"mediaLengthInMilliseconds"\:0}\,"audioItemId"\:"amzn1.as-ct.v1.Dee-Domain-Music#ACRI#url#ACRI#98ec565b-be8a-4af9-a3f8-5c84a7652ac3\:1"\,"controls"\:[{"selected"\:false\,"name"\:"PLAY_PAUSE"\,"enabled"\:true\,"type"\:"BUTTON"}\,{"selected"\:false\,"name"\:"NEXT"\,"enabled"\:true\,"type"\:"BUTTO
@boyce-xx
boyce-xx / AudioPlayerIntegrationTest.cpp
Created January 10, 2018 04:10
AudioPlayer can't be stopped immediately when barge-in during iHR playing.
/*
* AudioPlayerIntegrationTest.cpp
*
* Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
@boyce-xx
boyce-xx / WisAlertsIntegrationTest.cpp
Created January 8, 2018 00:41
WisAlertsIntegrationTest
/*
* AlertsIntegrationTest.cpp
*
* Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
@boyce-xx
boyce-xx / log.txt
Created January 2, 2018 10:41
The waiting time is too long(about 8 seconds) between TTS and Music playing when playing music; but Echo will take less than 1 seond
*** wakeWordTrigger:: onKeyWordDetected
stopMediaPlayer 11111
stopLocalMediaPlayer(Local) 22222 --> sourceID = 0
stopSpeakMediaPlayer(TTS) 33333 --> sourceID = 0
stopRendererMediaPlayer(Alert) 44444 --> sourceID = 0
stopMediaPlayer 55555
---> reset state! --> 2018-01-02 18:28:39:197
openFMDuringTest : isFMOpened = 0
Nut2AVS King:: wakeWordTrigger::onKeyWordDetected.....beginIndex = 169680, endIndex = 177120,
Nut2AVS King:: wakeWordTrigger::Sensory recognize.....beginIndex = 169680, endIndex = 177120
@boyce-xx
boyce-xx / WisAlertsIntegrationTest test source code
Created December 19, 2017 12:17
WisAlertsIntegrationTest source code
/*
* AlertsIntegrationTest.cpp
*
* Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
@boyce-xx
boyce-xx / WisAlertsIntegrationTest
Created December 19, 2017 12:14
WisAlertsIntegrationTest running log
$ adb shell
/ # cd usr/nut2_avs/
/usr/nut2_avs # ./WisAlertsIntegrationTest
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from AlertsTest
[ RUN ] AlertsTest.handleOneTimerWithLocalStop
2017-12-15 12:06:56.061 [ 1] I ConfigurationNode:initializeSuccess
2017-12-15 12:06:56.289 [ 2] 0 MediaPlayer:handleSetObserverCalled
2017-12-15 12:06:56.293 [ 1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechSynthesizer,name=Speak,handler=0x331590,policy=BLOCKING
@boyce-xx
boyce-xx / WisAlertsIntegrationTest.cpp
Created December 18, 2017 11:20
Play reminder failed
/*
* AlertsIntegrationTest.cpp
*
* Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
@boyce-xx
boyce-xx / stopCapture_take_too_long_time.txt
Created November 21, 2017 11:24
stopCapture directive will take too long time to return back
/usr/nut2_avs # ./Nut2AVS
************** Nut2AVS version is: v3.3 build on 20171121, AVS sdk version: 1.1.0 **************
Registered Wifi signal!
mkdir: cannot create directory '/data/nut2_avs/': File exists
rm: cannot remove '/data/nut2_avs/volume.txt': No such file or directory
SKU detect: CX/SB
Current SKU is: CX