08 May, 2012

3 commits


05 May, 2012

1 commit


26 Apr, 2012

1 commit


25 Apr, 2012

1 commit


24 Apr, 2012

8 commits


21 Apr, 2012

1 commit


18 Apr, 2012

3 commits


15 Apr, 2012

2 commits


13 Apr, 2012

9 commits

  • Many fields have been moved to struct snd_usb_endpoint.
    Also fix the proc output to correspond to the new structure.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • ep->fill_max is a 1 bit flag, thus it has to be boolean.
    sound/usb/endpoint.c: In function 'snd_usb_endpoint_set_params':
    sound/usb/endpoint.c:785: warning: overflow in implicit constant conversion

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • sound/usb/endpoint.c: In function ‘deactivate_urbs’:
    sound/usb/endpoint.c:520:16: warning: unused variable ‘flags’ [-Wunused-variable]

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Document the new streaming code and some of the functions so that
    contributers can catch up easier.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     
  • Implicit feedback is a streaming mode that does not rely on dedicated
    sync endpoints but uses the information provided by record streams to
    clock output streams. Now that the streaming logic is decoupled from the
    PCM streams, this is easy to implement.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     
  • Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     
  • With the previous commit that added the new streaming model, all
    endpoint and streaming related code is now in endpoint.c, and pcm.c
    only acts as a wrapper for handling the packet's payload.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     
  • This patch adds a new generic streaming logic for audio over USB.

    It defines a model (snd_usb_endpoint) that handles everything that
    is related to an USB endpoint and its streaming. There are functions to
    activate and deactivate an endpoint (which call usb_set_interface()),
    and to start and stop its URBs. It also has function pointers to be
    called when data was received or is about to be sent, and pointer to
    a sync slave (another snd_usb_endpoint) that is informed when data has
    been received.

    A snd_usb_endpoint knows about its state and implements a refcounting,
    so only the first user will actually start the URBs and only the last
    one to stop it will tear them down again.

    With this sort of abstraction, the actual streaming is decoupled from
    the pcm handling, which makes the "implicit feedback" mechanisms easy to
    implement.

    In order to split changes properly, this patch only adds the new
    implementation but leaves the old one around, so the the driver doesn't
    change its behaviour. The switch to actually use the new code is
    submitted separately.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     
  • This is needed for new card-wide list operations.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     

10 Apr, 2012

3 commits


07 Apr, 2012

7 commits


06 Apr, 2012

1 commit