[go: up one dir, main page]

CN106407149A - Device and method for adjusting audio transmission of universal sequence bus - Google Patents

Device and method for adjusting audio transmission of universal sequence bus Download PDF

Info

Publication number
CN106407149A
CN106407149A CN201510647978.1A CN201510647978A CN106407149A CN 106407149 A CN106407149 A CN 106407149A CN 201510647978 A CN201510647978 A CN 201510647978A CN 106407149 A CN106407149 A CN 106407149A
Authority
CN
China
Prior art keywords
audio data
transmission
feedback information
audio
amount
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201510647978.1A
Other languages
Chinese (zh)
Inventor
章戊霖
翁凤娸
许吟竹
陈诗儒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shengwei Advanced Technology Co ltd
Original Assignee
Shengwei Advanced Technology Co ltd
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 Shengwei Advanced Technology Co ltd filed Critical Shengwei Advanced Technology Co ltd
Publication of CN106407149A publication Critical patent/CN106407149A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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

本发明实施例公开了一种通用序列总线(USB)音频传输调整的装置,此装置包括:一缓冲处理器,接收和储存经由一通用序列总线传送的一音频数据,并且计数该音频数据来产生一音频数据量;使用一控制器,依据该音频数据量经由中断末端(Interrupt Endpoint)传送一反馈信息;以及一传输调整器,接收反馈信息来决定是否调整该音频数据的传送速度。本实施例的技术方案通过中断末端将反馈信息回传来调整音频数据的传输。

The embodiment of the present invention discloses a device for adjusting audio transmission of a universal serial bus (USB), the device comprising: a buffer processor, receiving and storing audio data transmitted via a universal serial bus, and counting the audio data to generate an audio data volume; using a controller, transmitting a feedback information via an interrupt endpoint according to the audio data volume; and a transmission adjuster, receiving the feedback information to determine whether to adjust the transmission speed of the audio data. The technical solution of this embodiment adjusts the transmission of the audio data by returning the feedback information via the interrupt endpoint.

Description

通用序列总线音频传输调整的装置与方法Device and method for universal serial bus audio transmission adjustment

技术领域technical field

本发明关于一种通用序列总线音频传输调整的装置与方法。The invention relates to a device and a method for adjusting universal serial bus audio transmission.

背景技术Background technique

以往,类比音频播放常应用在收音机、类比电视等,以类比信号直接驱动喇叭。随着科技的进步,个人电脑和网络的演进及数位音频信号处理的发展,数位音频播放已经应用于各种电子系统如电影院、家用、汽车等音响,以及数位电视、各种型式电脑、随身听、手机等。其中音频信号驱动的功能必须具备低杂音、高品质的特性,使得音响效果更为完善。In the past, analog audio playback was often used in radios, analog TVs, etc., and the speakers were directly driven by analog signals. With the advancement of science and 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, home, car and other audio systems, as well as digital TVs, various types of computers, and walkmans. , mobile phone, etc. Among them, the function driven by the audio signal must have the characteristics of low noise and high quality, so that the sound effect is more perfect.

类比音频播放常应用在收音机、类比电视等,以类比信号直接驱动喇叭。现有的数位音频数据的传输已大量使用通用序列总线(Universal SerialBus,USB)的界面。例如一般情况是由通用序列总线主机(Host)端将数位音频数据传送到通用序列总线装置(Device)端。或是使用手持装置将数位音频数据经由通用序列总线的界面传输到附件(Accessory)。对于即时性的音频数据传送及播放,常因附件端的时钟与手持装置的时钟之间的差异而造成音频数据的损毁,产生播放停顿或失真的情况。在此情况下,附件端可经由等时末端(Isochronous Endpoint)将反馈信息回传给手持装置,来调整音频数据的传输。Analog audio playback is often used in radios, analog TVs, etc., and the speakers are directly driven by analog signals. The existing digital audio data transmission has widely used the interface of Universal Serial Bus (USB). For example, generally, the USB host (Host) transmits the digital audio data to the USB device (Device). Or use the handheld device to transmit the digital audio data to the accessory (Accessory) via the USB interface. For real-time audio data transmission and playback, the audio data is often damaged due to the difference between the clock of the accessory end and the clock of the handheld device, resulting in playback pause or distortion. In this case, the accessory end can send feedback information back to the handheld device via an isochronous endpoint (Isochronous Endpoint) to adjust the transmission of audio data.

上述情况有些手持装置或嵌入系统(Embedded System)的Linux作业系统无法正常支持非同步机制(Asynchronous Mode),即经由等时末端(Isochronous Endpoint)将反馈信息回传的功能。In the above situation, some handheld devices or embedded system (Embedded System) Linux operating systems cannot normally support the asynchronous mechanism (Asynchronous Mode), that is, the function of returning feedback information through the isochronous endpoint (Isochronous Endpoint).

本发明提出一种通用序列总线音频传输调整的技术,附件端经由中断末端(Interrupt Endpoint)将反馈信息回传给手持装置,进而调整音频数据的传输。The present invention proposes a universal serial bus audio transmission adjustment technology. The accessory end sends feedback information back to the handheld device through an Interrupt Endpoint, and then adjusts the transmission of audio data.

发明内容Contents of the invention

本发明实施例可提供关于通用序列总线(USB)音频传输调整的装置与方法。Embodiments of the present invention can provide an apparatus and method related to Universal Serial Bus (USB) audio transmission adjustment.

所公开的一实施例是关于一种通用序列总线(USB)音频传输调整的装置,此装置包括:一缓冲处理器,接收和储存经由一通用序列总线传送的一音频数据,并且计数该音频数据来产生一音频数据量;一控制器,依据该音频数据量经由中断末端(Interrupt Endpoint)传送一反馈信息;以及一传输调整器,接收反馈信息来决定是否调整该音频数据的传送速度。A disclosed embodiment relates to a device for adjusting universal serial bus (USB) audio transmission, the device includes: a buffer processor, receiving and storing an audio data transmitted via a USB, and counting the audio data to generate an amount of audio data; a controller, which transmits feedback information through an Interrupt Endpoint according to the amount of audio data; and a transmission adjuster, which receives the feedback information to determine whether to adjust the transmission speed of the audio data.

于一实施例中,该缓冲处理器包括一缓冲储存器,该缓冲储存器以序列方式接收该音频数据。In one embodiment, the buffer processor includes a buffer memory that receives the audio data in a sequential manner.

于一实施例中,该缓冲处理器包括一计数器,该计数器计数该音频数据来产生该音频数据量。In one embodiment, the buffer processor includes a counter, and the counter counts the audio data to generate the audio data amount.

于一实施例中,该控制器将该音频数据量与一上限量和一下限量比较,来确定该反馈信息。In one embodiment, the controller compares the amount of audio data with an upper limit and a lower limit to determine the feedback information.

于一实施例中,若该传输调整器依据该反馈信息表示该音频数据量低于该下限量,则将该音频数据的传送速度调高;若该传输调整器依据该反馈信息表示该音频数据量高于该上限量,则将该音频数据的传送速度调低。In one embodiment, if the transmission adjuster indicates that the amount of 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 indicates that the audio data is If the amount is higher than the upper limit, then the transmission speed of the audio data is lowered.

所公开的另一实施例是关于一种通用序列总线(USB)音频传输调整的方法,此方法包括:使用一缓冲处理器,接收和储存经由一通用序列总线传送的一音频数据,并且计数该音频数据来产生一音频数据量;使用一控制器,依据该音频数据量经由中断末端(Interrupt Endpoint)传送一反馈信息;以及使用一传输调整器,接收反馈信息来决定是否调整该音频数据的传送速度。Another disclosed embodiment relates to a method for USB audio transmission adjustment. The method includes: using a buffer processor, receiving and storing an audio data transmitted via a USB, and counting the audio data to generate an audio data volume; use a controller to transmit a feedback information through the interrupt terminal (Interrupt Endpoint) according to the audio data volume; and use a transmission regulator to receive the feedback information to determine whether to adjust the transmission of the audio data speed.

于一实施例中,该缓冲处理器使用一缓冲储存器以序列方式接收该音频数据。In one embodiment, the buffer processor receives the audio data sequentially using a buffer memory.

于一实施例中,该缓冲处理器使用一计数器计数该音频数据来产生该音频数据量。In one embodiment, the buffer processor uses a counter to count the audio data to generate the audio data volume.

于一实施例中,该控制器将该音频数据量与一上限量和一下限量比较,来确定该反馈信息。In one embodiment, the controller compares the amount of audio data with an upper limit and a lower limit to determine the feedback information.

于一实施例中,若该传输调整器依据该反馈信息表示该音频数据量低于该下限量,则将该音频数据的传送速度调高;若该传输调整器依据该反馈信息表示该音频数据量高于该上限量,则将该音频数据的传送速度调低。In one embodiment, if the transmission adjuster indicates that the amount of 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 indicates that the audio data is If the amount is higher than the upper limit, then the transmission speed of the audio data is lowered.

附图说明Description of drawings

图1是与所公开的一实施例一致的一示意图,说明一种通用序列总线音频传输调整的装置。FIG. 1 is a schematic diagram consistent with a disclosed embodiment, illustrating a device for adjusting USB audio transmission.

图2是与所公开的一实施例一致的一示意图,说明图1中的缓冲处理器。FIG. 2 is a schematic diagram illustrating the buffer processor of FIG. 1, consistent with a disclosed embodiment.

图3是与所公开的一实施例一致的一示意图,说明控制器依据音频数据量传送一反馈信息。FIG. 3 is a schematic diagram consistent with a disclosed embodiment, illustrating that the controller sends a feedback message according to the amount of audio data.

图4是与所公开的一实施例一致的一示意图,说明一种通用序列总线(USB)音频传输调整的方法。FIG. 4 is a schematic diagram illustrating a method for universal serial bus (USB) audio transmission regulation consistent with a disclosed embodiment.

其中,附图标记说明如下:Wherein, the reference signs are explained as follows:

100 通用序列总线音频传输调整的装置100 Universal Serial Bus audio transmission adjustment device

110 缓冲处理器110 buffer processor

111 音频数据111 audio data

112 音频数据量112 Audio data volume

120 控制器120 controller

121 反馈信息121 Feedback information

130 传输调整器130 transmission regulator

410 使用一缓冲处理器,接收和储存经由一通用序列总线传送的一音频数据,并且计数该音频数据来产生一音频数据量410 Using a buffer processor, receiving and storing an audio data transmitted via a USB, and counting the audio data to generate an audio data amount

420 使用一控制器,依据该音频数据量经由中断末端传送一反馈信息420 Use a controller to send a feedback message through the interrupt terminal according to 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

具体实施方式detailed description

以下,参考伴随的附图,详细说明依据本发明的实施例,使本领域者易于了解。所述的发明创造可以采用多种变化的实施方式,当不能只限定于这些实施例。本发明省略本领域普通技术人员已熟知部分(well-knownpart)的描述,并且相同的参考号于本发明中代表相同的元件。Hereinafter, embodiments according to the present invention will be described in detail with reference to accompanying drawings, so that those skilled in the art can easily understand. The described inventions can be implemented in many different ways, but should not be limited to these examples. The present invention omits the description of the well-known parts of those skilled in the art, and the same reference numerals represent the same elements in the present invention.

本发明提出通用序列总线音频传输调整的技术,附件端经由中断末端(Interrupt Endpoint)将反馈信息回传给手持装置,进而调整音频数据的传输。图1是与所公开的一实施范例一致的一示意图,说明一种通用序列总线音频传输调整的装置。The present invention proposes a USB audio transmission adjustment technology. The accessory end sends feedback information back to the handheld device through an Interrupt Endpoint, and then adjusts the audio data transmission. FIG. 1 is a schematic diagram consistent with a disclosed embodiment, illustrating a device for adjusting USB audio transmission.

在图1中,此通用序列总线(USB)音频传输调整的装置100包括:一缓冲处理器110,接收和储存经由一通用序列总线传送的一音频数据111,并且计数该音频数据来产生一音频数据量112;一控制器120,依据该音频数据量112经由中断末端(Interrupt Endpoint)传送一反馈信息121;以及一传输调整器130,接收反馈信息121来决定是否调整该音频数据111的传送速度。In Fig. 1, the device 100 for adjusting audio transmission of the Universal Serial Bus (USB) includes: a buffer processor 110, which receives and stores an audio data 111 transmitted via a USB, and counts the audio data to generate an audio Data amount 112; a controller 120, transmits a feedback information 121 through the interrupt terminal (Interrupt Endpoint) according to the audio data amount 112; and a transmission regulator 130, receives the feedback information 121 to determine whether to adjust the transmission speed of the audio data 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 the implementation example of the device for adjusting USB audio transmission in FIG. 1 , firstly, the buffer processor 110 receives and stores an audio data 111 transmitted via a USB. FIG. 2 is a schematic diagram illustrating the buffer processor 110 of FIG. 1 , consistent with a disclosed embodiment. Referring to FIG. 2, an audio data 111 is transmitted by a USB 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, which receives the audio data 111 transmitted through the Universal Serial Bus in a serial manner. The buffer processor 110 further includes a counter 220 for counting the volume of audio data buffered in the buffer memory 210 to generate an audio data volume 112, as shown in FIG. 2 .

根据图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 the implementation example of the device for USB audio transmission adjustment in FIG. 1 , the controller 120 transmits a feedback message 121 through an interrupt endpoint (Interrupt Endpoint) according to the audio data volume 112 . FIG. 3 is a schematic diagram consistent with a disclosed embodiment, illustrating that the controller sends a feedback message according to the amount of audio data. Referring to the example of FIG. 3 , the controller 120 can compare the audio data volume B with an upper limit U and a lower limit L to determine a feedback information 121 . Wherein the upper limit U and the lower limit L are the upper limit U and the lower limit L of the buffer storage 210, such as assuming that the capacity of the buffer storage 210 is 4Mb (million bits), and the upper limit U is determined to be 3Mb and the lower limit L 1Mb. The comparison method can use, for example, a comparator to compare the data amount B with the upper limit U and the lower limit L. If B≧U, it is determined that the feedback information 121 is low frequency. If B≦L, it is determined that the feedback information 121 is a high frequency. If U>B>L, it is determined that the feedback information 121 is a normal frequency. If B≧U above, the amount of audio data is higher than the upper limit of the buffer memory capacity, and the amount of audio data in the buffer memory is relatively high. If B≦L above, it means 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 relatively low.

根据图1中通用序列总线(USB)音频传输调整的装置的实施范例,传输调整器130接收反馈信息121来决定是否调整该音频数据111的传送速度。在实施范例中,若传输调整器130接收的反馈信息121是高频率,表示缓冲储存器内音频数据量偏低,则可以将该音频数据111的传送速度调整为较高频率,即调高传送速度。在实施范例中,若传输调整器130接收的反馈信息121是低频率,表示缓冲储存器内音频数据量偏高,则可以将该音频数据111的传送速度调整为较低频率,即调低传送速度。在实施范例中,若传输调整器130接收的反馈信息121是正常频率,表示缓冲储存器内音频数据量在上限量U和下限量L之间,则该音频数据111的传送速度可以不进行调整。According to the implementation example of the apparatus for 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 data 111 . In an example 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 speed can be increased. speed. In an example embodiment, if the feedback information 121 received by the transmission adjuster 130 is low frequency, indicating that the amount of audio data in the buffer memory is relatively high, the transmission speed of the audio data 111 can be adjusted to a lower frequency, that is, the transmission speed can be reduced. speed. In an example 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 U and the lower limit L, then the transmission speed of the audio data 111 may not be adjusted. .

根据另一个实施范例,图4说明一种通用序列总线(USB)音频传输调整的方法,此方法包括:使用一缓冲处理器,接收和储存经由一通用序列总线传送的一音频数据,并且计数该音频数据来产生一音频数据量(步骤410);使用一控制器,依据该音频数据量经由中断末端(Interrupt Endpoint)传送一反馈信息(步骤420);以及使用一传输调整器,接收反馈信息来决定是否调整该音频数据的传送速度(步骤430)。According to another implementation example, FIG. 4 illustrates a method for adjusting Universal Serial Bus (USB) audio transmission, the method includes: using a buffer processor, receiving and storing an audio data transmitted via a USB, and counting the audio data to generate an audio data volume (step 410); use a controller to transmit a feedback information (step 420) through the interrupt terminal (Interrupt Endpoint) according to the audio data volume; and use a transmission regulator to receive the feedback information to Determine whether to adjust the transmission speed of the audio data (step 430).

如前所述,在步骤410中的音频数据是一取样的音频信号数据。缓冲处理器可使用一缓冲储存器例如是一先进先出(First In First out,FIFO)储存器,以序列方式接收经通用序列总线接收界面传送的音频数据。缓冲处理器还可使用一计数器来计数缓冲储存器中所缓冲储存的音频数据的容量,来产生音频数据量B。As mentioned before, the audio data in step 410 is a sampled audio signal data. The buffer processor can use a buffer storage such as a first-in-first-out (FIFO) storage to sequentially receive the audio data transmitted through the USB receiving interface. The buffer processor can also use a counter to count the volume of audio data buffered in the buffer memory to generate the audio data volume 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 mentioned above, in step 420, the controller sends a feedback message according to the amount of audio data. The controller can compare the audio data volume B with an upper limit U and a lower limit L to determine a feedback message. Wherein the upper limit U and the lower limit L are the upper limit U and the lower limit L of the buffer storage, for example, assuming that the capacity of the buffer storage is 4Mb (million bits), and the upper limit U is determined to be 3Mb and the lower limit L is 1Mb . If B≦L, it is determined that the feedback information is high frequency. If U>B>L, it is determined that the feedback information is a normal frequency. If B≧U, it is determined that the feedback information is low frequency. If B≦L above, it means 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 relatively low. If B≧U above, the amount of audio data is higher than the upper limit of the buffer memory capacity, and the amount of audio data in the buffer memory is relatively high.

如前所述,在步骤430中,传输调整器接收反馈信息来决定是否调整该音频数据的传送速度。在实施范例中,若传输调整器接收的反馈信息是高频率,表示缓冲储存器内音频数据量偏低,则可以将该音频数据的传送速度调整为较高频率,即调高传送速度。在实施范例中,若传输调整器接收的反馈信息是低频率,表示缓冲储存器内音频数据量偏高,则可以将该音频数据的传送速度调整为较低频率,即调低传送速度。在实施范例中,若传输调整器130接收的反馈信息是正常频率,表示缓冲储存器内音频数据量在上限量U和下限量L之间,则该音频数据的传送速度可以不进行调整。As mentioned above, in step 430, the transmission adjuster receives the feedback information to determine whether to adjust the transmission speed of the audio data. In an example 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 can be adjusted to a higher frequency, that is, the transmission speed can be increased. In an example 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 relatively high, the transmission speed of the audio data can be adjusted to a lower frequency, that is, the transmission speed can be lowered. In an exemplary embodiment, if the feedback information received by the transmission adjuster 130 is a normal frequency, indicating that the audio data volume in the buffer memory is between the upper limit U and the lower limit L, the transmission speed of the audio data may not be adjusted.

综上所述,本发明提出一种音频传输调整的技术,经由中断末端(Interrupt Endpoint)将反馈信息回传,进而调整音频数据的传输。To sum up, the present invention proposes an audio transmission adjustment technology, which transmits feedback information through an interrupt endpoint (Interrupt Endpoint), and then adjusts the transmission of audio data.

以上所公开的附图及说明,仅为本发明的较佳实施例而已,非为用以限定本发明的实施,大凡本领域普通技术人员其所依本发明的精神,所作的变化或修饰,皆应涵盖在本发明的权利要求范围内。The drawings and descriptions disclosed above are only preferred embodiments of the present invention, and are not intended to limit the implementation of the present invention. Any changes or modifications made by those of ordinary skill in the art according to the spirit of the present invention, All should be covered within the scope of the claims of the present invention.

Claims (10)

1.一种通用序列总线音频传输调整的装置,该装置包括:1. A device for adjusting universal serial bus audio transmission, the device comprising: 一缓冲处理器,接收和储存经由一通用序列总线传送的一音频数据,并且计数该音频数据来产生一音频数据量;A buffer processor receives and stores an audio data transmitted via a universal serial bus, and counts the audio data to generate an audio data amount; 一控制器,依据该音频数据量经由中断末端传送一反馈信息;以及a controller that transmits a feedback message via the interrupt terminal according to the audio data volume; and 一传输调整器,接收该反馈信息来决定是否调整该音频数据的传送速度。A transmission adjuster receives the feedback information to determine whether to adjust the transmission speed of the audio data. 2.如权利要求1所述的装置,其特征在于,该缓冲处理器包括一缓冲储存器,该缓冲储存器以序列方式接收该音频数据。2. The device of claim 1, wherein the buffer processor comprises a buffer memory, and the buffer memory receives the audio data in a sequential manner. 3.如权利要求1所述的装置,其特征在于,该缓冲处理器包括一计数器,该计数器计数该音频数据来产生该音频数据量。3. The device as claimed in claim 1, wherein the buffer processor comprises a counter, and the counter counts the audio data to generate the audio data amount. 4.如权利要求1所述的装置,其特征在于,该控制器将该音频数据量与一上限量和一下限量比较,来确定该反馈信息。4. The apparatus of claim 1, wherein the controller compares the volume of audio data with an upper limit and a lower limit to determine the feedback information. 5.如权利要求4所述的装置,其特征在于,若该传输调整器依据该反馈信息表示该音频数据量低于该下限量,则将该音频数据的传送速度调高;若该传输调整器依据该反馈信息表示该音频数据量高于该上限量,则将该音频数据的传送速度调低。5. The device according to claim 4, wherein if the transmission adjuster indicates that the amount of audio data is lower than the lower limit according to the feedback information, then the transmission speed of the audio data is increased; if the transmission adjustment If the device indicates that the amount of audio data is higher than the upper limit according to the feedback information, the transmission speed of the audio data is lowered. 6.一种通用序列总线(USB)音频传输调整的方法,包括:6. A method for universal serial bus (USB) audio transmission adjustment, comprising: 使用一缓冲处理器,接收和储存经由一通用序列总线传送的一音频数据,并且计数该音频数据来产生一音频数据量;using a buffer processor, receiving and storing an audio data transmitted via a universal serial bus, and counting the audio data to generate an audio data volume; 使用一控制器,依据该音频数据量经由中断末端传送一反馈信息;以及using a controller to transmit a feedback message via the interrupt terminal according to the audio data volume; and 使用一传输调整器,接收该反馈信息来决定是否调整该音频数据的传送速度。A transmission regulator is used to receive the feedback information to determine whether to adjust the transmission speed of the audio data. 7.如权利要求6所述的方法,其特征在于,该缓冲处理器使用一缓冲储存器以序列方式接收该音频数据。7. The method of claim 6, wherein the buffer processor uses a buffer memory to receive the audio data in a sequential manner. 8.如权利要求6所述的方法,其特征在于,该缓冲处理器使用一计数器计数该音频数据来产生该音频数据量。8. The method of claim 6, wherein the buffer processor uses a counter to count the audio data to generate the audio data volume. 9.如权利要求6所述的方法,其特征在于,该控制器将该音频数据量与一上限量和一下限量比较,来确定该反馈信息。9. The method of claim 6, wherein the controller compares the volume of the audio data with an upper limit and a lower limit to determine the feedback information. 10.如权利要求9所述的方法,其特征在于,若该传输调整器依据该反馈信息表示该音频数据量低于该下限量,则将该音频数据的传送速度调高;若该传输调整器依据该反馈信息表示该音频数据量高于该上限量,则将该音频数据的传送速度调低。10. The method according to claim 9, wherein if the transmission adjuster indicates that the amount of audio data is lower than the lower limit according to the feedback information, then the transmission speed of the audio data is increased; if the transmission adjustment If the device indicates that the amount of audio data is higher than the upper limit according to the feedback information, the transmission speed of the audio data is lowered.
CN201510647978.1A 2015-07-31 2015-10-09 Device and method for adjusting audio transmission of universal sequence bus Pending CN106407149A (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
CN106407149A true CN106407149A (en) 2017-02-15

Family

ID=58007965

Family Applications (1)

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

Country Status (2)

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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110033781A (en) * 2018-01-10 2019-07-19 盛微先进科技股份有限公司 Audio-frequency processing method, device and non-transitory computer readable media
CN112533046A (en) * 2019-09-18 2021-03-19 新唐科技股份有限公司 Audio data synchronization device and method thereof
CN113132044A (en) * 2019-12-30 2021-07-16 新唐科技股份有限公司 Audio synchronous processing circuit and method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030063627A1 (en) * 2000-09-08 2003-04-03 Masafumi Toshitani Synchronization 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
CN103561282A (en) * 2013-10-29 2014-02-05 联想中望系统服务有限公司 Streaming media file data transmission method and device
CN103973407A (en) * 2014-05-28 2014-08-06 北京经纬恒润科技有限公司 Data transmission rate matching method and device of remote data transmission system
CN104320699A (en) * 2014-10-22 2015-01-28 络达科技股份有限公司 Dynamic adjustment method of bluetooth sounding device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030063627A1 (en) * 2000-09-08 2003-04-03 Masafumi Toshitani Synchronization 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
CN103561282A (en) * 2013-10-29 2014-02-05 联想中望系统服务有限公司 Streaming media file data transmission method and device
CN103973407A (en) * 2014-05-28 2014-08-06 北京经纬恒润科技有限公司 Data transmission rate matching method and device of remote data transmission system
CN104320699A (en) * 2014-10-22 2015-01-28 络达科技股份有限公司 Dynamic adjustment method of bluetooth sounding device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110033781A (en) * 2018-01-10 2019-07-19 盛微先进科技股份有限公司 Audio-frequency processing method, device and non-transitory computer readable media
CN112533046A (en) * 2019-09-18 2021-03-19 新唐科技股份有限公司 Audio data synchronization device and method thereof
CN113132044A (en) * 2019-12-30 2021-07-16 新唐科技股份有限公司 Audio synchronous processing circuit and method thereof

Also Published As

Publication number Publication date
TW201705010A (en) 2017-02-01

Similar Documents

Publication Publication Date Title
CN107170460B (en) Sound quality adjustment method, system, host, and storage medium
TWI671737B (en) Echo-cancelling apparatus and echo-cancelling method
EP3697057B1 (en) Method for controlling bitrate in realtime and electronic device thereof
CN104813296A (en) USB audio and power transmission
CN107005591B (en) Data processing apparatus, data processing method, and program
US9118678B2 (en) Indirect clock measuring and media adjustment
CN104982080A (en) Terminal apparatus and method for time synchronization
CN115053288A (en) Electronic device and method for controlling buffer
CN106407149A (en) Device and method for adjusting audio transmission of universal sequence bus
US12009916B2 (en) Radio frequency condition aware audio buffering
US20130108083A1 (en) Audio processing system and adjusting method for audio signal buffer
CN106407157A (en) Universal serial bus audio frequency locking device and method
US9396735B2 (en) System for real time audio processing driven by interrupt and timer event
CN108882345B (en) Bluetooth device and sleep control method, device, and computer-readable storage medium
US11537544B2 (en) Communicating non-isochronous data over an isochronous channel
TW201537906A (en) Sound transmitting apparatus, sound receiving apparatus and method for transferring data using sound signal
US20200034107A1 (en) Polling rates for universal serial bus (usb) endpoints
CN113851128A (en) Intelligent voice equipment awakening method and device, electronic equipment and readable storage medium
JP2014017850A5 (en)
US12170872B2 (en) Public address system
CN110704340B (en) Data transmission device, system and method
CN104954077B (en) Audio transmitting device, receiving device and method for transmitting data by using audio signal
JP2016116178A (en) Communication device and communication method
CN102625072B (en) Television set, audio signal transmission device and method
US20190087369A1 (en) Full-duplex memory access systems and methods for improved quality of service (qos)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170215