TW201705010A - Apparatus and method of USB audio transmission adjustment - Google Patents

Apparatus and method of USB audio transmission adjustment Download PDF

Info

Publication number
TW201705010A
TW201705010A TW104125007A TW104125007A TW201705010A TW 201705010 A TW201705010 A TW 201705010A TW 104125007 A TW104125007 A TW 104125007A TW 104125007 A TW104125007 A TW 104125007A TW 201705010 A TW201705010 A TW 201705010A
Authority
TW
Taiwan
Prior art keywords
audio data
amount
transmission
feedback information
audio
Prior art date
Application number
TW104125007A
Other languages
Chinese (zh)
Inventor
章戊霖
翁鳳娸
許吟竹
陳詩儒
Original Assignee
盛微先進科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 盛微先進科技股份有限公司 filed Critical 盛微先進科技股份有限公司
Priority to TW104125007A priority Critical patent/TW201705010A/en
Priority to CN201510647978.1A priority patent/CN106407149A/en
Publication of TW201705010A publication Critical patent/TW201705010A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)
  • Information Transfer Systems (AREA)

Abstract

According to one embodiment, a universal serial bus (USB) audio transmission adjustment apparatus, the apparatus comprising: a buffer processor, receives and stores an audio data transfer via a universal serial bus, and counts the audio data to generate an audio data amount; a controller, transmits a feedback information via the interrupt endpoint according to the audio data amount; and a transmission regulator receives the feedback information to decide whether to adjust the transmission speed of the audio data.

Description

通用序列匯流排(USB)音訊傳輸調整之裝置與方法 Universal sequence bus (USB) audio transmission adjustment device and method

本揭露係關於一種通用序列匯流排音訊傳輸調整之裝置與方法。 The present disclosure relates to an apparatus and method for adjusting a universal serial bus audio transmission.

以往,類比音頻播放常應用在收音機、類比電視等,以類比訊號直接驅動喇叭。隨著科技的進步,個人電腦和網路的演進及數位音頻訊號處理的發展,數位音頻播放已經應用於各種電子系統如電影院、家用、汽車等音響,以及數位電視、各種型式電腦、隨身聽、手機等。其中音頻訊號驅動的功能必須具備低雜音、高品質的特性,使得音響效果更為完善。 In the past, analog audio playback was often applied to radios, analog TVs, etc., and the speakers were directly driven by analog signals. With the advancement of technology, the evolution of personal computers and networks, and the development of digital audio signal processing, digital audio playback has been applied to various electronic systems such as cinemas, homes, automobiles and other audio, as well as digital televisions, various types of computers, walkmans, Mobile phones, etc. Among them, the function of audio signal driving must have low noise and high quality, which makes the sound effect more perfect.

類比音頻播放常應用在收音機、類比電視等,以類比訊號直接驅動喇叭。現有的數位音訊資料的傳輸已大量使用通用序列匯流排(Universal Serial Bus,USB)的界面。例如一般情況是由通用序列匯流排主機(Host)端將數位音訊資料傳送到通用序列匯流排裝置(Device)端。或是使用手持裝置將數位音訊資料經由通用序列匯流排的界面傳輸到附件(Accessory)。對於即時性的音訊資料傳送及 播放,常因附件端的時鐘與手持裝置的時鐘之間的差異而造成音訊資料的損毀,產生播放停頓或失真的情況。在此情況下,附件端可經由等時末端(Isochronous Endpoint)將回饋資訊回傳給手持裝置,來調整音訊資料的傳輸。 Analog audio playback is often used in radios, analog TVs, etc., to directly drive speakers with analog signals. The transmission of existing digital audio data has extensively used the interface of the Universal Serial Bus (USB). For example, in general, the digital audio data is transmitted from the host terminal of the universal serial bus to the universal serial device. Or use a handheld device to transfer digital audio data to the Accessory via the interface of the universal serial bus. For instant audio data transmission and Playback, often due to the difference between the clock at the accessory end and the clock of the handheld device, the audio data is corrupted, causing pauses or distortions in playback. In this case, the accessory end can adjust the transmission of the audio data by transmitting the feedback information to the handheld device via an Isochronous Endpoint.

上述情況有些手持裝置或嵌入系統(Embedded System)的Linux作業系統無法正常支援非同步機制(Asynchronous Mode),即經由等時末端(Isochronous Endpoint)將回饋資訊回傳的功能。 In some cases, the handheld operating system or the embedded operating system (Linux) operating system cannot support the Asynchronous Mode, that is, the function of returning feedback information via the Isochronous Endpoint.

本揭露提出一種通用序列匯流排音訊傳輸調整的技術,附件端經由中斷末端(Interrupt Endpoint)將回饋資訊回傳給手持裝置,進而調整音訊資料的傳輸。 The present disclosure proposes a technique for adjusting the general-purpose serial bus audio transmission, and the accessory end transmits the feedback information to the handheld device via the Interrupt Endpoint, thereby adjusting the transmission of the audio data.

本揭露實施例可提供關於通用序列匯流排(USB)音訊傳輸調整之裝置與方法。 Embodiments of the present disclosure can provide apparatus and methods for universal serial bus (USB) audio transmission adjustment.

所揭露的一實施例是關於一種通用序列匯流排(USB)音訊傳輸調整的裝置,此裝置包含:一緩衝處理器,接收和儲存經由一通用序列匯流排傳送的一音訊資料,並且計數該音訊資料來產生一音訊資料量;一控制器,依據該音訊資料量經由中斷末端(Interrupt Endpoint)傳送一回饋資訊;以及一傳輸調整器,接收回饋資訊來決定是否調整該音訊資料的傳送速度。 One disclosed embodiment relates to a universal serial bus (USB) audio transmission adjustment apparatus, the apparatus comprising: a buffer processor that receives and stores an audio data transmitted via a universal serial bus, and counts the audio The data is used to generate an amount of audio data; a controller transmits a feedback information according to the amount of the audio data via an Interrupt Endpoint; and a transmission adjuster receives the feedback information to determine whether to adjust the transmission speed of the audio data.

所揭露的另一實施例是關於一種通用序列匯流排(USB)音訊傳輸調整的方法,此方法包含:使用一緩衝處理器,接收和儲存經由一通用序列匯流排傳送的一音訊資料,並且計數該音訊資料來產生一音訊資料量;使用一控制器,依據該音訊資料量經 由中斷末端(Interrupt Endpoint)傳送一回饋資訊;以及使用一傳輸調整器,接收回饋資訊來決定是否調整該音訊資料的傳送速度。 Another embodiment disclosed is directed to a method for universal serial bus (USB) audio transmission adjustment, the method comprising: receiving and storing an audio data transmitted via a universal serial bus using a buffer processor, and counting The audio data is used to generate an amount of audio data; using a controller, according to the amount of audio data A feedback information is transmitted by an Interrupt Endpoint; and a transmission adjuster is used to receive feedback information to determine whether to adjust the transmission speed of the audio data.

100‧‧‧通用序列匯流排音訊傳輸調整的裝置 100‧‧‧General sequence bus audio transmission adjustment device

110‧‧‧緩衝處理器 110‧‧‧ buffer processor

111‧‧‧音訊資料 111‧‧‧ Audio Information

112‧‧‧音訊資料量 112‧‧‧Audio data volume

120‧‧‧控制器 120‧‧‧ Controller

121‧‧‧回饋資訊 121‧‧‧Reward information

130‧‧‧傳輸調整器 130‧‧‧Transfer adjuster

410‧‧‧使用一緩衝處理器,接收和儲存經由一通用序列匯流排傳送的一音訊資料,並且計數該音訊資料來產生一音訊資料量 410‧‧‧ Using a buffer processor to receive and store an audio data transmitted via a universal serial bus, and counting the audio data to generate an audio data amount

420‧‧‧使用一控制器,依據該音訊資料量經由中斷末端傳送一回饋資訊 420‧‧‧ Use a controller to transmit a feedback message via the interrupt end based on the amount of audio data

430‧‧‧使用一傳輸調整器,接收回饋資訊來決定是否調整該音訊資料的傳送速度 430‧‧‧Use a transmission adjuster to receive feedback information to determine whether to adjust the transmission speed of the audio data

圖1是與所揭露的一實施範例一致的一示意圖,說明一種通用序列匯流排音訊傳輸調整的裝置。 1 is a schematic diagram consistent with an embodiment of the disclosure, illustrating a device for universal sequence bus audio transmission adjustment.

圖2是與所揭露的一實施範例一致的一示意圖,說明圖1中的緩衝處理器。 2 is a schematic diagram consistent with an embodiment of the disclosure, illustrating the buffer processor of FIG. 1.

圖3是與所揭露的一實施範例一致的一示意圖,說明控制器依據音訊資料量傳送一回饋資訊。 FIG. 3 is a schematic diagram consistent with an embodiment of the disclosure, illustrating that the controller transmits a feedback information according to the amount of audio data.

圖4是與所揭露的一實施範例一致的一示意圖,說明一種通用序列匯流排(USB)音訊傳輸調整的方法。 4 is a schematic diagram consistent with an embodiment of the disclosure, illustrating a method of universal serial bus (USB) audio transmission adjustment.

以下,參考伴隨的圖式,詳細說明依據本發明的實施例,俾使本領域者易於瞭解。所述之創作可以採用多種變化的實施方式,當不能只限定於這些實施例。本發明省略已熟知部分(well-known part)的描述,並且相同的參考號於本發明中代表相同的元件。 Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings, which are readily understood by those skilled in the art. The authoring of the invention may take a variety of variations, and should not be limited to only those embodiments. The description of the well-known part is omitted in the present invention, and the same reference numerals denote the same elements in the present invention.

本揭露提出通用序列匯流排音音訊傳輸調整的技術,附件端經由中斷末端(Interrupt Endpoint)將回饋資訊回傳給手持裝置,進而調整音訊資料的傳輸。圖1是與所揭露的一實施範例一致的一示意圖,說明一種通用序列匯流排音訊傳輸調整的裝置。 The disclosure proposes a technique for adjusting the transmission of the universal sequence bus audio and audio transmission, and the accessory end transmits the feedback information to the handheld device via the Interrupt Endpoint, thereby adjusting the transmission of the audio data. 1 is a schematic diagram consistent with an embodiment of the disclosure, illustrating a device for universal sequence bus audio transmission adjustment.

在圖1中,此通用序列匯流排(USB)音訊傳輸調整的 裝置100包含:一緩衝處理器110,接收和儲存經由一通用序列匯流排傳送的一音訊資料111,並且計數該音訊資料來產生一音訊資料量112;一控制器120,依據該音訊資料量112經由中斷末端(Interrupt Endpoint)傳送一回饋資訊121;以及一傳輸調整器130,接收回饋資訊121來決定是否調整該音訊資料111的傳送速度。 In Figure 1, this universal serial bus (USB) audio transmission is adjusted. The device 100 includes: a buffer processor 110 that receives and stores an audio data 111 transmitted via a universal serial bus, and counts the audio data to generate an audio data amount 112; a controller 120 according to the audio data amount 112 A feedback information 121 is transmitted via an Interrupt Endpoint; and a transmission adjuster 130 receives the feedback information 121 to determine whether to adjust the transmission speed of the audio material 111.

根據圖1中通用序列匯流排(USB)音訊傳輸調整的裝置的實施範例,首先緩衝處理器110,接收和儲存經由一通用序列匯流排傳送的一音訊資料111。圖2是與所揭露的一實施範例一致的一示意圖,說明圖1中的緩衝處理器110。參考圖2,由一通用序列匯流主機傳送一音訊資料111。其中音訊資料是一取樣的音頻訊號資料。緩衝處理器110包含一緩衝儲存器210,例如是一先進先出(First In First out,FIFO)儲存器,以序列方式接收經通用序列匯流排傳送的音訊資料111。緩衝處理器110還包含一計數器220來計數緩衝儲存器210中所緩衝儲存的音訊資料的容量,來產生音訊資料量112,如圖2所示。 According to an embodiment of the apparatus for universal sequence bus (USB) audio transmission adjustment in FIG. 1, buffer processor 110 is first provided to receive and store an audio material 111 transmitted via a universal sequence bus. 2 is a schematic diagram consistent with an embodiment of the disclosure, illustrating the buffer processor 110 of FIG. Referring to Figure 2, an audio material 111 is transmitted by a universal serial sink host. The audio data is a sampled audio signal data. The buffer processor 110 includes a buffer memory 210, such as a first in first out (FIFO) memory, for receiving the audio data 111 transmitted via the universal serial bus in a sequential manner. The buffer processor 110 further includes a counter 220 for counting the capacity of the audio data buffered in the buffer memory 210 to generate the audio data amount 112, as shown in FIG.

根據圖1中通用序列匯流排(USB)音訊傳輸調整的裝置的實施範例,控制器120依據該音訊資料量112經由中斷末端(Interrupt Endpoint)傳送一回饋資訊121。圖3是與所揭露的一實施範例一致的一示意圖,說明控制器依據音訊資料量傳送一回饋資訊。參考圖3的實施範例,控制器120可將音訊資料量B與一上限量U和一下限量L比較,而訂定一回饋資訊121。其中上限量U和下限量L是緩衝儲存器210的上限量U和下限量L,例如假設緩衝儲存器210的容量是4Mb(百萬位元),而訂定上限量U為3Mb和下限量L為1Mb。其中比較方式可以使用例如比較器,來比較訊資料量B與上限量U和下限量L比較。若B≧U,則訂定訂定回饋資訊121為低頻率。若B ≦L,則訂定回饋資訊121為高頻率。若U>B>L,則訂定回饋資訊121為正常頻率。上述若B≧U,此音訊資料量高於緩衝儲存器容量的上限,此緩衝儲存器內音訊資料量偏高。上述若B≦L,表示此音訊資料量低於緩衝儲存器容量的下限,此緩衝儲存器內音訊資料量偏低。 According to an implementation example of the apparatus for universal sequence bus (USB) audio transmission adjustment in FIG. 1, the controller 120 transmits a feedback information 121 via an interrupt end point according to the amount of audio data 112. FIG. 3 is a schematic diagram consistent with an embodiment of the disclosure, illustrating that the controller transmits a feedback information according to the amount of audio data. Referring to the embodiment of FIG. 3, the controller 120 can compare the amount of audio data B with an upper limit amount U and a lower limit amount L to define a feedback information 121. The upper limit amount U and the lower limit amount L are the upper limit amount U and the lower limit amount L of the buffer reservoir 210, for example, it is assumed that the capacity of the buffer storage 210 is 4 Mb (million bits), and the upper limit amount U is set to be 3 Mb and the lower limit amount. L is 1 Mb. The comparison method may use, for example, a comparator to compare the amount of data B with the upper limit amount U and the lower limit amount L. If B ≧ U, the customized feedback information 121 is set to a low frequency. If B ≦L, the feedback information 121 is set to a high frequency. If U>B>L, the feedback information 121 is set to the normal frequency. If the above data is higher than the upper limit of the buffer memory capacity, the amount of audio data in the buffer memory is high. If B≦L above, it indicates that the amount of audio data is lower than the lower limit of the buffer memory capacity, and the amount of audio data in the buffer memory is low.

根據圖1中通用序列匯流排(USB)音訊傳輸調整的裝置的實施範例,傳輸調整器130接收回饋資訊121來決定是否調整該音訊資料111的傳送速度。在實施範例中,若傳輸調整器130接收的回饋資訊121是高頻率,表示緩衝儲存器內音訊資料量偏低,則可以將該音訊資料111的傳送速度調整為較高頻率,即調高傳送速度。在實施範例中,若傳輸調整器130接收的回饋資訊121是低頻率,表示緩衝儲存器內音訊資料量偏高,則可以將該音訊資料111的傳送速度調整為較低頻率,即調低傳送速度。在實施範例中,若傳輸調整器130接收的回饋資訊121是正常頻率,表示緩衝儲存器內音訊資料量在上限量U和下限量L之間,則該音訊資料111的傳送速度可以不進行調整。 According to an implementation example of the apparatus for universal sequence bus (USB) audio transmission adjustment in FIG. 1, the transmission adjuster 130 receives the feedback information 121 to determine whether to adjust the transmission speed of the audio material 111. In the embodiment, if the feedback information 121 received by the transmission adjuster 130 is a high frequency, indicating that the amount of audio data in the buffer memory is low, the transmission speed of the audio data 111 can be adjusted to a higher frequency, that is, the transmission is increased. speed. In the embodiment, if the feedback information 121 received by the transmission adjuster 130 is a low frequency, indicating that the amount of audio data in the buffer memory is too high, the transmission speed of the audio data 111 can be adjusted to a lower frequency, that is, the transmission is lowered. speed. In the embodiment, if the feedback information 121 received by the transmission adjuster 130 is a normal frequency, indicating that the amount of audio data in the buffer memory is between the upper limit amount U and the lower limit amount L, the transmission speed of the audio data 111 may not be adjusted. .

根據另一個實施範例,圖4說明一種通用序列匯流排(USB)音訊傳輸調整的方法,此方法包含:使用一緩衝處理器,接收和儲存經由一通用序列匯流排傳送的一音訊資料,並且計數該音訊資料來產生一音訊資料量(步驟410);使用一控制器,依據該音訊資料量經由中斷末端(Interrupt Endpoint)傳送一回饋資訊(步驟420);以及使用一傳輸調整器,接收回饋資訊來決定是否調整該音訊資料的傳送速度(步驟430)。 According to another embodiment, FIG. 4 illustrates a method for universal serial bus (USB) audio transmission adjustment, the method comprising: receiving and storing an audio data transmitted via a universal sequence bus using a buffer processor, and counting The audio data is used to generate an audio data amount (step 410); using a controller to transmit a feedback information via an interrupt end point according to the amount of the audio data (step 420); and receiving a feedback information by using a transmission adjuster It is determined whether to adjust the transmission speed of the audio material (step 430).

如前所述,在步驟410中的音訊資料是一取樣的音頻訊號資料。緩衝處理器可使用一緩衝儲存器例如是一先進先出(First In First out,FIFO)儲存器,以序列方式接收經通用序列匯流排接收界面傳送的音訊資料。緩衝處理器還可使用一計數器來計數緩衝儲存器中所緩衝儲存的音訊資料的容量,來產生音訊資料量B。 As previously mentioned, the audio material in step 410 is a sampled audio signal material. The buffer processor can use a buffer memory such as a first in first out (First In First out (FIFO) memory that sequentially receives audio data transmitted via the universal serial bus receiving interface. The buffer processor can also use a counter to count the capacity of the audio data buffered in the buffer memory to generate the amount of audio data B.

如前所述,在步驟420中,控制器依據音訊資料量傳送一回饋資訊。控制器可將音訊資料量B與一上限量U和一下限量L比較,而訂定一回饋資訊。其中上限量U和下限量L是緩衝儲存器的上限量U和下限量L,例如假設緩衝儲存器的容量是4Mb(百萬位元),而訂定上限量U為3Mb和下限量L為1Mb。若B≦L,則訂定回饋資訊為高頻率。若U>B>L,則訂定回饋資訊為正常頻率。若B≧U,則訂定訂定回饋資訊為低頻率。上述若B≦L,表示此音訊資料量低於緩衝儲存器容量的下限,此緩衝儲存器內音訊資料量偏低。上述若B≧U,此音訊資料量高於緩衝儲存器容量的上限,此緩衝儲存器內音訊資料量偏高。 As previously mentioned, in step 420, the controller transmits a feedback message based on the amount of audio data. The controller can compare the amount of audio data B with an upper limit amount U and a lower limit amount L to set a feedback information. The upper limit amount U and the lower limit amount L are the upper limit amount U and the lower limit amount L of the buffer storage, for example, assuming that the capacity of the buffer storage is 4 Mb (million bits), and the predetermined upper limit amount U is 3 Mb and the lower limit amount L is 1Mb. If B≦L, the feedback information is set to a high frequency. If U>B>L, the feedback information is set to the normal frequency. If B≧U, the fixed feedback information is set to a low frequency. If B≦L above, it indicates that the amount of audio data is lower than the lower limit of the buffer memory capacity, and the amount of audio data in the buffer memory is low. If the above data is higher than the upper limit of the buffer memory capacity, the amount of audio data in the buffer memory is high.

如前所述,在步驟430中,傳輸調整器接收回饋資訊來決定是否調整該音訊資料的傳送速度。在實施範例中,若傳輸調整器接收的回饋資訊是高頻率,表示緩衝儲存器內音訊資料量偏低,則可以將該音訊資料的傳送速度調整為較高頻率,即調高傳送速度。在實施範例中,若傳輸調整器接收的回饋資訊是低頻率,表示緩衝儲存器內音訊資料量偏高,則可以將該音訊資料的傳送速度調整為較低頻率,即調低傳送速度。在實施範例中,若傳輸調整器130接收的回饋資訊是正常頻率,表示緩衝儲存器內音訊資料量在上限量U和下限量L之間,則該音訊資料的傳送速度可以不進行調整。 As previously mentioned, in step 430, the transmission adjuster receives the feedback information to determine whether to adjust the transmission speed of the audio material. In the embodiment, if the feedback information received by the transmission adjuster is high frequency, indicating that the amount of audio data in the buffer memory is low, the transmission speed of the audio data may be adjusted to a higher frequency, that is, the transmission speed is increased. In the embodiment, if the feedback information received by the transmission adjuster is low frequency, indicating that the amount of audio data in the buffer memory is too high, the transmission speed of the audio data may be adjusted to a lower frequency, that is, the transmission speed is lowered. In the embodiment, if the feedback information received by the transmission adjuster 130 is a normal frequency, indicating that the amount of audio data in the buffer memory is between the upper limit amount U and the lower limit amount L, the transmission speed of the audio data may not be adjusted.

綜上所述,本揭露提出一種音訊傳輸調整的技術,經由中斷末端(Interrupt Endpoint)將回饋資訊回傳,進而調整音訊資料的傳輸。 In summary, the present disclosure proposes a technique for adjusting audio transmission, which returns feedback information via an Interrupt Endpoint to adjust the transmission of audio data.

惟,以上所揭露之圖示及說明,僅為本發明之較佳實施例而已,非為用以限定本發明之實施,大凡熟悉該項技藝之人士其所依本發明之精神,所作之變化或修飾,皆應涵蓋在以下本案之申請專利範圍內。 The illustrations and descriptions of the present invention are merely preferred embodiments of the present invention, and are not intended to limit the implementation of the present invention, and those who are familiar with the art are subject to the changes in the spirit of the present invention. Or the modifications should be covered by the following patent application in this case.

100‧‧‧通用序列匯流排音訊傳輸調整的裝置 100‧‧‧General sequence bus audio transmission adjustment device

110‧‧‧緩衝處理器 110‧‧‧ buffer processor

111‧‧‧音訊資料 111‧‧‧ Audio Information

112‧‧‧音訊資料量 112‧‧‧Audio data volume

120‧‧‧控制器 120‧‧‧ Controller

121‧‧‧回饋資訊 121‧‧‧Reward information

130‧‧‧傳輸調整器 130‧‧‧Transfer adjuster

Claims (10)

一種通用序列匯流排(USB)音訊傳輸調整的裝置,此裝置包含:一緩衝處理器,接收和儲存經由一通用序列匯流排傳送的一音訊資料,並且計數該音訊資料來產生一音訊資料量;一控制器,依據該音訊資料量經由中斷末端(Interrupt Endpoint)傳送一回饋資訊;以及一傳輸調整器,接收該回饋資訊來決定是否調整該音訊資料的傳送速度。 A universal serial bus (USB) audio transmission adjustment device, the device comprising: a buffer processor for receiving and storing an audio data transmitted via a universal serial bus, and counting the audio data to generate an audio data amount; A controller transmits a feedback information according to the amount of the audio data via an Interrupt Endpoint; and a transmission adjuster receives the feedback information to determine whether to adjust the transmission speed of the audio data. 如申請專利範圍第1項所述之裝置,其中該緩衝處理器包含一緩衝儲存器以序列方式接收該音訊資料。 The device of claim 1, wherein the buffer processor comprises a buffer memory to receive the audio data in a sequence. 如申請專利範圍第1項所述之裝置,其中該緩衝處理器包含一計數器計數該音訊資料來產生該音訊資料量。 The device of claim 1, wherein the buffer processor comprises a counter to count the audio data to generate the amount of the audio data. 如申請專利範圍第1項所述之裝置,其中該控制器將該音訊資料量與一上限量和一下限量比較,來訂定該回饋資訊。 The device of claim 1, wherein the controller compares the amount of audio data with an upper limit amount and a lower limit amount to determine the feedback information. 如申請專利範圍第4項所述之裝置,其中若該傳輸調整器依據該回饋資訊表示該音訊資料量低於該下限量,則將該音訊資料的傳送速度調高;若該傳輸調整器依據該回饋資訊表示該音訊資料量高於該上限量,則將該音訊資料的傳送速度調低。 The device of claim 4, wherein if the transmission adjuster indicates that the amount of the audio data is lower than the lower limit according to the feedback information, the transmission speed of the audio data is increased; if the transmission adjuster is based on The feedback information indicates that the amount of the audio data is higher than the upper limit, and the transmission speed of the audio data is lowered. 一種通用序列匯流排(USB)音訊傳輸調整的方法,此方法包含:使用一緩衝處理器,接收和儲存經由一通用序列匯流排傳送的一音訊資料,並且計數該音訊資料來產生一音訊資料量;使用一控制器,依據該音訊資料量經由中斷末端(Interrupt Endpoint)傳送一回饋資訊;以及 使用一傳輸調整器,接收該回饋資訊來決定是否調整該音訊資料的傳送速度。 A method for universal serial bus (USB) audio transmission adjustment, the method comprising: receiving and storing an audio data transmitted via a universal sequence bus using a buffer processor, and counting the audio data to generate an audio data amount Using a controller to transmit a feedback message via an interrupt endpoint according to the amount of the audio data; A transmission adjuster is used to receive the feedback information to determine whether to adjust the transmission speed of the audio data. 如申請專利範圍第6項所述之方法,其中該緩衝處理器使用一緩衝儲存器以序列方式接收該音訊資料。 The method of claim 6, wherein the buffer processor uses a buffer memory to receive the audio material in a serial manner. 如申請專利範圍第6項所述之方法,其中該緩衝處理器使用一計數器計數該音訊資料來產生該音訊資料量。 The method of claim 6, wherein the buffer processor uses a counter to count the audio data to generate the amount of audio data. 如申請專利範圍第6項所述之方法,其中該控制器將該音訊資料量與一上限量和一下限量比較,來訂定該回饋資訊。 The method of claim 6, wherein the controller compares the amount of audio data with an upper limit amount and a lower limit amount to determine the feedback information. 如申請專利範圍第9項所述之方法,其中若該傳輸調整器依據該回饋資訊表示該音訊資料量低於該下限量,則將該音訊資料的傳送速度調高;若該傳輸調整器依據該回饋資訊表示該音訊資料量高於該上限量,則將該音訊資料的傳送速度調低。 The method of claim 9, wherein if the transmission adjuster indicates that the amount of the audio data is lower than the lower limit according to the feedback information, the transmission speed of the audio data is increased; if the transmission adjuster is based on The feedback information indicates that the amount of the audio data is higher than the upper limit, and the transmission speed of the audio data is lowered.
TW104125007A 2015-07-31 2015-07-31 Apparatus and method of USB audio transmission adjustment TW201705010A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW104125007A TW201705010A (en) 2015-07-31 2015-07-31 Apparatus and method of USB audio transmission adjustment
CN201510647978.1A CN106407149A (en) 2015-07-31 2015-10-09 Device and method for adjusting audio transmission of universal sequence bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104125007A TW201705010A (en) 2015-07-31 2015-07-31 Apparatus and method of USB audio transmission adjustment

Publications (1)

Publication Number Publication Date
TW201705010A true TW201705010A (en) 2017-02-01

Family

ID=58007965

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104125007A TW201705010A (en) 2015-07-31 2015-07-31 Apparatus and method of USB audio transmission adjustment

Country Status (2)

Country Link
CN (1) CN106407149A (en)
TW (1) TW201705010A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110033781B (en) * 2018-01-10 2021-06-01 盛微先进科技股份有限公司 Audio processing method, apparatus and non-transitory computer readable medium
TWI722574B (en) * 2019-09-18 2021-03-21 新唐科技股份有限公司 Audio and data synchronization device and method thereof
TWI734326B (en) * 2019-12-30 2021-07-21 新唐科技股份有限公司 Audio synchronization processing circuit and method thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3417392B2 (en) * 2000-09-08 2003-06-16 ヤマハ株式会社 Synchronous control device
TW200921325A (en) * 2007-11-05 2009-05-16 Holtek Semiconductor Inc Frequency synchronous apparatus and method
TW201010288A (en) * 2008-08-26 2010-03-01 Holtek Semiconductor Inc Synchronization device for transmitting real-time audio data by USB
CN103561282B (en) * 2013-10-29 2017-09-01 越亮传奇科技股份有限公司 The data transmission method and device of files in stream media
CN103973407B (en) * 2014-05-28 2017-08-11 北京经纬恒润科技有限公司 The message transmission rate matching process and device of remote data transmission system
CN104320699B (en) * 2014-10-22 2018-05-25 络达科技股份有限公司 The dynamic adjusting method of bluetooth sound-producing device

Also Published As

Publication number Publication date
CN106407149A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
TW201705010A (en) Apparatus and method of USB audio transmission adjustment
US20100185803A1 (en) Method and apparatus for adaptive data chunk transfer
US11343302B2 (en) Method for controlling bitrate in realtime and electronic device thereof
CN109918038B (en) Audio playing speed synchronization method and system
CN107005591B (en) Data processing apparatus, data processing method, and program
US20130108083A1 (en) Audio processing system and adjusting method for audio signal buffer
US8249515B2 (en) Mobile communication device with rotating earpiece
JP2018129792A5 (en)
TW201704923A (en) Apparatus and method of USB audio frequency locking
US12009916B2 (en) Radio frequency condition aware audio buffering
KR20150054100A (en) Method for processing data and an electronic device thereof
KR102506494B1 (en) Transmission device, transmission method, reception device, reception method, and program
US7821537B2 (en) Signal processing apparatus
US9961634B2 (en) Radio receiver and mute control method for the same
US20200034107A1 (en) Polling rates for universal serial bus (usb) endpoints
CN107357547B (en) Audio control method, audio control device and audio equipment
US10997984B2 (en) Sounding device, audio transmission system, and audio analysis method thereof
EP1796306A1 (en) Data communication system, data reproducing apparatus and data reproducing method
US20180342264A1 (en) Method of automatically recording audio content, and system therefor
US10510359B1 (en) Command processing device and method
CN110704340B (en) Data transmission device, system and method
EP4175323A1 (en) Public address system
JP2014017850A5 (en)
US20190087369A1 (en) Full-duplex memory access systems and methods for improved quality of service (qos)
CN113851128A (en) Intelligent voice equipment awakening method and device, electronic equipment and readable storage medium